GPT-5.1 by OpenAI introduces adaptive reasoning effort, apply_patch and shell tools, 24-hour prompt caching, and a no-reasoning mode for low-latency agentic workflows.
Capabilities, design details, and architectural traits
GPT-5.1 is the version in the GPT-5 series where OpenAI redesigned the thinking loop to spend fewer tokens on simple tasks and more tokens on hard ones. This is not a routing decision made externally - it is a documented change to how the model was trained. On easy tasks, GPT-5.1 produces a correct answer in significantly fewer tokens than GPT-5; on hard tasks, it reasons longer and more persistently than GPT-5 did.
GPT-5.1 ships with two tools introduced for the first time in the GPT-5 series:
apply_patch - lets the model emit structured diffs to create, update, or delete files in a codebase without JSON escaping, enabling iterative multi-step code editingshell - lets the model propose shell commands that an integration executes locally, then feeds the output back; creates an explicit plan-execute loop for filesystem and utility tasks| Trait | Detail |
|---|---|
| Adaptive reasoning for Instant variant | First time GPT-5 Instant (non-reasoning) decides when to think before responding, based on task complexity - documented as a training change, not a prompt instruction |
reasoning_effort='none' as the explicit default | Defaults to no reasoning; documented as ideal for latency-sensitive workloads; developers opt into low, medium, or high as needed |
| 24-hour prompt cache retention | Extended from minutes to 24 hours via prompt_cache_retention='24h' on the Responses or Chat Completions API; designed for long-running sessions like multi-turn coding and knowledge retrieval |
| Eight ChatGPT personality presets | Introduced alongside the model: Default, Friendly, Efficient, Professional, Candid, Quirky, Cynical, and Nerdy - all steerable per conversation from personalization settings |
| Dedicated Codex variants | Releases gpt-5.1-codex and gpt-5.1-codex-mini as separate API models optimized specifically for long-running agentic coding harnesses like Codex |
Independent evaluations · Artificial Analysis
Evaluate specifications, pricing, and independent benchmark indices
| Model Details | |||
|---|---|---|---|
| General Info | |||
| Provider | OpenAI | Anthropic | Anthropic |
| Release Date | November 13, 2025 | July 24, 2026 | June 9, 2026 |
| Knowledge Cutoff | - | May 2026 | - |
| Context & Limits | |||
| Context Window | 400K | 1M Best Context Window | 1M Best Context Window |
| Pricing (per 1M tokens) | |||
| Input Pricing | $1.25 Best Input Pricing | $5 | $10 |
| Output Pricing | $10 Best Output Pricing | $25 | $50 |
| Modalities | |||
| Inputs | imagetextfile | textimage | textimagefile |
| Outputs | text | text | text |
| Benchmarks (0-100) | |||
| Intelligence Index | 37.5 | 63.1 Best Intelligence Index | 62.1 |
| Coding Index | 49.4 | 78.0 Best Coding Index | 76.5 |
| Agentic Index | 21.6 | 59.2 Best Agentic Index | 56.6 |
Graduate-level reasoning and expert Q&A evaluation.
Extremely difficult logical reasoning and knowledge.
Logical reasoning over long context windows.
Independent evaluation data provided by Artificial Analysis. To view the latest benchmarks and full details, visit their official site.