Models

fireworks-deepseek-v4-pro-0813 vs glm-5.2

Output tokens cost $3.96 per million on fireworks-deepseek-v4-pro-0813 and $2.76 per million on glm-5.2. Input tokens cost $1.32 per million on fireworks-deepseek-v4-pro-0813 and $0.79 per million on glm-5.2. Cached input tokens are billed at $0.04 per million on fireworks-deepseek-v4-pro-0813 and $0.20 per million on glm-5.2. Discounted rates are shown where a promotion is active. Context lengths are 1,000,000 tokens on fireworks-deepseek-v4-pro-0813 and 1,000,000 tokens on glm-5.2. Time to first token (TTFT) measured on AIHubMix is 1.7s on fireworks-deepseek-v4-pro-0813 and 1.1s on glm-5.2. Measured output throughput is 39.1 tok/s on fireworks-deepseek-v4-pro-0813 and 49.2 tok/s on glm-5.2.

DeepSeekfireworks-deepseek-v4-pro-0813Z.AIglm-5.2
DeepSeek logo
fireworks-deepseek-v4-pro-0813
DeepSeek · text → text

DeepSeek-V4 features an ultra-long context of one million characters and achieves leading performance domestically and in the open-source domain in agent capabilities, world knowledge, and reasoning.

Input$1.32 /M
Output$3.96 /M
up to 30% off·00:00–23:59 UTC
Z.AI logo
glm-5.2
Z.AI · text → text

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.

Input$1.13$0.79 /M
Output$3.94$2.76 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

fireworks-deepseek-v4-pro-0813
glm-5.2
Input /M
$1.32
$1.13$0.7930%
Output /M
$3.96
$3.94$2.7630%
Cache read /M
$0.04
$0.28$0.2030%
Context length
1,000,000
1,000,000
Max output
384,000
128,000
Time to First Token
1.7 s
1.1 s
Throughput
39.1 tok/s
49.2 tok/s
Modalities
text
text
Supported Parameters
toolsfunction callingstructured outputsthinking
thinkingtoolsfunction callingstructured outputs
API Formats
chat_completions · claude_api

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

fireworks-deepseek-v4-pro-0813glm-5.2

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

fireworks-deepseek-v4-pro-0813glm-5.2

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

Cost calculator

Estimate your monthly bill for the same workload on each model.

glm-5.2
$127$88.74 /mo
fireworks-deepseek-v4-pro-0813
$139 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: fireworks-deepseek-v4-pro-0813, glm-5.2?

glm-5.2: $2.76/M output tokens; fireworks-deepseek-v4-pro-0813: $3.96/M. Use the cost calculator above to estimate your own workload.

Which responds faster?

glm-5.2: 1.1s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

fireworks-deepseek-v4-pro-0813 accepts 1,000,000 and glm-5.2 accepts 1,000,000 input tokens. Maximum output per request is 384,000 tokens on fireworks-deepseek-v4-pro-0813 and 128,000 tokens on glm-5.2.

Which one generates tokens faster?

glm-5.2 at 49.2 tok/s and fireworks-deepseek-v4-pro-0813 at 39.1 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

fireworks-deepseek-v4-pro-0813 accepts text input and supports tool calling, function calling, structured outputs and thinking; glm-5.2 accepts text input and supports thinking, tool calling, function calling and structured outputs.

Can I call fireworks-deepseek-v4-pro-0813 and glm-5.2 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.