Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers · Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)

GPT 5.2 Codex vs Gemma 4 31B

At a glance

Optimized for software engineering and coding workflows.

400K ctx$1.75/$14.00 per M

Google's fourth-generation open dense model with native multimodal understanding.

262K ctx$0.12/$0.37 per M
Agent Demos
All agent demos

No shared agent demos for these models yet.

AI Output
All AI outputs

No captured outputs for these models yet.

Benchmarks
See rankings
Reasoning
CodingInsufficient data
ReasoningInsufficient data
MathInsufficient data
Sources:Epoch AI·OpenRouter· as of 2026-07-10
Reasoning & Knowledge
Factual Recall—
Agentic
Terminal Tasks66.5%
Reasoning
CodingInsufficient data
AgenticInsufficient data
ReasoningInsufficient data
MathInsufficient data
Sources:Epoch AI·OpenRouter· as of 2026-07-10
Cheaper96%
Reasoning & Knowledge
Factual Recall9.6%
Agentic
Terminal Tasks—
Specs
400K
Context
128K
Max output
Jan 2026
Released
262K
Context
16K
Max output
Apr 2026
Released
Capabilities
Vision
Audio
Reasoning
Vision
Audio
Reasoning
Pricing
Live pricing, shown before you run
Input$1.75/M tokens
Output$14.00/M tokens
Cache read$0.17/M tokens
Web search$0.01/search
Live pricing, shown before you run
Input93%$0.12/M tokens
Output97%$0.37/M tokens
Chat with GPT 5.2 CodexGo to model
Chat with Gemma 4 31BGo to model
Frequently Asked Questions: GPT 5.2 Codex vs Gemma 4 31B▼

Which is better, GPT 5.2 Codex or Gemma 4 31B?

▼

Both GPT 5.2 Codex and Gemma 4 31B are capable AI models. The best choice depends on your specific use case: consider pricing, context window, speed, and which capabilities (vision, reasoning, audio) you need.

Which is cheaper, GPT 5.2 Codex or Gemma 4 31B?

▼

Gemma 4 31B has a lower blended cost. GPT 5.2 Codex: $1.75 input / $14.00 output. Gemma 4 31B: $0.12 input / $0.37 output.

Which has a larger context window, GPT 5.2 Codex or Gemma 4 31B?

▼

GPT 5.2 Codex has a larger context window: GPT 5.2 Codex supports 400K tokens vs Gemma 4 31B at 262K tokens.

Do both GPT 5.2 Codex and Gemma 4 31B support vision?

▼

Yes, both GPT 5.2 Codex and Gemma 4 31B support vision/image input.

What are the key differences between GPT 5.2 Codex and Gemma 4 31B?

▼

Key differences: Gemma 4 31B is significantly cheaper. Compare full specs on this page.

Which model should I choose for my use case?

▼

If cost is your priority, choose the cheaper option. If you need the highest intelligence for complex tasks, pick the higher-scoring model. For long documents or codebases, choose the larger context window. You can try both GPT 5.2 Codex and Gemma 4 31B for free on idapt.app to see which performs better for your specific needs.

Open in App