Quick answer: GPT-4.1 is OpenAI's April 2025 GPT-4-series update, featuring a 1M-token context window — the largest in the GPT-4 family. It scores 97.1% on the AI2 Reasoning Challenge, 9.4% on CyberGym, and 32.8% on BigCodeBench, with a SHADE-Arena score of 5.3. Priced at $2 input / $8 output per 1M tokens.
Where GPT-4.1 leads
Where it lags
Best for: Long-document analysis, whole-codebase tasks, instruction-heavy pipelines that require a 1M context window at GPT-4 pricing.
GPT-4.1 is an iterative update to the GPT-4 line, released April 14, 2025 alongside GPT-4.1 mini and nano. Its headline feature is a 1M-token context window — the same as Gemini 2.5 Pro, enabling full-codebase analysis and long-document workflows without chunking.
Unlike the o-series, GPT-4.1 is a standard auto-regressive model with no internal chain-of-thought reasoning. This gives it lower latency and more predictable token costs, at the trade-off of lower accuracy on multi-step reasoning tasks. It is the appropriate GPT-4 choice when the 1M context window is a hard requirement and o-series reasoning latency is unacceptable.
GPT-4.1's 97.1% AI2 Reasoning Challenge score (covering physics, chemistry, biology, and other sciences) indicates strong factual reasoning at the GPT-4 tier. Its 9.4% CyberGym score is notably higher than o4-mini (2.5%), suggesting better capability on security analysis tasks for a non-reasoning model.
| Field | Value |
|---|---|
| Organization | OpenAI |
| Parameters | Undisclosed |
| Context window | 1,000,000 tokens |
| Max output | 32,768 tokens |
| License | Proprietary (API only) |
| Release date | April 14, 2025 |
| Knowledge cutoff | June 2024 (estimated) |
| Modality | Text + Vision (multimodal) |
| Input (per 1M tokens) | Output (per 1M tokens) | |
|---|---|---|
| OpenAI API | $2.00 | $8.00 |
Prompt caching provides a 75% discount on cached input. Pricing per OpenAI pricing page.
GPT-4.1 has a 1,000,000-token context window — roughly 750 pages of text in a single request. This matches Gemini 2.5 Pro and makes GPT-4.1 a direct competitor for long-context workloads at a similar price point.
| Benchmark | Score | Source | Date |
|---|---|---|---|
| AI2 Reasoning Challenge | 97.1% | Benchgen evaluation | 2025-07 |
| BigCodeBench | 32.8% | Benchgen evaluation | 2025-07 |
| CyberGym | 9.4% | Benchgen evaluation | 2025-07 |
| Humanity's Last Exam | 5.40% | Benchgen evaluation | 2025-07 |
| AetherCode | 10.5% | Benchgen evaluation | 2025-07 |
| SHADE-Arena | 5.3 overall success | Anthropic research post | 2025-06 |
| Model | Context | AI2 RC | CyberGym | Price (in/out per 1M) |
|---|---|---|---|---|
| GPT-4.1 | 1M | 97.1% | 9.4% | $2 / $8 |
| o4-mini | 200K | 95.9% | 2.5% | $1.10 / $4.40 |
| Gemini 2.5 Pro | 1M | — | — | $1.25 / $10 |
| GPT-4o | 128K | — | — | $2.50 / $10 |
GPT-4.1's main advantage over Gemini 2.5 Pro: marginally higher AI2 RC score, better CyberGym result. Gemini 2.5 Pro has higher HLE and broader multimodal capability. vs o4-mini, GPT-4.1 offers 5× more context window and better CyberGym at ~2× the cost.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY")
response = client.chat.completions.create(
model="gpt-4.1",
messages=[{"role": "user", "content": "Analyse this entire codebase for architectural issues..."}],
)
print(response.choices[0].message.content)Specs and scores sourced from OpenAI's official GPT-4.1 announcement (April 14, 2025) and Benchgen evaluations. Pricing cited to the OpenAI pricing page. Last updated 2026-07-24.
This model isn’t on any benchmark leaderboard yet.