Z.aivsDeepSeek·Updated Nov 2026
CodeGeeX 4 logovsDeepSeek V3.1 logo

CodeGeeX 4 vs DeepSeek V3.1

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
DeepSeek V3.1 logoDeepSeek V3.1-64%

$0.25 vs $0.70 / 1M

Cheaper Output
DeepSeek V3.1 logoDeepSeek V3.1-55%

$0.95 vs $2.10 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
DeepSeek V3.1 logoDeepSeek V3.11.3×

164K vs 128K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
CodeGeeX 4 logoCodeGeeX 4Pending
DeepSeek V3.1 logoDeepSeek V3.1Pending
AA Engineering
CodeGeeX 4 logoCodeGeeX 4Pending
DeepSeek V3.1 logoDeepSeek V3.1Pending
Core Capability Profile
MetricCodeGeeX 4DeepSeek V3.1
ReasoningYesYes
Input Modalitiestexttext
Tools & JSONToolsTools
Prompt Caching$0.70/1M$0.13/1M
Open-WeightOpenOpen

Side-by-side specification matrix

USD ·
MetricCodeGeeX 4 logoCodeGeeX 4DeepSeek V3.1 logoDeepSeek V3.1Compare
Input / 1M$0.70$0.25DeepSeek V3.1 -64%
Output / 1M$2.10$0.95DeepSeek V3.1 -55%
5m Cache Write / 1M$0.70$0.25DeepSeek V3.1 -64%
1h Cache Write / 1M———
Cache Read$0.70$0.13DeepSeek V3.1 -81%
Web Search / Call———
Context128K (128,000)164K (163,840)DeepSeek V3.1 1.3×
Max Output33K (32,768)147K (147,456)DeepSeek V3.1 4.5×
AA Intelligence(Artificial Analysis)———
AA Engineering———
CapabilitiestexttextEqual
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightOpen-WeightOpen-WeightEqual

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with DeepSeek V3.1 $111.00/mo ($1,332.00)
-66%
CodeGeeX 4 logoCodeGeeX 4
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A
DeepSeek V3.1 logoDeepSeek V3.1Best Value
$57.00/mo
In: $18.75
Cache: $9.75
Out: $28.50
Search: N/A

Frequently Asked Questions

Is CodeGeeX 4 or DeepSeek V3.1 cheaper per API token?

DeepSeek V3.1 is 64% cheaper on input tokens ($0.25 vs $0.70 per 1M). For output tokens, DeepSeek V3.1 costs 55% less ($0.95 vs $2.10 per 1M).

How do CodeGeeX 4 and DeepSeek V3.1 prompt caching discounts compare?

DeepSeek V3.1 offers 81% cheaper cache reads at $0.13/1M compared to $0.70/1M for CodeGeeX 4. CodeGeeX 4 5m write: $0.70/1M; DeepSeek V3.1 5m write: $0.25/1M.

Which model has a larger context window: CodeGeeX 4 or DeepSeek V3.1?

DeepSeek V3.1 provides a 1.3× larger context window (164K vs 128K tokens). For single-turn output generation, CodeGeeX 4 caps at 33K tokens and DeepSeek V3.1 caps at 147K tokens.

How do CodeGeeX 4 and DeepSeek V3.1 compare on benchmarks and capabilities?

Compare CodeGeeX 4 (Z.ai) and DeepSeek V3.1 (DeepSeek) across tool calling (yes vs yes) and reasoning support above.

Related Head-to-Head Matchups

Comparisons