Compare models
Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.
| Attribute | GPT-5.1 Codex (Mini)gpt-5.1-codex-mini | GPT-6 Astragpt-6-astra |
|---|---|---|
| Pricing | ||
| Input | $0.125 / 1M | $10.00 / 1M |
| Output | $1.00 / 1M | $50.00 / 1M |
| Cache Write (5m) | $0.125 / 1M | $10.00 / 1M |
| Cache Write (1h) | $0.125 / 1M | $10.00 / 1M |
| Cache Read | $0.125 / 1M | $10.00 / 1M |
| Web Search | $0 / 1M | $0 / 1M |
| Context | ||
| Max context | 400K | 1M |
| Max output | N/A | N/A |
| Capabilities | ||
| Vision | Yes | Yes |
| Function Calling | Yes | Yes |
| JSON Mode | Yes | Yes |
| Streaming | Yes | Yes |
| Catalogue | ||
| Provider | OpenAI | OpenAI |
| Category | chat | chat |
| Charge type | Pay As You Go | Pay As You Go |
| Released | — | — |
| Description | ||
| Summary | GPT-5.1 Codex is a coding-focused version of GPT-5.1 designed for both interactive development and long autonomous engineering tasks. It can build projects, add features, debug, refactor, and review code with higher steerability and cleaner outputs than GPT-5.1. It integrates with developer tools (CLI, IDEs, GitHub, cloud), supports adjustable reasoning effort, handles images/screenshots for UI work, and uses tools for search and environment setup — making it purpose-built for agentic coding workflows. | GPT-6 Astra is OpenAI's flagship model for demanding end-to-end professional work, designed for advanced analysis, software engineering, deep research, scientific tasks, and document creation. It is particularly strong in long-horizon agentic workflows, including tasks that require sustained reasoning, tool orchestration, and computer and browser use, making it well suited for complex autonomous workflows and production-grade knowledge work. |