Ollama LLM API pricing
Every model Ollama serves, with its pricing per 1M tokens and the exact model ID to copy. Sorted cheapest input first. Verified against LiteLLM and OpenRouter daily.
Models served
29
on this provider
Cheapest input
$0.00
per 1M tokens
Cheapest output
$0.00
per 1M tokens
Max context
262K
tokens
| Model ID | |||||
|---|---|---|---|---|---|
| DeepSeek Coder V2 Lite Base | DeepSeek | 164K | $0.00 | $0.00 | ollama/deepseek-coder-v2-lite-base |
| Codellama | Meta | 4K | $0.00 | $0.00 | ollama/codellama |
| Codegemma | 8K | $0.00 | $0.00 | ollama/codegemma | |
| Codegeex4 | Other | 33K | $0.00 | $0.00 | ollama/codegeex4 |
| DeepSeek Coder V2 Instruct | DeepSeek | 66K | $0.00 | $0.00 | ollama/deepseek-coder-v2-instruct |
| DeepSeek Coder V2 Base | DeepSeek | 8K | $0.00 | $0.00 | ollama/deepseek-coder-v2-base |
| DeepSeek Coder V2 Lite Instruct | DeepSeek | 164K | $0.00 | $0.00 | ollama/deepseek-coder-v2-lite-instruct |
| GPT OSS 120B Cloud | OpenAI | 131K | $0.00 | $0.00 | ollama/gpt-oss:120b-cloud |
| GPT OSS 20B Cloud | OpenAI | 131K | $0.00 | $0.00 | ollama/gpt-oss:20b-cloud |
| DeepSeek V3 1 671B Cloud | DeepSeek | 164K | $0.00 | $0.00 | ollama/deepseek-v3.1:671b-cloud |
| internlm2_5-20b-chat | Other | 33K | $0.00 | $0.00 | ollama/internlm2_5-20b-chat |
| Llama2 | Meta | 4K | $0.00 | $0.00 | ollama/llama2 |
| Llama2 Uncensored | Meta | 4K | $0.00 | $0.00 | ollama/llama2-uncensored |
| Llama2 13B | Meta | 4K | $0.00 | $0.00 | ollama/llama2:13b |
| Llama2 70B | Meta | 4K | $0.00 | $0.00 | ollama/llama2:70b |
| Llama2 7B | Meta | 4K | $0.00 | $0.00 | ollama/llama2:7b |
| Llama3 | Meta | 8K | $0.00 | $0.00 | ollama/llama3 |
| Llama3 1 | Meta | 8K | $0.00 | $0.00 | ollama/llama3.1 |
| Llama3 70B | Meta | 8K | $0.00 | $0.00 | ollama/llama3:70b |
| Mistral 7B Instruct V0 1 | Mistral | 16K | $0.00 | $0.00 | ollama/mistral-7B-Instruct-v0.1 |
| Mistral | Mistral | 8K | $0.00 | $0.00 | ollama/mistral |
| Llama3 8B | Meta | 8K | $0.00 | $0.00 | ollama/llama3:8b |
| Mixtral 8x22B Instruct V0 1 | Mistral | 66K | $0.00 | $0.00 | ollama/mixtral-8x22B-Instruct-v0.1 |
| Orca Mini | Other | 4K | $0.00 | $0.00 | ollama/orca-mini |
| Mistral 7B Instruct V0 2 | Mistral | 33K | $0.00 | $0.00 | ollama/mistral-7B-Instruct-v0.2 |
| Mistral Large Instruct 2407 | Mistral | 66K | $0.00 | $0.00 | ollama/mistral-large-instruct-2407 |
| Mixtral 8x7B Instruct V0 1 | Mistral | 33K | $0.00 | $0.00 | ollama/mixtral-8x7B-Instruct-v0.1 |
| Qwen3 Coder 480B Cloud | Alibaba | 262K | $0.00 | $0.00 | ollama/qwen3-coder:480b-cloud |
| Vicuna | Other | 2K | $0.00 | $0.00 | ollama/vicuna |
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI