GPT-5.1-Codex-Mini

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

ChatOpenAI400k tokens$0.2725 / $2.1801 · 1M

openai/gpt-5.1-codex-mini

Context
400k tokens
Completion cap
128,000
Tools
Yes
JSON
Yes
Released
2025-11-13

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.1-codex-mini",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GPT-5.1-Codex-Mini?
GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex GPT-5.1-Codex-Mini runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-5.1-codex-mini.
Is GPT-5.1-Codex-Mini free?
No. Input is $0.2725 per 1M tokens and output is $2.1801 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-5.1-Codex-Mini?
GPT-5.1-Codex-Mini has a 400k tokens context window. It supports up to 128,000 completion tokens.
Does GPT-5.1-Codex-Mini support tool calling and structured outputs?
GPT-5.1-Codex-Mini accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GPT-5.1-Codex-Mini released?
GPT-5.1-Codex-Mini was released on 2025-11-13.

More models from OpenAI