OpenAI logo

OpenAI: GPT-5.1-Codex-Mini

openai/gpt-5.1-codex-mini

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

Modalities

ImageTextText

In / out price

$0.25 / $2 per 1M

Context

400K

Released

Nov 13, 2025

Why use GPT-5.1-Codex-Mini

  • Understands images
  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs

Pricing

Input$0.25 / 1M tokens
Output$2 / 1M tokens
Cached input (read)$0.030 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
OpenAI: GPT-5.1-Codex-Mini$0.0042$4.20$4.20

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

OpenAI: GPT-5.1-Codex-Mini

400,000 tokens ≈ 602 pages

Fits: uses 30% of the window (room for 3× this much).

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from OpenAI