- Context
- 1.0M
- Input /M
- $0.46/M
- Output /M
- $1.39/M
- Cache read /M
- $0.01/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
Ollama
Data handling can vary by model and deployment. The privacy badge above shows the more conservative of the provider-wide fallback and the policies for routes on this page; each model page shows the policy for that specific route.
Models served by Ollama
31 models
- Context
- 1.0M
- Input /M
- $0.46/M
- Output /M
- $1.39/M
- Cache read /M
- $0.01/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.39/M
- Output /M
- $4.16/M
- Cache read /M
- $0.05/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.39/M
- Output /M
- $4.16/M
- Cache read /M
- $0.05/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.39/M
- Output /M
- $4.16/M
- Cache read /M
- $0.05/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.39/M
- Output /M
- $4.16/M
- Cache read /M
- $0.05/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $0.31/M
- Output /M
- $1.26/M
- Cache read /M
- $0.0063/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $0.31/M
- Output /M
- $1.26/M
- Cache read /M
- $0.0063/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.15/M
- Output /M
- $0.42/M
- Cache read /M
- $0.05/M
- Cache hit
- 18.9%
- TTFT
- 1.5s
- Throughput
- 242.1 tps
- Context
- 262k
- Input /M
- $0.15/M
- Output /M
- $0.42/M
- Cache read /M
- $0.05/M
- Cache hit
- 18.9%
- TTFT
- 1.5s
- Throughput
- 242.1 tps
- Context
- 203k
- Input /M
- $1.05/M
- Output /M
- $3.36/M
- Cache read /M
- $0.21/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 203k
- Input /M
- $1.05/M
- Output /M
- $3.36/M
- Cache read /M
- $0.21/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.47/M
- Output /M
- $4.62/M
- Cache read /M
- $0.27/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.47/M
- Output /M
- $4.62/M
- Cache read /M
- $0.27/M
- Cache hit
- N/A
- TTFT
- 0.8s
- Throughput
- 94.5 tps
- Context
- 1.0M
- Input /M
- $1.47/M
- Output /M
- $4.62/M
- Cache read /M
- $0.27/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $1.47/M
- Output /M
- $4.62/M
- Cache read /M
- $0.27/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $0.16/M
- Output /M
- $0.53/M
- Cache read /M
- $0.03/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 131k
- Input /M
- $0.16/M
- Output /M
- $0.63/M
- Cache read /M
- $0.01/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 131k
- Input /M
- $0.07/M
- Output /M
- $0.31/M
- Cache read /M
- $0.04/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $1.00/M
- Output /M
- $4.20/M
- Cache read /M
- $0.17/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $1.00/M
- Output /M
- $4.20/M
- Cache read /M
- $0.17/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $1.00/M
- Output /M
- $4.20/M
- Cache read /M
- $0.20/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $3.15/M
- Output /M
- $15.75/M
- Cache read /M
- $0.31/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 197k
- Input /M
- $0.31/M
- Output /M
- $1.26/M
- Cache read /M
- $0.06/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 512k
- Input /M
- $0.63/M
- Output /M
- $2.52/M
- Cache read /M
- $0.13/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 512k
- Input /M
- $0.63/M
- Output /M
- $2.52/M
- Cache read /M
- $0.13/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.02/M
- Output /M
- $0.63/M
- Cache read /M
- $0.02/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.02/M
- Output /M
- $0.63/M
- Cache read /M
- $0.02/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.11/M
- Output /M
- $3.15/M
- Cache read /M
- $0.11/M
- Cache hit
- N/A
- TTFT
- 3.1s
- Throughput
- 22.4 tps
- Context
- 262k
- Input /M
- $0.11/M
- Output /M
- $3.15/M
- Cache read /M
- $0.11/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.63/M
- Output /M
- $3.78/M
- Cache read /M
- N/A
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
Prices are per million tokens. TTFT is the observed time to first token. Selectable routes include the applicable provider-selection markup; fixed routes show the standard model price. Availability and pricing refresh continuously; each model page shows the live provider comparison.
Using Ollama via the API
Call a model served by Ollama using its displayed model ID, including the provider suffix when selection is supported.
cURL
curl https://nano-gpt.com/api/v1/chat/completions \
-H "Authorization: Bearer $NANOGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash-0731:ollama",
"messages": [{"role": "user", "content": "Hello"}]
}'For models with provider selection, append :ollama to the model ID, set "provider": "ollama" in the request body, or send an X-Provider: ollama header. Explicit provider selection adds a route-specific markup over that provider's base price; the prices in the table above already include it. Models without provider selection use the displayed model ID without a provider suffix or selection surcharge.
See the API documentation for provider preferences, price-aware routing, and error behavior.