Ollama

Ollama

UNK
31 models available

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

ModelContextInput /MOutput /MCache read /MCache hitLatencyThroughput
1.0M$0.46/M$1.39/M$0.01/MN/AN/AN/A
1.0M$0.46/M$1.39/M$0.01/MN/AN/AN/A
1.0M$1.39/M$4.16/M$0.05/MN/AN/AN/A
1.0M$1.39/M$4.16/M$0.05/MN/AN/AN/A
1.0M$1.39/M$4.16/M$0.05/MN/AN/AN/A
1.0M$1.39/M$4.16/M$0.05/MN/AN/AN/A
1.0M$0.31/M$1.26/M$0.0063/MN/AN/AN/A
1.0M$0.31/M$1.26/M$0.0063/MN/AN/AN/A
262k$0.15/M$0.42/M$0.05/M0%0.6s176.1 tps
262k$0.15/M$0.42/M$0.05/M0%0.6s176.1 tps
203k$1.05/M$3.36/M$0.21/MN/AN/AN/A
203k$1.05/M$3.36/M$0.21/MN/AN/AN/A
1.0M$1.47/M$4.62/M$0.27/MN/AN/AN/A
1.0M$1.47/M$4.62/M$0.27/MN/AN/AN/A
1.0M$1.47/M$4.62/M$0.27/MN/AN/AN/A
1.0M$1.47/M$4.62/M$0.27/MN/AN/AN/A
1.0M$0.16/M$0.53/M$0.03/MN/AN/AN/A
131k$0.16/M$0.63/M$0.01/MN/AN/AN/A
131k$0.07/M$0.31/M$0.04/MN/AN/AN/A
262k$1.00/M$4.20/M$0.17/MN/AN/AN/A
262k$1.00/M$4.20/M$0.17/MN/AN/AN/A
262k$1.00/M$4.20/M$0.20/MN/AN/AN/A
1.0M$3.15/M$15.75/M$0.31/MN/AN/AN/A
197k$0.31/M$1.26/M$0.06/MN/AN/AN/A
512k$0.63/M$2.52/M$0.13/MN/AN/AN/A
512k$0.63/M$2.52/M$0.13/MN/AN/AN/A
262k$0.02/M$0.63/M$0.02/MN/AN/AN/A
262k$0.02/M$0.63/M$0.02/MN/AN/AN/A
262k$0.11/M$3.15/M$0.11/MN/AN/AN/A
262k$0.11/M$3.15/M$0.11/MN/AN/AN/A
262k$0.63/M$3.78/MN/AN/AN/AN/A

Prices are per million tokens. 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

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.

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"}]
  }'

See the API documentation for provider preferences, price-aware routing, and error behavior.