- Context
- 131k
- Input /M
- $0.294/M
- Output /M
- $0.441/M
- Cache read /M
- $0.0294/M
- Cache hit
- 43%
- TTFT
- 1.1s
- Throughput
- 35 tps
Baidu
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 Baidu
24 models
- Context
- 131k
- Input /M
- $0.294/M
- Output /M
- $0.441/M
- Cache read /M
- $0.0294/M
- Cache hit
- 52.8%
- TTFT
- 1.1s
- Throughput
- 35 tps
- Context
- 1.0M
- Input /M
- $0.0497/M
- Output /M
- $0.0994/M
- Cache read /M
- $0.00994/M
- Cache hit
- 14%
- TTFT
- 1.1s
- Throughput
- 70 tps
- Context
- 1.0M
- Input /M
- $0.0497/M
- Output /M
- $0.0994/M
- Cache read /M
- $0.00994/M
- Cache hit
- 32.3%
- TTFT
- 1.1s
- Throughput
- 70 tps
- Context
- 1.0M
- Input /M
- $0.0564/M
- Output /M
- $0.169/M
- Cache read /M
- $0.0018/M
- Cache hit
- 0.1%
- TTFT
- 0.8s
- Throughput
- 127 tps
- Context
- 1.0M
- Input /M
- $0.0564/M
- Output /M
- $0.169/M
- Cache read /M
- $0.0018/M
- Cache hit
- 0.1%
- TTFT
- 0.8s
- Throughput
- 127 tps
- Context
- 1.0M
- Input /M
- $1.77/M
- Output /M
- $3.55/M
- Cache read /M
- $0.147/M
- Cache hit
- 7.3%
- TTFT
- 1s
- Throughput
- 56 tps
- Context
- 1.0M
- Input /M
- $1.77/M
- Output /M
- $3.55/M
- Cache read /M
- $0.147/M
- Cache hit
- 9.8%
- TTFT
- 1s
- Throughput
- 56 tps
- Context
- 1.0M
- Input /M
- $0.692/M
- Output /M
- $2.07/M
- Cache read /M
- $0.022/M
- Cache hit
- 74.8%
- TTFT
- 1.1s
- Throughput
- 49 tps
- Context
- 1.0M
- Input /M
- $0.692/M
- Output /M
- $2.07/M
- Cache read /M
- $0.022/M
- Cache hit
- 33.6%
- TTFT
- 1.1s
- Throughput
- 49 tps
- Context
- 1.0M
- Input /M
- $0.0469/M
- Output /M
- $0.188/M
- Cache read /M
- $0.00094/M
- Cache hit
- 21%
- TTFT
- 1.2s
- Throughput
- 94 tps
- Context
- 1.0M
- Input /M
- $0.0469/M
- Output /M
- $0.188/M
- Cache read /M
- $0.00094/M
- Cache hit
- 40.9%
- TTFT
- 1.2s
- Throughput
- 94 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
- 1.7s
- Throughput
- 85 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
- 1.7s
- Throughput
- 85 tps
- Context
- 203k
- Input /M
- $0.735/M
- Output /M
- $2.35/M
- Cache read /M
- $0.147/M
- Cache hit
- 20.2%
- TTFT
- 1s
- Throughput
- 61 tps
- Context
- 203k
- Input /M
- $0.735/M
- Output /M
- $2.35/M
- Cache read /M
- $0.147/M
- Cache hit
- 53.6%
- TTFT
- 1s
- Throughput
- 61 tps
- Context
- 203k
- Input /M
- $1.47/M
- Output /M
- $4.62/M
- Cache read /M
- $0.273/M
- Cache hit
- 56.6%
- TTFT
- 0.9s
- Throughput
- 63.5 tps
- Context
- 203k
- Input /M
- $1.47/M
- Output /M
- $4.62/M
- Cache read /M
- $0.273/M
- Cache hit
- 53.1%
- TTFT
- 0.9s
- Throughput
- 63.5 tps
- Context
- 1.0M
- Input /M
- $0.65/M
- Output /M
- $2.04/M
- Cache read /M
- $0.121/M
- Cache hit
- 87.3%
- TTFT
- 0.8s
- Throughput
- 76 tps
- Context
- 1.0M
- Input /M
- $0.65/M
- Output /M
- $2.04/M
- Cache read /M
- $0.121/M
- Cache hit
- 87.4%
- TTFT
- 0.8s
- Throughput
- 76 tps
- Context
- 1.0M
- Input /M
- $0.294/M
- Output /M
- $0.924/M
- Cache read /M
- $0.0546/M
- Cache hit
- 36.1%
- TTFT
- 1.4s
- Throughput
- 75 tps
- Context
- 1.0M
- Input /M
- $0.294/M
- Output /M
- $0.924/M
- Cache read /M
- $0.0546/M
- Cache hit
- 2.2%
- TTFT
- 1.4s
- Throughput
- 75 tps
- Context
- 262k
- Input /M
- $0.409/M
- Output /M
- $1.72/M
- Cache read /M
- $0.0689/M
- Cache hit
- 58.5%
- TTFT
- 1.6s
- Throughput
- 36 tps
- Context
- 262k
- Input /M
- $0.409/M
- Output /M
- $1.72/M
- Cache read /M
- $0.0689/M
- Cache hit
- 50.2%
- TTFT
- 1.6s
- Throughput
- 36 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 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://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.