Skip to content

Same-model provider benchmark

Baidu Qianfan vs DeepInfra: LLM provider comparison

Compare Baidu Qianfan and DeepInfra on 7 exact shared text models. ProviderBench keeps speed, price, and catalog coverage separate so naturally faster model catalogs cannot distort the result.

Baidu Qianfan

7 indexed models

Headquarters
China
Server regions
N/a
Model types
7 text

DeepInfra

87 indexed models

Headquarters
United States
Server regions
N/a
Model types
67 text, 15 embeddings, 5 speech

At a glance

Metric winners

There is no overall score. Each winner answers one specific question using only directly comparable data.

Fastest on shared models

1.55× typical advantage

7 exact models with complete recent speed data

Lowest token cost

$1.0826 / 1M

7 exact models using a 1K-input/500-output mix

Most models available

87 models

Complete catalog coverage across all indexed modalities

Shared-model benchmark summary

MetricBaidu QianfanDeepInfra
Typical 500-token response13.46 s20.36 s
Typical response start1.04 s0.94 s
Typical output speed40.0 tok/s26.0 tok/s
Blended token price$1.0826 / 1M$1.2 / 1M
Typical route uptime99.35%99.61%

Visual comparison

Price and performance charts

Baidu QianfanDeepInfra
500-token response by shared model

Estimated seconds using recent median response-start and output-speed data. Lower is better.

Baidu Qianfan has the lower typical same-model response ratio across 7 measured models.

Blended token price by shared model

USD per 1 million tokens using a 1,000-input/500-output mix. Lower is better.

Baidu Qianfan has the lower typical price ratio across 7 priced shared models.

Shared text models

7 exact models · newest first

ModelBaidu QianfanDeepInfra
GLM 5.2Winner · Baidu Qianfan

z-ai/glm-5.2

Baidu Qianfan
Blended price
$1.67 / 1M
500-token response
11.25 s
Response starts
1.05 s
Output speed
49.0 tok/s
Route uptime
99.53%
Context
1M
Route
baidu/fp8
DeepInfra
Blended price
$1.62 / 1M
500-token response
42.37 s
Response starts
0.70 s
Output speed
12.0 tok/s
Route uptime
N/a
Context
1M
Route
deepinfra/fp4
DeepSeek V4 ProWinner · Baidu Qianfan

deepseek/deepseek-v4-pro

Baidu Qianfan
Blended price
$0.9937 / 1M
500-token response
12.62 s
Response starts
1.26 s
Output speed
44.0 tok/s
Route uptime
98.14%
Context
1M
Route
baidu/fp8
DeepInfra
Blended price
$1.7333 / 1M
500-token response
18.19 s
Response starts
0.94 s
Output speed
29.0 tok/s
Route uptime
98.79%
Context
1M
Route
deepinfra/fp4
DeepSeek V4 FlashWinner · Baidu Qianfan

deepseek/deepseek-v4-flash

Baidu Qianfan
Blended price
$0.1311 / 1M
500-token response
7.67 s
Response starts
0.72 s
Output speed
72.0 tok/s
Route uptime
99.77%
Context
1M
Route
baidu/fp8
DeepInfra
Blended price
$0.12 / 1M
500-token response
20.36 s
Response starts
1.13 s
Output speed
26.0 tok/s
Route uptime
99.43%
Context
1M
Route
deepinfra/fp4
Kimi K2.6Winner · DeepInfra

moonshotai/kimi-k2.6

Baidu Qianfan
Blended price
$1.596 / 1M
500-token response
14.79 s
Response starts
0.90 s
Output speed
36.0 tok/s
Route uptime
99.34%
Context
262.1K
Route
baidu/fp4
DeepInfra
Blended price
$1.6667 / 1M
500-token response
12.84 s
Response starts
0.93 s
Output speed
42.0 tok/s
Route uptime
99.94%
Context
262.1K
Route
deepinfra/fp4
GLM 5.1Winner · Baidu Qianfan

z-ai/glm-5.1

Baidu Qianfan
Blended price
$1.68 / 1M
500-token response
16.87 s
Response starts
1.24 s
Output speed
32.0 tok/s
Route uptime
79.26%
Context
202.8K
Route
baidu/fp8
DeepInfra
Blended price
$1.8667 / 1M
500-token response
18.81 s
Response starts
1.57 s
Output speed
29.0 tok/s
Route uptime
99.92%
Context
202.8K
Route
deepinfra/fp4
GLM 5Winner · Baidu Qianfan

z-ai/glm-5

Baidu Qianfan
Blended price
$1.2133 / 1M
500-token response
13.46 s
Response starts
0.96 s
Output speed
40.0 tok/s
Route uptime
99.35%
Context
202.8K
Route
baidu/fp8
DeepInfra
Blended price
$1.0933 / 1M
500-token response
21.01 s
Response starts
1.01 s
Output speed
25.0 tok/s
Route uptime
99.79%
Context
202.8K
Route
deepinfra/fp4
DeepSeek V3.2Winner · Baidu Qianfan

deepseek/deepseek-v3.2

Baidu Qianfan
Blended price
$0.294 / 1M
500-token response
27.36 s
Response starts
1.04 s
Output speed
19.0 tok/s
Route uptime
100.00%
Context
131.1K
Route
baidu/fp8
DeepInfra
Blended price
$0.3 / 1M
500-token response
42.39 s
Response starts
0.73 s
Output speed
12.0 tok/s
Route uptime
83.26%
Context
163.8K
Route
deepinfra/fp4

A per-model winner combines blended price and estimated 500-token response time with equal proportional weight. Ties and rows missing either measurement receive no badge. Comparison data calculated . Values use one deterministic route per provider and model; missing measurements remain visible as N/a.

Baidu Qianfan vs DeepInfra analysis

How Baidu Qianfan and DeepInfra compare for AI inference

Baidu Qianfan and DeepInfra share 7 indexed text models, including GLM 5.2, DeepSeek V4 Pro, DeepSeek V4 Flash, Kimi K2.6, GLM 5.1. Baidu Qianfan has the stronger typical response-time result on the directly measured set.

Same-model speed evidence

7 shared models currently have complete response-start and output-speed measurements on both providers. The speed comparison uses per-model ratios before taking the median, so naturally faster model catalogs do not improve the result.

Token pricing on one workload

7 shared models have complete input and output prices on both providers. Prices use the same 1,000-input/500-output-token mix and are normalized to one million tokens for readability.

Catalog and deployment differences

Baidu Qianfan has 7 indexed models and lists no published server regions; DeepInfra has 87 models and lists no regions. Verify data residency, privacy terms, limits, and production latency directly before choosing.