- Context
- 66k
- Input /M
- $0.25/M
- Output /M
- Free
- Cache read /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
DeepInfra
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 DeepInfra
76 models
- Context
- 25k
- Input /M
- $0.04/M
- Output /M
- Free
- Cache read /M
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 164k
- Input /M
- $0.53/M
- Output /M
- $2.26/M
- Cache read /M
- $0.37/M
- TTFT
- 0.7s
- Throughput
- 30 tps
- Context
- 164k
- Input /M
- $0.26/M
- Output /M
- $1.00/M
- Cache read /M
- $0.14/M
- TTFT
- 0.9s
- Throughput
- 8 tps
- Context
- 164k
- Input /M
- $0.27/M
- Output /M
- $0.40/M
- Cache read /M
- $0.14/M
- TTFT
- 3.9s
- Throughput
- 14 tps
- Context
- 164k
- Input /M
- $0.27/M
- Output /M
- $0.40/M
- Cache read /M
- $0.14/M
- TTFT
- 3.9s
- Throughput
- 14 tps
- Context
- 1.0M
- Input /M
- $0.09/M
- Output /M
- $0.19/M
- Cache read /M
- $0.02/M
- TTFT
- 4.2s
- Throughput
- 19 tps
- Context
- 1.0M
- Input /M
- $0.09/M
- Output /M
- $0.19/M
- Cache read /M
- $0.02/M
- TTFT
- 4.2s
- Throughput
- 19 tps
- Context
- 1.0M
- Input /M
- $0.06/M
- Output /M
- $0.19/M
- Cache read /M
- $0.02/M
- TTFT
- 0.9s
- Throughput
- 38 tps
- Context
- 1.0M
- Input /M
- $0.06/M
- Output /M
- $0.19/M
- Cache read /M
- $0.02/M
- TTFT
- 0.9s
- Throughput
- 38 tps
- Context
- 1.0M
- Input /M
- $0.23/M
- Output /M
- $0.68/M
- Cache read /M
- $0.0072/M
- TTFT
- 0.8s
- Throughput
- 94 tps
- Context
- 1.0M
- Input /M
- $1.36/M
- Output /M
- $2.73/M
- Cache read /M
- $0.10/M
- TTFT
- 0.9s
- Throughput
- 57.5 tps
- Context
- 1.0M
- Input /M
- $1.36/M
- Output /M
- $2.73/M
- Cache read /M
- $0.10/M
- TTFT
- 0.9s
- Throughput
- 57.5 tps
- Context
- 1.0M
- Input /M
- $1.36/M
- Output /M
- $2.73/M
- Cache read /M
- $0.10/M
- TTFT
- 1.7s
- Throughput
- 44 tps
- Context
- 1.0M
- Input /M
- $1.36/M
- Output /M
- $2.73/M
- Cache read /M
- $0.10/M
- TTFT
- 1.7s
- Throughput
- 44 tps
- Context
- 1.0M
- Input /M
- $0.15/M
- Output /M
- $0.44/M
- Cache read /M
- $0.0044/M
- TTFT
- 0.7s
- Throughput
- 67 tps
- Context
- 1.0M
- Input /M
- $0.15/M
- Output /M
- $0.44/M
- Cache read /M
- $0.0044/M
- TTFT
- 0.7s
- Throughput
- 67 tps
- Context
- 1.0M
- Input /M
- $0.15/M
- Output /M
- $0.44/M
- Cache read /M
- $0.0044/M
- TTFT
- 1.9s
- Throughput
- 48 tps
- Context
- 1.0M
- Input /M
- $0.15/M
- Output /M
- $0.44/M
- Cache read /M
- $0.0044/M
- TTFT
- 1.9s
- Throughput
- 48 tps
- Context
- 262k
- Input /M
- $0.07/M
- Output /M
- $0.36/M
- Cache read /M
- $0.01/M
- TTFT
- 0.6s
- Throughput
- 55 tps
- Context
- 262k
- Input /M
- $0.21/M
- Output /M
- $0.42/M
- Cache read /M
- $0.02/M
- TTFT
- 4.3s
- Throughput
- 5 tps
- Context
- 203k
- Input /M
- $0.53/M
- Output /M
- $2.10/M
- Cache read /M
- $0.10/M
- TTFT
- 0.7s
- Throughput
- 15 tps
- Context
- 203k
- Input /M
- $0.53/M
- Output /M
- $2.10/M
- Cache read /M
- $0.10/M
- TTFT
- 0.7s
- Throughput
- 15 tps
- Context
- 203k
- Input /M
- $0.42/M
- Output /M
- $1.84/M
- Cache read /M
- $0.08/M
- TTFT
- 0.9s
- Throughput
- 22 tps
- Context
- 203k
- Input /M
- $0.42/M
- Output /M
- $1.84/M
- Cache read /M
- $0.08/M
- TTFT
- 0.9s
- Throughput
- 22 tps
- Context
- 1.0M
- Input /M
- $0.59/M
- Output /M
- $1.89/M
- Cache read /M
- $0.11/M
- TTFT
- 0.9s
- Throughput
- 62 tps
- Context
- 1.0M
- Input /M
- $0.59/M
- Output /M
- $1.89/M
- Cache read /M
- $0.11/M
- TTFT
- 0.9s
- Throughput
- 62 tps
- Context
- 1.0M
- Input /M
- $0.59/M
- Output /M
- $2.63/M
- Cache read /M
- $0.13/M
- TTFT
- 101.7s
- Throughput
- 4 tps
- Context
- 1.0M
- Input /M
- $0.59/M
- Output /M
- $2.63/M
- Cache read /M
- $0.13/M
- TTFT
- 101.7s
- Throughput
- 4 tps
- Context
- 1.0M
- Input /M
- $0.16/M
- Output /M
- $0.53/M
- Cache read /M
- $0.03/M
- TTFT
- 2.8s
- Throughput
- 33 tps
- Context
- 131k
- Input /M
- $0.04/M
- Output /M
- $0.18/M
- Cache read /M
- N/A
- TTFT
- 0.3s
- Throughput
- 49 tps
- Context
- 131k
- Input /M
- $0.03/M
- Output /M
- $0.15/M
- Cache read /M
- N/A
- TTFT
- 0.5s
- Throughput
- 93 tps
- Context
- 131k
- Input /M
- $0.06/M
- Output /M
- $0.26/M
- Cache read /M
- $0.02/M
- TTFT
- 0.4s
- Throughput
- 153 tps
- Context
- 131k
- Input /M
- $0.73/M
- Output /M
- $0.73/M
- Cache read /M
- N/A
- TTFT
- 0.6s
- Throughput
- 32 tps
- Context
- 524k
- Input /M
- $1.00/M
- Output /M
- $4.25/M
- Cache read /M
- $0.17/M
- TTFT
- 0.8s
- Throughput
- 78 tps
- Context
- 524k
- Input /M
- $0.47/M
- Output /M
- $1.26/M
- Cache read /M
- $0.10/M
- TTFT
- 0.8s
- Throughput
- 55 tps
- Context
- 524k
- Input /M
- $0.47/M
- Output /M
- $1.26/M
- Cache read /M
- $0.10/M
- TTFT
- 0.8s
- Throughput
- 55 tps
- Context
- 524k
- Input /M
- $1.00/M
- Output /M
- $4.25/M
- Cache read /M
- $0.17/M
- TTFT
- 0.8s
- Throughput
- 78 tps
- Context
- 262k
- Input /M
- $0.79/M
- Output /M
- $3.68/M
- Cache read /M
- $0.16/M
- TTFT
- 0.9s
- Throughput
- 66 tps
- Context
- 1.0M
- Input /M
- $2.99/M
- Output /M
- $14.96/M
- Cache read /M
- $0.30/M
- TTFT
- 1.8s
- Throughput
- 27 tps
- Context
- 262k
- Input /M
- $0.08/M
- Output /M
- $0.24/M
- Cache read /M
- $0.02/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 131k
- Input /M
- $0.02/M
- Output /M
- $0.04/M
- Cache read /M
- N/A
- TTFT
- 0.7s
- Throughput
- 16 tps
- Context
- 131k
- Input /M
- $0.10/M
- Output /M
- $0.34/M
- Cache read /M
- N/A
- TTFT
- 0.4s
- Throughput
- 15 tps
- Context
- 1.0M
- Input /M
- $0.14/M
- Output /M
- $0.28/M
- Cache read /M
- $0.0028/M
- TTFT
- 1.5s
- Throughput
- 30 tps
- Context
- 1.0M
- Input /M
- $0.41/M
- Output /M
- $0.82/M
- Cache read /M
- $0.0034/M
- TTFT
- 1.5s
- Throughput
- 27 tps
- Context
- 524k
- Input /M
- $0.29/M
- Output /M
- $1.16/M
- Cache read /M
- $0.06/M
- TTFT
- 1.3s
- Throughput
- 29 tps
- Context
- 524k
- Input /M
- $0.29/M
- Output /M
- $1.16/M
- Cache read /M
- $0.06/M
- TTFT
- 1.3s
- Throughput
- 29 tps
- Context
- 33k
- Input /M
- $0.05/M
- Output /M
- $0.08/M
- Cache read /M
- N/A
- TTFT
- 0.3s
- Throughput
- 42 tps
- Context
- 131k
- Input /M
- $0.21/M
- Output /M
- $0.21/M
- Cache read /M
- N/A
- TTFT
- 0.2s
- Throughput
- 215 tps
- Context
- 262k
- Input /M
- $0.09/M
- Output /M
- $0.42/M
- Cache read /M
- N/A
- TTFT
- 3.4s
- Throughput
- 65.5 tps
- Context
- 262k
- Input /M
- $0.09/M
- Output /M
- $0.42/M
- Cache read /M
- N/A
- TTFT
- 3.4s
- Throughput
- 65.5 tps
- Context
- 262k
- Input /M
- $0.53/M
- Output /M
- $2.31/M
- Cache read /M
- $0.11/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.53/M
- Output /M
- $2.31/M
- Cache read /M
- $0.11/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.06/M
- Output /M
- $0.17/M
- Cache read /M
- $0.03/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.06/M
- Output /M
- $0.17/M
- Cache read /M
- $0.03/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 262k
- Input /M
- $0.16/M
- Output /M
- $0.53/M
- Cache read /M
- $0.02/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 33k
- Input /M
- $0.38/M
- Output /M
- $0.42/M
- Cache read /M
- N/A
- TTFT
- 0.6s
- Throughput
- 24 tps
- Context
- 262k
- Input /M
- $0.34/M
- Output /M
- $3.36/M
- Cache read /M
- N/A
- TTFT
- 0.8s
- Throughput
- 66 tps
- Context
- 262k
- Input /M
- $0.34/M
- Output /M
- $3.36/M
- Cache read /M
- N/A
- TTFT
- 0.8s
- Throughput
- 66 tps
- Context
- 262k
- Input /M
- $0.10/M
- Output /M
- $1.00/M
- Cache read /M
- $0.10/M
- TTFT
- 1.1s
- Throughput
- 28 tps
- Context
- 262k
- Input /M
- $0.10/M
- Output /M
- $1.00/M
- Cache read /M
- $0.10/M
- TTFT
- 1.1s
- Throughput
- 28 tps
- Context
- 41k
- Input /M
- $0.13/M
- Output /M
- $0.25/M
- Cache read /M
- N/A
- TTFT
- 0.9s
- Throughput
- 43 tps
- Context
- 262k
- Input /M
- $0.09/M
- Output /M
- $0.58/M
- Cache read /M
- N/A
- TTFT
- 7s
- Throughput
- 7 tps
- Context
- 41k
- Input /M
- $0.08/M
- Output /M
- $0.29/M
- Cache read /M
- N/A
- TTFT
- 0.5s
- Throughput
- 22 tps
- Context
- 262k
- Input /M
- $0.14/M
- Output /M
- $1.73/M
- Cache read /M
- N/A
- TTFT
- 0.3s
- Throughput
- 127 tps
- Context
- 262k
- Input /M
- $0.27/M
- Output /M
- $2.73/M
- Cache read /M
- N/A
- TTFT
- 0.5s
- Throughput
- 72 tps
- Context
- 262k
- Input /M
- $0.27/M
- Output /M
- $2.73/M
- Cache read /M
- N/A
- TTFT
- 0.5s
- Throughput
- 72 tps
- Context
- 262k
- Input /M
- $0.15/M
- Output /M
- $1.05/M
- Cache read /M
- $0.05/M
- TTFT
- 1s
- Throughput
- 60 tps
- Context
- 262k
- Input /M
- $0.15/M
- Output /M
- $1.05/M
- Cache read /M
- $0.05/M
- TTFT
- 1s
- Throughput
- 60 tps
- Context
- 262k
- Input /M
- $0.47/M
- Output /M
- $3.15/M
- Cache read /M
- $0.23/M
- TTFT
- 1.2s
- Throughput
- 25 tps
- Context
- 262k
- Input /M
- $0.47/M
- Output /M
- $3.15/M
- Cache read /M
- $0.23/M
- TTFT
- 1.2s
- Throughput
- 25 tps
- Context
- 262k
- Input /M
- $0.10/M
- Output /M
- $0.16/M
- Cache read /M
- N/A
- TTFT
- 1.3s
- Throughput
- 12 tps
- Context
- 262k
- Input /M
- $0.16/M
- Output /M
- $1.97/M
- Cache read /M
- $0.04/M
- TTFT
- 1.6s
- Throughput
- 32 tps
- Context
- 262k
- Input /M
- $0.16/M
- Output /M
- $1.97/M
- Cache read /M
- $0.04/M
- TTFT
- 1.6s
- Throughput
- 32 tps
- Context
- 1.0M
- Input /M
- $1.05/M
- Output /M
- $2.84/M
- Cache read /M
- $0.05/M
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $0.88/M
- Output /M
- $2.63/M
- Cache read /M
- $0.04/M
- TTFT
- 1.6s
- Throughput
- 40 tps
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 DeepInfra via the API
Call a model served by DeepInfra 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": "cloudflare/clef:deepinfra",
"messages": [{"role": "user", "content": "Hello"}]
}'For models with provider selection, append :deepinfra to the model ID, set "provider": "deepinfra" in the request body, or send an X-Provider: deepinfra 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.