Skip to content

GPT-5.1 Codex Mini

Tools
openai/gpt-5.1-codex-mini

400K context · Nov 2025 · 5 upstreams

GPT-5.1 Codex Mini is a smaller, more cost-effective version of GPT-5.1 Codex, tuned for agentic coding workloads where efficiency matters more than peak capability. It supports a 400,000-token input context with 128,000 output tokens, text and image inputs, and exposes streaming, function calling, and structured outputs with reasoning-token support.

Bring your own keyAnyRouter has no platform route for GPT-5.1 Codex Mini. Requests use your key and bill your provider account. AnyRouter adds no fee.
context
400K
input / 1M (list)
$0.25
output / 1M (list)
$2.00
routes
5
speed, 24h
—

Upstreams

5
  1. 1OpenAIYour key · not addedyour planTPS —TTFT ——
  2. 2OpenCode ZenYour key · not addedyour planTPS —TTFT ——
  3. 3Vercel AI GatewayYour key · not addedyour planTPS —TTFT ——
  4. 4OpenRouterYour key · not addedyour planTPS —TTFT ——
  5. 5Nous ResearchYour key · not addedyour planTPS —TTFT ——
  • Up
  • No traffic
  • Down

Try it

Send a prompt

Details

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

Quick start

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."
    }
  ]
}'