- 01 Anthropic compatibility Connect Anthropic clients and tools such as Claude Code to Ollama. Ollama supports a subset of the Anthropi... 3 小时前
- 02 Authentication The local API at http://localhost:11434 does not require authentication. To use cloud models, publish mode... 3 小时前
- 03 Balance curl https://ollama.com/api/balance \ -H "Authorization: Bearer $OLLAMA_API_KEY" { "included": { "b... 3 小时前
- 04 Cloud usage curl 'https://ollama.com/api/usage?range=24h' \ -H "Authorization: Bearer $OLLAMA_API_KEY" { "range": "... 3 小时前
- 05 Errors Endpoints return appropriate HTTP status codes based on the success or failure of the request in the HTTP s... 3 小时前
- 06 Introduction Use Ollama's API to build applications with cloud or local models. Get started Call cloud models with an AP... 3 小时前
- 07 OpenAI compatibility Connect OpenAI clients to Ollama. Ollama supports a subset of the OpenAI API. Direct cloud access Set your ... 3 小时前
- 08 Streaming Certain API endpoints stream responses by default, such as /api/generate. These responses are provided in ... 3 小时前
- 09 Usage Ollama's API responses include metrics that can be used for measuring performance and model usage: total_du... 3 小时前