All AI models · LLM benchmarks · Methodology

OpenAI

GPT-5.1 Codex mini

Coding-optimized GPT model for repository edits, reviews, and agentic software work

Model facts

Context window
4K tokens
Maximum output
128K tokens
Cheapest paid input
$0.22 per 1M tokens
Cheapest paid output
$1.8 per 1M tokens
Open weights
no
Providers
19

Capabilities and modalities

reasoning, tool calling, structured output, attachments, temperature control, text, image, pdf.

Artificial Analysis benchmarks

Compare this model on the full LLM benchmark leaderboard.

ConfigurationAAICodingMathOutput tokens/s
high31.3not measured91.7not measured

Observed price history

  • 2026-08-24: $0.22 input / $1.8 output per 1M tokens

API providers

  • Poe — model id openai/gpt-5.1-codex-mini; $0.22 input / $1.8 output per 1M tokens; provider documentation
  • Jiekou.AI — model id gpt-5.1-codex-mini; $0.225 input / $1.8 output per 1M tokens; provider documentation
  • AIHubMix — model id gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Azure — model id gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Azure Cognitive Services — model id gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • DevPass (LLM Gateway) — model id gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Eden AI — model id azure/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Helicone (OpenAI) — model id gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Impossibl — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Kilo Gateway — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • LLM Gateway (Azure) — model id azure/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • NanoGPT — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Ofox — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • OpenCode Zen — model id gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • OpenRouter — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • OrcaRouter — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Vercel AI Gateway — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • ZenMux — model id openai/gpt-5.1-codex-mini; $0.25 input / $2 output per 1M tokens; provider documentation
  • Arena — model id gpt-5.1-codex-mini; not published input / not published output per 1M tokens; provider documentation