Skip to content
OpenAI

GPT-5.1-Codex

GPT-5.1-Codex is a large language model made by OpenAI, added to the catalog on 13 Nov 2025. It has a context window of 400,000 tokens and costs $1.25 per 1M input tokens and $10.00 per 1M output tokens. It accepts text and images and produces text. Typical uses: build projects from scratch efficiently, develop and debug features seamlessly and conduct thorough code reviews.

Price checked · source: OpenRouter

What GPT-5.1-Codex is

GPT-5.1-Codex, released on November 13, 2025, is a model by OpenAI designed specifically for software engineering. With a context window of 400,000 tokens, it accepts both text and image inputs, producing text outputs. This model excels in interactive development and can handle complex engineering tasks, including project creation, debugging, and code reviews. Codex adapts its reasoning effort based on the task, offering quick responses for small jobs and sustained performance for larger projects. It integrates seamlessly into various developer environments, enhancing productivity with its multimodal capabilities and tool integration.

Key features

  • Optimized for software engineering tasks
  • Handles multimodal inputs like images
  • Supports structured code reviews
  • Integrates into developer environments
  • Adjustable reasoning effort for tasks

Typical uses

  • Build projects from scratch efficiently
  • Develop and debug features seamlessly
  • Conduct thorough code reviews
  • Refactor code at scale
  • Integrate tools for enhanced workflows

GPT-5.1-Codex pricing

US dollars, list price through OpenRouter.

Checked
GPT-5.1-Codex price list
ItemStandard
Input, per 1M tokens$1.25
Output, per 1M tokens$10.00
Cached input read, per 1M tokens$0.13
Web search, per search$0.01

No price change since it was added on 13 Nov 2025.

What typical tasks cost with GPT-5.1-Codex
What a task costsCost
Answer a short question500 in / 300 out$0.0036
Summarise a 50-page PDF25,000 in / 800 out$0.039
Review a 2,000-line source file30,000 in / 2,000 out$0.058
Read a 300-page contract set150,000 in / 1,500 out$0.203
Check the provider's pageToken counts are estimates. A maker's direct price and its monthly plans can differ from the per-token price shown here.

GPT-5.1-Codex specifications

GPT-5.1-Codex limits and identity
Model idopenai/gpt-5.1-codex
Versiongpt-5.1-codex-20251113
Context window400,000 tokensAbout 300,000 English words
Max output128,000 tokens
Knowledge cutoffNot published
Added to catalog13 Nov 2025
GPT-5.1-Codex capabilities
Input typestext, image
Output typestext
Tool callingYes
Structured outputsYes
Reasoning effort controlYes
Content moderationNot applied by provider

Sample outputs

The same prompts are given to every model, and the unedited output is shown with the date it was produced. Upend does not publish leaderboard scores it did not run.

Write a short essay

RUN20 Nov 2026
Prompt

Write 150 words on how AI might positively upend work, leisure and creativity

Output

Artificial intelligence promises to positively upend work, leisure, and creativity by automating repetitive tasks while amplifying uniquely human strengths. In the workplace, AI-driven data interpretation and predictive analytics can expose hidden opportunities, freeing employees to cultivate strategic thinking, interpersonal collaboration, and informed decision-making. When routine chores consume less time, professionals may iterate faster and pursue continual learning, creating agile workplaces infused with curiosity. Leisure also gains depth: personalized recommendations can curate immersive experiences, while AI-managed logistics simplify travel, events, and household planning, letting people focus on meaningful interaction rather than tedious coordination. Creativity receives a generative partner—algorithms capable of suggesting novel harmonies, visual motifs, or narrative arcs based on vast cultural datasets. Working alongside these tools, artists can prototype ideas rapidly, explore cross-genre fusions, and revive archival techniques. Ultimately, AI’s supportive presence enables individuals to allocate their energy toward purpose, bonding, and experimentation, enriching both productivity and personal fulfillment.

Draw with code

RUN20 Nov 2026
Prompt

Generate an SVG of a pelican riding a bicycle.

Output
GPT-5.1-Codex's drawing for the prompt: Generate an SVG of a pelican riding a bicycle.

GPT-5.1-Codex questions

How much does GPT-5.1-Codex cost?

GPT-5.1-Codex costs $1.25 per 1M input tokens and $10.00 per 1M output tokens through OpenRouter, as checked on 22 Nov 2026. Summarising a 50-page PDF costs about $0.039.

What is the context window of GPT-5.1-Codex?

400,000 tokens, or roughly 300,000 English words. It can write up to 128,000 tokens in one response.

Can GPT-5.1-Codex read images and PDFs?

It accepts text and images as input. It produces text, so it cannot generate images.

How do I try GPT-5.1-Codex?

Use the "Try GPT-5.1-Codex" button on this page. It opens the chat with GPT-5.1-Codex selected; you type the question and press send.

Try GPT-5.1-Codex on your own question.

It opens in the chat with this model already selected.

Sign in to Upend

Use an account you already have, or get a one-time code by email.

Use a password instead

For accounts that already have a password. Forgotten it? An emailed code signs you in just the same.