FRENES

OpenAI · language model

GPT-5.1-Codex: pricing, context and benchmarks

GPT-5.1-Codex is OpenAI's model released on November 13, 2025. It costs $1.25 per million input tokens and $10 per million output tokens, with a 400K-token context window. No independent score has been published for it so far.

High costReasoningTool calling

What you need to know about GPT-5.1-Codex

OpenAI, based in United States, put GPT-5.1-Codex online on November 13, 2025. It accepts text and images as input and produces text. Its context window reaches 400,000 tokens, larger than 64 % of the models in the registry, and it can write up to 128,000 tokens in one go.

It has been available for about 11 months, long enough for its prices and scores to have settled.

GPT-5.1-Codex pricing

On OpenRouter, GPT-5.1-Codex costs $1.25 per million input tokens and $10 per million output tokens. Counting three tokens read for every token written, its average price is $3.438 per million, more expensive than 80 % of paid models (4.5 times the median of $0.76).

A concrete example: a task that sends 2,000 tokens (about 1,500 words) and receives a 500-token answer costs $0.0075. At 1,000 tasks a day, budget $225 a month. The price calculator redoes this with your own volumes.

Tokens already sent and cached are billed at $0.13 per million.

Performance and benchmarks

Epoch AI does not yet publish a capabilities index for GPT-5.1-Codex. We therefore show no made-up performance rating: only price, context and features count towards its score.

Scores published by Epoch AI on the benchmarks the site tracks:

Source: Epoch AI, Benchmarking Hub (CC BY 4.0).
BenchmarkWhat it measuresScoreDate
Terminal-Benchreal tasks in a terminal57.8 %Nov 12, 2025

Features, privacy and local use

  • It supports tool calling, so it can drive an AI agent, call APIs or MCP servers.
  • It can answer in an enforced JSON format (structured outputs).
  • It is a reasoning model: it "thinks" before answering, which helps on hard tasks but uses more output tokens.

Its weights are not published: it can only be used through the OpenAI API or a broker such as OpenRouter, which means sending your data off your machines.

Other OpenAI models

Average price per million tokens (3 input for 1 output).
ModelReleasedAvg. priceECI
GPT-6.1 SolSep 29, 2026$4168.4
GPT-6.1 Sol ProSep 29, 2026$4—
GPT-6 SolSep 22, 2026$4163.7
GPT-6 LunaSep 22, 2026$0.2156.8
GPT-6 Luna ProSep 22, 2026$0.2—
GPT-6 Sol ProSep 22, 2026$4—
GPT-6 AstraSep 4, 2026$20168.8
GPT-6 Astra ProSep 4, 2026$20—

Verdict

Computed score: 45/100, from public data (performance, price, context, features).

Strengths

  • Agent-ready: tool calling and structured JSON output.

Limitations

  • Expensive: costlier than 80 % of paid models.
  • No independent score published: performance cannot be verified.

Avoid if…

  • you process large volumes on a tight budget;
  • your data must not leave your servers;
  • your tasks are mostly simple: a non-reasoning model will cost less.

Frequently asked questions

How much does GPT-5.1-Codex cost?

$1.25 per million input tokens and $10 per million output tokens on OpenRouter (checked October 25, 2026). A task with 2,000 tokens read and 500 written costs $0.0075.

How big is GPT-5.1-Codex's context window?

400,000 tokens, roughly 300,000 words, with a maximum of 128,000 output tokens.

Can GPT-5.1-Codex run locally?

No, OpenAI does not publish its weights: it is API-only.

Is GPT-5.1-Codex suitable for an AI agent?

Technically yes: it supports tool calling and structured outputs. Then check its cost for your volume.

What are the alternatives to GPT-5.1-Codex?

The closest models on price and performance are Grok 4.6, Grok 4.7, and Grok 4.5.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score