- Context
- 131k
- Input /M
- $0.294/M
- Output /M
- $0.441/M
- Cache read /M
- $0.0294/M
- Cache hit
- 88.8%
- TTFT
- 1.9s
- Throughput
- 44.3 tps
Baidu
Privacy can differ by model. See each model’s label.
Models served by Baidu
15 models
- Context
- 131k
- Input /M
- $0.294/M
- Output /M
- $0.441/M
- Cache read /M
- $0.0294/M
- Cache hit
- 20.6%
- TTFT
- 2.2s
- Throughput
- 45.8 tps
- Context
- 1.0M
- Input /M
- $0.0476/M
- Output /M
- $0.143/M
- Cache read /M
- $0.0015/M
- Cache hit
- 91.8%
- TTFT
- 1.7s
- Throughput
- 206.7 tps
- Context
- 1.0M
- Input /M
- $0.0476/M
- Output /M
- $0.143/M
- Cache read /M
- $0.0015/M
- Cache hit
- 91.8%
- TTFT
- 1.7s
- Throughput
- 206.7 tps
- Context
- 1.0M
- Input /M
- $0.692/M
- Output /M
- $2.07/M
- Cache read /M
- $0.022/M
- Cache hit
- 71.8%
- TTFT
- 1.3s
- Throughput
- 83.3 tps
- Context
- 1.0M
- Input /M
- $0.692/M
- Output /M
- $2.07/M
- Cache read /M
- $0.022/M
- Cache hit
- 75.6%
- TTFT
- 1.3s
- Throughput
- 57.4 tps
- Context
- 1.0M
- Input /M
- $0.0532/M
- Output /M
- $0.213/M
- Cache read /M
- $0.0011/M
- Cache hit
- 94.4%
- TTFT
- 4.2s
- Throughput
- 209.6 tps
- Context
- 1.0M
- Input /M
- $0.0532/M
- Output /M
- $0.213/M
- Cache read /M
- $0.0011/M
- Cache hit
- 90.7%
- TTFT
- 6.5s
- Throughput
- 185.4 tps
- Context
- 1.0M
- Input /M
- $0.157/M
- Output /M
- $0.635/M
- Cache read /M
- $0.0034/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 1.0M
- Input /M
- $0.157/M
- Output /M
- $0.635/M
- Cache read /M
- $0.0034/M
- Cache hit
- N/A
- TTFT
- N/A
- Throughput
- N/A
- Context
- 203k
- Input /M
- $0.735/M
- Output /M
- $2.35/M
- Cache read /M
- $0.147/M
- Cache hit
- 58.1%
- TTFT
- 1.5s
- Throughput
- 48.5 tps
- Context
- 203k
- Input /M
- $0.735/M
- Output /M
- $2.35/M
- Cache read /M
- $0.147/M
- Cache hit
- 77.5%
- TTFT
- 2.1s
- Throughput
- 50.4 tps
- Context
- 1.0M
- Input /M
- $0.198/M
- Output /M
- $0.624/M
- Cache read /M
- $0.0369/M
- Cache hit
- 85.1%
- TTFT
- 2.1s
- Throughput
- 65.8 tps
- Context
- 1.0M
- Input /M
- $0.198/M
- Output /M
- $0.624/M
- Cache read /M
- $0.0369/M
- Cache hit
- 80.9%
- TTFT
- 2.2s
- Throughput
- 69.2 tps
- Context
- 1.0M
- Input /M
- $0.157/M
- Output /M
- $0.525/M
- Cache read /M
- $0.0315/M
- 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 Baidu via the API
Call a model served by Baidu using its displayed model ID, including the provider suffix when selection is supported.
cURL
curl https://api.nano-gpt.com/api/v1/chat/completions \
-H "Authorization: Bearer $NANOGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v3.2:baidu",
"messages": [{"role": "user", "content": "Hello"}]
}'For models with provider selection, append :baidu to the model ID, set "provider": "baidu" in the request body, or send an X-Provider: baidu 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.
