GPT-5.1 Codex MiniFreeMiễn phí

openai/gpt-5.1-codex-mini

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.

Upstream Providers
ZDR only
openai
In$0.25Out$2.00
No ZDRToolsVisionReasoning
opencode-zen-byok
In$0.25Out$2.00
No ZDRToolsVisionReasoning
API Details
Uptime & Health
No uptime data yet

These providers haven't been health-probed for this model yet. The router still routes around upstreams that fail live requests — uptime fills in once probe history accrues.

Code samples
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."}
    ]
  }'
No API key yetSet ANYROUTER_API_KEY Dashboard → Keys
Request example
{
  "model": "openai/gpt-5.1-codex-mini",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}

Change sort, ZDR, effort, or pin a provider to add routing params.