Z.aivsOpenAI·Updated Nov 2026
CodeGeeX 4 logovsGPT-6.2 Astra logo

CodeGeeX 4 vs GPT-6.2 Astra

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-91%

$0.70 vs $8.00 / 1M

Cheaper Output
CodeGeeX 4 logoCodeGeeX 4-95%

$2.10 vs $40.00 / 1M

AA Intelligence / AA Engineering
Reasoning

GPT-6.2 Astra: 62.2

Context Window
GPT-6.2 Astra logoGPT-6.2 Astra8.2×

1.05M 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
GPT-6.2 Astra logoGPT-6.2 Astra62.2
AA Engineering
CodeGeeX 4 logoCodeGeeX 4Pending
GPT-6.2 Astra logoGPT-6.2 Astra66.7
Core Capability Profile
MetricCodeGeeX 4GPT-6.2 Astra
ReasoningYesmax/xhigh/high/medium/low
Input Modalitiestexttext, image, file
Tools & JSONToolsTools · JSON
Prompt Caching$0.70/1M$0.40/1M
Open-WeightOpenProprietary

Side-by-side specification matrix

USD ·
MetricCodeGeeX 4 logoCodeGeeX 4GPT-6.2 Astra logoGPT-6.2 AstraCompare
Input / 1M$0.70$8.00CodeGeeX 4 -91%
Output / 1M$2.10$40.00CodeGeeX 4 -95%
5m Cache Write / 1M$0.70$10.00CodeGeeX 4 -93%
1h Cache Write / 1M———
Cache Read$0.70$0.40GPT-6.2 Astra -43%
Web Search / Call—$0.01—
Context128K (128,000)1.05M (1,050,000)GPT-6.2 Astra 8.2×
Max Output33K (32,768)128K (128,000)GPT-6.2 Astra 3.9×
AA Intelligence(Artificial Analysis)—62.2—
AA Engineering—66.7—
Capabilitiestexttext, image, fileGPT-6.2 Astra
ReasoningSupportedmax, xhigh, high, medium, lowEqual
Structured Outputs(JSON Schema)Not listedSupportedGPT-6.2 Astra
Open-WeightOpen-WeightProprietary APICodeGeeX 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 $1,662.00/mo ($19,944.00)
-91%
CodeGeeX 4 logoCodeGeeX 4Best Value
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A
GPT-6.2 Astra logoGPT-6.2 Astra
$1,830.00/mo
In: $600.00
Cache: $30.00
Out: $1,200.00
Search: $0.00

Frequently Asked Questions

Is CodeGeeX 4 or GPT-6.2 Astra cheaper per API token?

CodeGeeX 4 is 91% cheaper on input tokens ($0.70 vs $8.00 per 1M). For output tokens, CodeGeeX 4 costs 95% less ($2.10 vs $40.00 per 1M).

How do CodeGeeX 4 and GPT-6.2 Astra prompt caching discounts compare?

GPT-6.2 Astra offers 43% cheaper cache reads at $0.40/1M compared to $0.70/1M for CodeGeeX 4. CodeGeeX 4 5m write: $0.70/1M; GPT-6.2 Astra 5m write: $10.00/1M.

Which model has a larger context window: CodeGeeX 4 or GPT-6.2 Astra?

GPT-6.2 Astra provides a 8.2× larger context window (1.05M vs 128K tokens). For single-turn output generation, CodeGeeX 4 caps at 33K tokens and GPT-6.2 Astra caps at 128K tokens.

How do CodeGeeX 4 and GPT-6.2 Astra compare on benchmarks and capabilities?

GPT-6.2 Astra adds native vision/image input support, and CodeGeeX 4 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons