MistralvsGoogle·更新於 Nov 2026
Codestral 2508 logovsGemma 3 4B logo

Codestral 2508 vs Gemma 3 4B

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

切換對比型號組合411 · 更新於 Nov 2026
輸入更便宜
Gemma 3 4B logoGemma 3 4B-83%

$0.05 vs $0.30 / 1M

輸出更便宜
Gemma 3 4B logoGemma 3 4B-89%

$0.10 vs $0.90 / 1M

AA 智能分 / AA 工程分
—

—

上下文視窗
Codestral 2508 logoCodestral 25082×

256K vs 131K Tokens

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

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

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA 智能分
Codestral 2508 logoCodestral 2508暂缺公开评分
Gemma 3 4B logoGemma 3 4B暂缺公开评分
AA 工程分
Codestral 2508 logoCodestral 2508暂缺公开评分
Gemma 3 4B logoGemma 3 4B暂缺公开评分
核心模型能力维度对比
對比指標Codestral 2508Gemma 3 4B
深度推理——
輸入模態text, filetext, image
工具呼叫 & JSONTools—
Prompt 快取$0.03/1M$0.05/1M
開源權重开源权重闭源商用

關鍵規格與價格並排矩陣

USD ·
對比指標Codestral 2508 logoCodestral 2508Gemma 3 4B logoGemma 3 4B對比
輸入 / 1M$0.30$0.05Gemma 3 4B -83%
輸出 / 1M$0.90$0.10Gemma 3 4B -89%
5m Cache Write / 1M$0.30$0.05Gemma 3 4B -83%
1h Cache Write / 1M———
快取讀取$0.03$0.05Codestral 2508 -40%
Web Search / Call———
上下文256K (256,000)131K (131,072)Codestral 2508 2×
最大輸出205K (204,800)16K (16,384)Codestral 2508 13×
AA 智能分(Artificial Analysis)———
AA 工程分———
支援能力text, filetext, image相同
深度推理未支援未支援相同
Structured Outputs(JSON Schema)未支援未支援相同
開源權重開源權重閉源商用 APICodestral 2508

30 天生產成本模擬器

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

LLM API 月度成本計算器
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
預估 30 天支出
採用 Gemma 3 4B 預計每月可省下 $41.25/月 ($495.00)
-80%
Codestral 2508 logoCodestral 2508
$51.75/月
In: $22.50
Cache: $2.25
Out: $27.00
Search: N/A
Gemma 3 4B logoGemma 3 4B最佳首選
$10.50/月
In: $3.75
Cache: $3.75
Out: $3.00
Search: N/A

常見問題解答

Is Codestral 2508 or Gemma 3 4B cheaper per API token?

Gemma 3 4B is 83% cheaper on input tokens ($0.05 vs $0.30 per 1M). For output tokens, Gemma 3 4B costs 89% less ($0.10 vs $0.90 per 1M).

How do Codestral 2508 and Gemma 3 4B prompt caching discounts compare?

Codestral 2508 offers 40% cheaper cache reads at $0.03/1M compared to $0.05/1M for Gemma 3 4B. Codestral 2508 5m write: $0.30/1M; Gemma 3 4B 5m write: $0.05/1M.

Which model has a larger context window: Codestral 2508 or Gemma 3 4B?

Codestral 2508 provides a 2× larger context window (256K vs 131K tokens). For single-turn output generation, Codestral 2508 caps at 205K tokens and Gemma 3 4B caps at 16K tokens.

How do Codestral 2508 and Gemma 3 4B compare on benchmarks and capabilities?

Gemma 3 4B adds native vision/image input support, and Codestral 2508 releases open weights for self-hosting or dedicated inference.

相關橫向對比推薦

對比評測中心