Z.aivsOpenAI·更新於 Nov 2026
GLM 5 Code logovsO4 Mini logo

GLM 5 Code vs O4 Mini

涵蓋 411 款實時模型與雲算力組合的費率結構、基準分數與 30 天生產環境開銷對比。

切換對比型號組合411 · 更新於 Nov 2026
輸入更便宜
O4 Mini logoO4 Mini-8.3%

$1.10 vs $1.20 / 1M

輸出更便宜
O4 Mini logoO4 Mini-12%

$4.40 vs $5.00 / 1M

AA 智能分 / AA 工程分
深度推理

—

上下文視窗
相同 · 200K

最大輸出: 128K vs 100K

模型能力评测与权威榜单对照

综合 Artificial Analysis 智力/工程指数与核心能力配置,并附权威第三方榜单标准化直达链接。

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA 智能分
GLM 5 Code logoGLM 5 Code暂缺公开评分
O4 Mini logoO4 Mini暂缺公开评分
AA 工程分
GLM 5 Code logoGLM 5 Code暂缺公开评分
O4 Mini logoO4 Mini暂缺公开评分
核心模型能力维度对比
對比指標GLM 5 CodeO4 Mini
深度推理支持支持
輸入模態textimage, text, file
工具呼叫 & JSONToolsTools
Prompt 快取$0.30/1M$0.28/1M
開源權重开源权重闭源商用

關鍵規格與價格並排矩陣

USD ·
對比指標GLM 5 Code logoGLM 5 CodeO4 Mini logoO4 Mini對比
輸入 / 1M$1.20$1.10O4 Mini -8.3%
輸出 / 1M$5.00$4.40O4 Mini -12%
5m Cache Write / 1M$0.00$1.10GLM 5 Code -100%
1h Cache Write / 1M———
快取讀取$0.30$0.28O4 Mini -8.3%
Web Search / Call———
上下文200K (200,000)200K (200,000)相同
最大輸出128K (128,000)100K (100,000)GLM 5 Code 1.3×
AA 智能分(Artificial Analysis)———
AA 工程分———
支援能力textimage, text, fileO4 Mini
深度推理支援支援相同
Structured Outputs(JSON Schema)未支援未支援相同
開源權重開源權重閉源商用 APIGLM 5 Code

30 天生產成本模擬器

調整每日請求量、平均上下文長度與快取命中率,試算 30 天費用。

LLM API 月度成本計算器
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
預估 30 天支出
採用 O4 Mini 預計每月可省下 $27.38/月 ($328.50)
-10%
GLM 5 Code logoGLM 5 Code
$262.50/月
In: $90.00
Cache: $22.50
Out: $150.00
Search: N/A
O4 Mini logoO4 Mini最佳首選
$235.13/月
In: $82.50
Cache: $20.63
Out: $132.00
Search: N/A

常見問題解答

Is GLM 5 Code or O4 Mini cheaper per API token?

O4 Mini is 8.3% cheaper on input tokens ($1.10 vs $1.20 per 1M). For output tokens, O4 Mini costs 12% less ($4.40 vs $5.00 per 1M).

How do GLM 5 Code and O4 Mini prompt caching discounts compare?

O4 Mini offers 8.3% cheaper cache reads at $0.28/1M compared to $0.30/1M for GLM 5 Code. GLM 5 Code 5m write: $0.00/1M; O4 Mini 5m write: $1.10/1M.

Which model has a larger context window: GLM 5 Code or O4 Mini?

Both GLM 5 Code and O4 Mini support a 200K (200,000 tokens) context window. Max output completion limits are 128K for GLM 5 Code and 100K for O4 Mini.

How do GLM 5 Code and O4 Mini compare on benchmarks and capabilities?

O4 Mini adds native vision/image input support, and GLM 5 Code releases open weights for self-hosting or dedicated inference.

相關橫向對比推薦

對比評測中心