AnthropicvsZ.ai·Updated Nov 2026
Claude Sonnet 5.5 logovsCodeGeeX 4 logo

Claude Sonnet 5.5 vs CodeGeeX 4

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
CodeGeeX 4 logoCodeGeeX 4-65%

$0.70 vs $2.00 / 1M

Cheaper Output
CodeGeeX 4 logoCodeGeeX 4-79%

$2.10 vs $10.00 / 1M

AA Intelligence / AA Engineering
Reasoning

Claude Sonnet 5.5: 54.7

Context Window
Claude Sonnet 5.5 logoClaude Sonnet 5.57.8×

1M 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
Claude Sonnet 5.5 logoClaude Sonnet 5.554.7
CodeGeeX 4 logoCodeGeeX 4Pending
AA Engineering
Claude Sonnet 5.5 logoClaude Sonnet 5.558.6
CodeGeeX 4 logoCodeGeeX 4Pending
Core Capability Profile
MetricClaude Sonnet 5.5CodeGeeX 4
Reasoningmax/xhigh/high/medium/lowYes
Input Modalitiestext, image, filetext
Tools & JSONTools · JSONTools
Prompt Caching$0.10/1M$0.70/1M
Open-WeightProprietaryOpen

Side-by-side specification matrix

USD ·
MetricClaude Sonnet 5.5 logoClaude Sonnet 5.5CodeGeeX 4 logoCodeGeeX 4Compare
Input / 1M$2.00$0.70CodeGeeX 4 -65%
Output / 1M$10.00$2.10CodeGeeX 4 -79%
5m Cache Write / 1M$2.50$0.70CodeGeeX 4 -72%
1h Cache Write / 1M$4.00——
Cache Read$0.10$0.70Claude Sonnet 5.5 -86%
Web Search / Call$0.01——
Context1M (1,000,000)128K (128,000)Claude Sonnet 5.5 7.8×
Max Output128K (128,000)33K (32,768)Claude Sonnet 5.5 3.9×
AA Intelligence(Artificial Analysis)54.7——
AA Engineering58.6——
Capabilitiestext, image, filetextClaude Sonnet 5.5
Reasoningmax, xhigh, high, medium, lowSupportedEqual
Structured Outputs(JSON Schema)SupportedNot listedClaude Sonnet 5.5
Open-WeightProprietary APIOpen-WeightCodeGeeX 4

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 CodeGeeX 4 $289.50/mo ($3,474.00)
-63%
Claude Sonnet 5.5 logoClaude Sonnet 5.5
$457.50/mo
In: $150.00
Cache: $7.50
Out: $300.00
Search: $0.00
CodeGeeX 4 logoCodeGeeX 4Best Value
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A

Frequently Asked Questions

Is Claude Sonnet 5.5 or CodeGeeX 4 cheaper per API token?

CodeGeeX 4 is 65% cheaper on input tokens ($0.70 vs $2.00 per 1M). For output tokens, CodeGeeX 4 costs 79% less ($2.10 vs $10.00 per 1M).

How do Claude Sonnet 5.5 and CodeGeeX 4 prompt caching discounts compare?

Claude Sonnet 5.5 offers 86% cheaper cache reads at $0.10/1M compared to $0.70/1M for CodeGeeX 4. Claude Sonnet 5.5 5m write: $2.50/1M; CodeGeeX 4 5m write: $0.70/1M.

Which model has a larger context window: Claude Sonnet 5.5 or CodeGeeX 4?

Claude Sonnet 5.5 provides a 7.8× larger context window (1M vs 128K tokens). For single-turn output generation, Claude Sonnet 5.5 caps at 128K tokens and CodeGeeX 4 caps at 33K tokens.

How do Claude Sonnet 5.5 and CodeGeeX 4 compare on benchmarks and capabilities?

Claude Sonnet 5.5 adds native vision/image input support, and CodeGeeX 4 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons