OpenAICodingReleased 13 November 2025

GPT-5.1-Codex-Mini pricing, context and benchmark

GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex

400K
Input context
128K
Output context
$0.25
Official input
$2
Official output
n/a
AA index

Everything that matters, in one table

Context, pricing, cache, modalities and tooling, from the model registry and Artificial Analysis.

ModelGPT-5.1-Codex-Mini
Model IDopenai/gpt-5.1-codex-mini
ProviderOpenAI
Release date13 November 2025
StatusGenerally available
Input context400,000 tokens
Output context128,000 tokens
Official input pricing$0.25 per 1M tokens
Official output pricing$2 per 1M tokens
Cache read pricing$0.03 per 1M tokens
Market input pricing$0.25 per 1M (cheapest route)
Market output pricing$2 per 1M (cheapest route)
Reasoning tokensBilled as output at $2 per 1M
Input modalitiesimage · text
Output modalitiestext
Reasoning controlYes, effort levels exposed
Tool supportFunctions, tool choice, structured outputs
TokenizerGPT
Provider routes1 endpoint
Artificial Analysis indexNot published
SpeedNot published
Knowledge cutoffNot publicly stated

Input and output support

ModalityInputOutputBilled at
Text✓ yes✓ yes$0.25 in
Image✓ yesno$0.25 in
Audionononot supported
Videonononot supported
File (PDF)nononot supported

What is GPT-5.1-Codex-Mini?

GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex

GPT-5.1-Codex-Mini carries a 400K token window, uses the GPT tokenizer and is served by OpenAI. On Hoodgen it sits in the Coding tier of the model menu next to its siblings, so you can switch mid conversation without losing the thread.

Release and what changed from the previous version

Released13 November 2025
Propertygpt-oss-safeguard-20bGPT-5.1-Codex-MiniChange
Released20252025Same release window
Context131K400KChanged
Max output66K128KChanged
Input price$0.075$0.25Higher
Output price$0.3$2Higher
Input modalitiestextimage, textUnchanged
AA indexn/an/aNewer benchmark run

Features and capabilities

◈
Thinking control
Reasoning effort can be dialled per request, so one model covers deep analysis and fast chat.
⚙
Function calling
Tools, tool choice and parallel calls, which is what agent loops need to act on results.
{ }
Structured outputs
Schema constrained JSON with response_format, so no parse and retry loop in your code.
◉
Vision
Screenshots, charts and photographed documents are read at the text token rate.
⚡
Prompt caching
Cached input costs $0.03 per million instead of $0.25, so stable prefixes get cheaper.
⌁
Seeds
A seed can be pinned so the same prompt is reproducible across test runs.

Thinking and reasoning capabilities

GPT-5.1-Codex-Mini can think before answering and exposes the effort level per request. Reasoning tokens bill as output at $2 per million, and the trace can be returned with include_reasoning.

LevelFirst tokenCost per taskBest for
Measuredn/an/aArtificial Analysis measures the default reasoning configuration
Low effortFasterLowerChat, autocomplete, classification
High effortSlowerHigherDebugging, planning, multi step agents

What can you do with GPT-5.1-Codex-Mini?

Code generation
New modules, tests and migrations from a written spec.
Refactoring
Cross file renames and API migrations with the whole repo in context.
Code review
Diff review with reasons, not just lint output.
Pairing
In editor loops inside the Hoodgen Coding workspace.

Prompt caching and how to cut the bill

Cached input bills at $0.03 per million instead of $0.25. Keep the system prompt and documents first and the changing question last, so every call hits the cache.

GPT-5.1-Codex-Mini pricing

Official pricing

List price
$0.25 / 1M in
$2 / 1M out
  • $0.03 cached input
  • 400K context
  • image, text input
Cheapest route
$0.25 / 1M in
$2 / 1M out
  • 1 route on OpenRouter
  • What Hoodgen routes to first
  • Same model, lower bill

Market pricing, every route

ProviderTierInputOutputCache readUptime 24h
Azurestandard$0.25$2$0.03100.0%

API pricing and cost calculator

RatePer callTotalCredits
Cheapest route$0.0054$2.682546
List price$0.0054$2.682546

API and developer information

Model IDopenai/gpt-5.1-codex-mini
Endpointhttps://openrouter.ai/api/v1/chat/completions
Parametersinclude_reasoning · max_completion_tokens · reasoning · reasoning_effort · response_format · seed · structured_outputs · tool_choice · tools · verbosity
StreamingYes, server sent events
Modality stringtext+image->text
Max prompt tokens400,000
Max completion tokens128,000
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.1-codex-mini",
    "messages": [{ "role": "user", "content": "Summarise this document." }],
    "max_tokens": 1024
  }'

Model limitations

Text only outputIt cannot generate images, audio or video. Pair it with an image model on Hoodgen when you need visuals.
Output cap128,000 tokens per request. Long deliverables have to be chunked.
Benchmarks not publishedArtificial Analysis does not publish an Intelligence Index for this release, so no benchmark score is claimed here.
Knowledge cutoffThe provider does not state a fixed cutoff for every release. Verify very recent events against search.

GPT-5.1-Codex-Mini vs other OpenAI models

ModelContextInput /1MOutput /1MAA indexReleased
GPT-5.1-Codex-Mini400K$0.25$2n/a2025
GPT-5.5 Pro1.05M$30$180n/a2026
GPT-5.4 Pro1.05M$30$180n/a2026
GPT-5.2 Pro400K$21$168n/a2025
o3 Pro200K$20$80n/a2025
GPT-5 Pro400K$15$120n/a2025

Privacy and data policy

  • On Hoodgen, prompts and attachments answer that request and stay in your conversation history so you can reopen it. They are not used to train models.
  • Requests route through OpenRouter to OpenAI and are covered by that provider's API terms.
  • Do not paste secrets or personal data you would not send to any hosted model.

GPT-5.1-Codex-Mini questions, answered

GPT-5.1-Codex-Mini is a coding model from OpenAI, released 13 November 2025. GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex
✦

Start chatting with GPT-5.1-Codex-Mini

Free to try on Hoodgen AI, with a live credit estimate before every send. No API key, no setup.