AI Hub
← All models

Gemma 3 4B vs GPT-5.2-Codex

Google vs OpenAI — benchmarks, pricing, and capabilities side by side.

  • GPT-5.2-Codex has the higher intelligence index (89.9 vs 45.8)
  • Gemma 3 4B is cheaper ($0.04 vs $1.75 per 1M input)
  • GPT-5.2-Codex is faster
  • GPT-5.2-Codex has a larger context window (400K)
Gemma 3 4BGPT-5.2-Codex
Intelligence index45.889.9
DeveloperGoogleOpenAI
TypeMultimodalMultimodal
AccessOpen weightsAPI only
Context window131,072 tokens400,000 tokens
Input price$0.04 / 1M$1.75 / 1M
Output price$0.08 / 1M$14.00 / 1M
Speed33 tok/s106 tok/s
ReleasedMarch 13, 2025January 14, 2026
Parameters
Input modalitiesText, ImageText, Image
Output modalitiesTextText

Shared benchmarks

Gemma 3 4B
GPT-5.2-Codex
GPQA Diamond
30.8
89.9