Skip to content

GPT-5.1 Codex Mini

Tools
openai/gpt-5.1-codex-mini

Vision · 400K context · Nov 2025 · 14 upstreams

GPT-5.1 Codex Mini is OpenAI's smaller version of GPT-5.1 Codex for agentic coding where efficiency matters more than peak capability. It has a 400,000-token input context and 128,000 output tokens, with text and image input. It supports function calling and reasoning tokens.

Needs your own keyTo use GPT-5.1 Codex Mini, add a key from OpenCode Zen, Vercel AI Gateway, OpenRouter or 11 more. AnyRouter adds no fee.
context
400K
input / 1M (list)
$0.25
output / 1M (list)
$2.00
routes
14
speed, 24h
No data yet

Upstreams

14
  1. 1OpenCode ZenYour keynot addedBilled to your key
  2. 2Vercel AI GatewayYour keynot addedBilled to your key
  3. 3OpenRouterYour keynot addedBilled to your key
  4. 4Nous ResearchYour keynot addedBilled to your key
  5. 5InfronYour keynot addedBilled to your key
  6. 6LLM GatewayYour keynot addedBilled to your key
  7. 7AI/ML APIYour keynot addedBilled to your key
  8. 8AIHubMixYour keynot addedBilled to your key
  9. 9OcarRouterYour keynot addedBilled to your key
  10. 10ZenMuxYour keynot addedBilled to your key
  11. 11NanoGPTYour keynot addedBilled to your key
  12. 12FluenceYour keynot addedBilled to your key
  13. 13HeliconeYour keynot addedBilled to your key
  14. 14Jiekou.AIYour keynot addedBilled to your key

Benchmarks

GPQA Diamond
81.3%
LiveCodeBench
83.6%
AIME
91.7%
HLE
16.9%

Quick start

curl
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-5.1-codex-mini",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
OpenAI
Kind
Vision
Released
Nov 2025
Context
400K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions