Baidu

Baidu

CN
22 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 Baidu

22 models

ModelContextInput /MOutput /MCache read /MTTFTThroughput
131k$0.29/M$0.44/M$0.03/M1.1s35 tps
131k$0.29/M$0.44/M$0.03/M1.1s35 tps
1.0M$0.04/M$0.08/M$0.0081/M0.8s75 tps
1.0M$0.04/M$0.08/M$0.0081/M0.8s75 tps
1.0M$0.46/M$1.39/M$0.01/M0.6s139 tps
1.0M$0.46/M$1.39/M$0.01/M0.6s139 tps
1.0M$1.77/M$3.55/M$0.15/M0.8s59 tps
1.0M$1.77/M$3.55/M$0.15/M0.8s59 tps
1.0M$0.15/M$0.46/M$0.0049/M1s42 tps
1.0M$0.15/M$0.46/M$0.0049/M1s42 tps
1.0M$0.16/M$0.63/M$0.0031/M1.2s76 tps
1.0M$0.16/M$0.63/M$0.0031/M1.2s76 tps
203k$0.73/M$2.35/M$0.15/M1s63 tps
203k$0.73/M$2.35/M$0.15/M1s63 tps
203k$1.01/M$3.18/M$0.19/M1s60 tps
203k$1.01/M$3.18/M$0.19/M1s60 tps
1.0M$0.65/M$2.04/M$0.12/M0.8s75 tps
1.0M$0.65/M$2.04/M$0.12/M0.8s75 tps
1.0M$0.73/M$2.31/M$0.14/M0.8s92.5 tps
1.0M$0.73/M$2.31/M$0.14/M0.8s92.5 tps
262k$0.45/M$1.91/M$0.08/M1s64 tps
262k$0.45/M$1.91/M$0.08/M1s64 tps
Context
131k
Input /M
$0.29/M
Output /M
$0.44/M
Cache read /M
$0.03/M
TTFT
1.1s
Throughput
35 tps
Context
131k
Input /M
$0.29/M
Output /M
$0.44/M
Cache read /M
$0.03/M
TTFT
1.1s
Throughput
35 tps
Context
1.0M
Input /M
$0.04/M
Output /M
$0.08/M
Cache read /M
$0.0081/M
TTFT
0.8s
Throughput
75 tps
Context
1.0M
Input /M
$0.04/M
Output /M
$0.08/M
Cache read /M
$0.0081/M
TTFT
0.8s
Throughput
75 tps
Context
1.0M
Input /M
$0.46/M
Output /M
$1.39/M
Cache read /M
$0.01/M
TTFT
0.6s
Throughput
139 tps
Context
1.0M
Input /M
$0.46/M
Output /M
$1.39/M
Cache read /M
$0.01/M
TTFT
0.6s
Throughput
139 tps
Context
1.0M
Input /M
$1.77/M
Output /M
$3.55/M
Cache read /M
$0.15/M
TTFT
0.8s
Throughput
59 tps
Context
1.0M
Input /M
$1.77/M
Output /M
$3.55/M
Cache read /M
$0.15/M
TTFT
0.8s
Throughput
59 tps
Context
1.0M
Input /M
$0.15/M
Output /M
$0.46/M
Cache read /M
$0.0049/M
TTFT
1s
Throughput
42 tps
Context
1.0M
Input /M
$0.15/M
Output /M
$0.46/M
Cache read /M
$0.0049/M
TTFT
1s
Throughput
42 tps
Context
1.0M
Input /M
$0.16/M
Output /M
$0.63/M
Cache read /M
$0.0031/M
TTFT
1.2s
Throughput
76 tps
Context
1.0M
Input /M
$0.16/M
Output /M
$0.63/M
Cache read /M
$0.0031/M
TTFT
1.2s
Throughput
76 tps
Context
203k
Input /M
$0.73/M
Output /M
$2.35/M
Cache read /M
$0.15/M
TTFT
1s
Throughput
63 tps
Context
203k
Input /M
$0.73/M
Output /M
$2.35/M
Cache read /M
$0.15/M
TTFT
1s
Throughput
63 tps
Context
203k
Input /M
$1.01/M
Output /M
$3.18/M
Cache read /M
$0.19/M
TTFT
1s
Throughput
60 tps
Context
203k
Input /M
$1.01/M
Output /M
$3.18/M
Cache read /M
$0.19/M
TTFT
1s
Throughput
60 tps
Context
1.0M
Input /M
$0.65/M
Output /M
$2.04/M
Cache read /M
$0.12/M
TTFT
0.8s
Throughput
75 tps
Context
1.0M
Input /M
$0.65/M
Output /M
$2.04/M
Cache read /M
$0.12/M
TTFT
0.8s
Throughput
75 tps
Context
1.0M
Input /M
$0.73/M
Output /M
$2.31/M
Cache read /M
$0.14/M
TTFT
0.8s
Throughput
92.5 tps
Context
1.0M
Input /M
$0.73/M
Output /M
$2.31/M
Cache read /M
$0.14/M
TTFT
0.8s
Throughput
92.5 tps
Context
262k
Input /M
$0.45/M
Output /M
$1.91/M
Cache read /M
$0.08/M
TTFT
1s
Throughput
64 tps
Context
262k
Input /M
$0.45/M
Output /M
$1.91/M
Cache read /M
$0.08/M
TTFT
1s
Throughput
64 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.