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.4s37 tps
131k$0.29/M$0.44/M$0.03/M1.4s37 tps
1.0M$0.15/M$0.29/M$0.03/M1s79 tps
1.0M$0.15/M$0.29/M$0.03/M1s79 tps
1.0M$0.46/M$1.39/M$0.01/M1s71 tps
1.0M$0.46/M$1.39/M$0.01/M1s71 tps
1.0M$1.77/M$3.55/M$0.15/M1s47 tps
1.0M$1.77/M$3.55/M$0.15/M1s47 tps
1.0M$0.17/M$0.50/M$0.0053/M1.4s45 tps
1.0M$0.17/M$0.50/M$0.0053/M1.4s45 tps
1.0M$0.16/M$0.63/M$0.0031/M1.2s157 tps
1.0M$0.16/M$0.63/M$0.0031/M1.2s157 tps
203k$0.73/M$2.35/M$0.15/M1.2s55 tps
203k$0.73/M$2.35/M$0.15/M1.2s55 tps
203k$1.47/M$4.62/M$0.27/M1.3s58.5 tps
203k$1.47/M$4.62/M$0.27/M1.3s58.5 tps
1.0M$1.47/M$4.62/M$0.27/M2.4s23 tps
1.0M$1.47/M$4.62/M$0.27/M2.4s23 tps
1.0M$1.47/M$4.62/M$0.27/M0.8s62 tps
1.0M$1.47/M$4.62/M$0.27/M0.8s62 tps
262k$0.46/M$1.93/M$0.08/M1s47 tps
262k$0.46/M$1.93/M$0.08/M1s47 tps
Context
131k
Input /M
$0.29/M
Output /M
$0.44/M
Cache read /M
$0.03/M
TTFT
1.4s
Throughput
37 tps
Context
131k
Input /M
$0.29/M
Output /M
$0.44/M
Cache read /M
$0.03/M
TTFT
1.4s
Throughput
37 tps
Context
1.0M
Input /M
$0.15/M
Output /M
$0.29/M
Cache read /M
$0.03/M
TTFT
1s
Throughput
79 tps
Context
1.0M
Input /M
$0.15/M
Output /M
$0.29/M
Cache read /M
$0.03/M
TTFT
1s
Throughput
79 tps
Context
1.0M
Input /M
$0.46/M
Output /M
$1.39/M
Cache read /M
$0.01/M
TTFT
1s
Throughput
71 tps
Context
1.0M
Input /M
$0.46/M
Output /M
$1.39/M
Cache read /M
$0.01/M
TTFT
1s
Throughput
71 tps
Context
1.0M
Input /M
$1.77/M
Output /M
$3.55/M
Cache read /M
$0.15/M
TTFT
1s
Throughput
47 tps
Context
1.0M
Input /M
$1.77/M
Output /M
$3.55/M
Cache read /M
$0.15/M
TTFT
1s
Throughput
47 tps
Context
1.0M
Input /M
$0.17/M
Output /M
$0.50/M
Cache read /M
$0.0053/M
TTFT
1.4s
Throughput
45 tps
Context
1.0M
Input /M
$0.17/M
Output /M
$0.50/M
Cache read /M
$0.0053/M
TTFT
1.4s
Throughput
45 tps
Context
1.0M
Input /M
$0.16/M
Output /M
$0.63/M
Cache read /M
$0.0031/M
TTFT
1.2s
Throughput
157 tps
Context
1.0M
Input /M
$0.16/M
Output /M
$0.63/M
Cache read /M
$0.0031/M
TTFT
1.2s
Throughput
157 tps
Context
203k
Input /M
$0.73/M
Output /M
$2.35/M
Cache read /M
$0.15/M
TTFT
1.2s
Throughput
55 tps
Context
203k
Input /M
$0.73/M
Output /M
$2.35/M
Cache read /M
$0.15/M
TTFT
1.2s
Throughput
55 tps
Context
203k
Input /M
$1.47/M
Output /M
$4.62/M
Cache read /M
$0.27/M
TTFT
1.3s
Throughput
58.5 tps
Context
203k
Input /M
$1.47/M
Output /M
$4.62/M
Cache read /M
$0.27/M
TTFT
1.3s
Throughput
58.5 tps
Context
1.0M
Input /M
$1.47/M
Output /M
$4.62/M
Cache read /M
$0.27/M
TTFT
2.4s
Throughput
23 tps
Context
1.0M
Input /M
$1.47/M
Output /M
$4.62/M
Cache read /M
$0.27/M
TTFT
2.4s
Throughput
23 tps
Context
1.0M
Input /M
$1.47/M
Output /M
$4.62/M
Cache read /M
$0.27/M
TTFT
0.8s
Throughput
62 tps
Context
1.0M
Input /M
$1.47/M
Output /M
$4.62/M
Cache read /M
$0.27/M
TTFT
0.8s
Throughput
62 tps
Context
262k
Input /M
$0.46/M
Output /M
$1.93/M
Cache read /M
$0.08/M
TTFT
1s
Throughput
47 tps
Context
262k
Input /M
$0.46/M
Output /M
$1.93/M
Cache read /M
$0.08/M
TTFT
1s
Throughput
47 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.