
GPT-5.1-Codex: API pricing, context window and capabilities
GPT-5.1-Codex costs $1.25 per 1M input tokens and $10 per 1M output tokens, with a 400K context window. Frontier tier: dearer than 81% of this rating, with GPT-5.4 Mini as the nearest cheaper OpenAI option. Recorded for vision, coding, reasoning.
GPT-5.1-Codex is an AI model from OpenAI, priced at $1.25 input and $10 output per 1M tokens. That places it in the frontier tier of this rating — dearer than 81% of the 205 priced models listed.
It holds 400K tokens in a single conversation. Capabilities recorded in this rating: text & chat, vision, coding, reasoning, tool calling. Access is through the API rather than a consumer subscription.
Cost calculator
Assumes a 1:3 input-to-output ratio, which is typical for chat and generation. Dirham figures use 3.6725 per dollar. Batch and caching discounts apply where the vendor offers them.
Compared with alternatives
How GPT-5.1-Codex sits against its neighbours in this rating. Tap a card to open that model.
Good and poor fit
- Multi-step analysis, planning and code review, where the first plausible answer is often wrong.
- Writing, reviewing and refactoring code, including fill-in-the-middle edits.
- Reading screenshots, charts, scanned documents and photos.
- Classification, routing and short summaries — a small model does these identically for a fraction of the price.
Related filters
Frequently asked questions
How much does GPT-5.1-Codex cost?
What is the context window of GPT-5.1-Codex?
What can GPT-5.1-Codex do?
Is GPT-5.1-Codex a good choice?
Frequently searched
Ratings 0
Avg. score 0
Rate this page
Help us improve