Gemma 3n E4B Instructed vs GPT-5.1 Codex Mini
GPT-5.1 Codex Mini leads the LLM Stats Score -3.3 to -5.3. GPT-5.1 Codex Mini is 36.4x cheaper per token.
Google · OpenAI · Updated for 2026
Which is better?
GPT-5.1 Codex Mini leads the overall LLM Stats Score -3.3 to -5.3, ranking #396 overall.
In the 1 individual benchmarks reported for both models, GPT-5.1 Codex Mini wins 1; this is a narrower head-to-head signal than the composite indexes.
On price, GPT-5.1 Codex Mini is roughly 36.4x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.
GPT-5.1 Codex Mini also accepts a larger context window (400,000 input tokens), making it the stronger choice for long documents and large codebases.
Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.
Choose Gemma 3n E4B Instructed
- you want predictable pricing at $20.00/M input and $40.00/M output
Choose GPT-5.1 Codex Mini
- overall performance matters — it scores -3.3 and ranks #396 on LLM Stats
- your work emphasizes reasoning — it leads those capability indexes
- you value its reported benchmark strengths — it wins 1 of 1 exact shared results
- cost matters — it's about 36.4x cheaper per token
- you process long inputs — it offers a 400,000 token context window
- you want the most recent training data — it shipped Nov 2025
At a glance
The differences that matter most.
Individual benchmarks
18 reported for Gemma 3n E4B Instructed · 1 for GPT-5.1 Codex Mini
Gemma 3n E4B Instructed outperforms in 0 benchmarks, while GPT-5.1 Codex Mini is better at 1 benchmark (AIME 2025).
GPT-5.1 Codex Mini significantly outperforms across most benchmarks.
Human preference
Blind head-to-head votes and playground preference scores
Pricing Analysis
Price comparison per million tokens
For input processing, Gemma 3n E4B Instructed ($20.00/1M tokens) is 80.0x more expensive than GPT-5.1 Codex Mini ($0.25/1M tokens).
For output processing, Gemma 3n E4B Instructed ($40.00/1M tokens) is 20.0x more expensive than GPT-5.1 Codex Mini ($2.00/1M tokens).
In conclusion, Gemma 3n E4B Instructed is more expensive than GPT-5.1 Codex Mini.*
* Using a 3:1 ratio of input to output tokens
Context Window
Maximum input and output token capacity
GPT-5.1 Codex Mini accepts 400,000 input tokens compared to Gemma 3n E4B Instructed's 32,000 tokens. GPT-5.1 Codex Mini can generate longer responses up to 128,000 tokens, while Gemma 3n E4B Instructed is limited to 32,000 tokens.
Input capabilities
Documented input modalities across available providers
Both Gemma 3n E4B Instructed and GPT-5.1 Codex Mini support multimodal inputs.
They are both capable of processing various types of data, offering versatility in application.
Gemma 3n E4B Instructed
GPT-5.1 Codex Mini
License
Usage and distribution terms
Both models are licensed under proprietary licenses.
Both models have usage restrictions defined by their respective organizations.
Proprietary
Closed source
Proprietary
Closed source
Release Timeline
When each model was launched
Gemma 3n E4B Instructed was released on 2025-06-26, while GPT-5.1 Codex Mini was released on 2025-11-12.
GPT-5.1 Codex Mini is 5 months newer than Gemma 3n E4B Instructed.
Jun 26, 2025
1.4 years ago
Nov 12, 2025
1.0 years ago
4mo newerKnowledge Cutoff
When training data ends
Gemma 3n E4B Instructed has a documented knowledge cutoff of 2024-06-01, while GPT-5.1 Codex Mini's cutoff date is not specified.
We can confirm Gemma 3n E4B Instructed's training data extends to 2024-06-01, but cannot make a direct comparison without GPT-5.1 Codex Mini's cutoff date.
Jun 2024
—
Provider Availability
Gemma 3n E4B Instructed is available from Together. GPT-5.1 Codex Mini is available from OpenAI.
Gemma 3n E4B Instructed
GPT-5.1 Codex Mini
Outputs Comparison
Judge for yourself.
Run your own prompts against Gemma 3n E4B Instructed and GPT-5.1 Codex Mini side-by-side, then vote on the output you prefer.
FAQ
Common questions about Gemma 3n E4B Instructed vs GPT-5.1 Codex Mini.