Skip to main content

GPT-5.1-Codex-Mini

Approved Data Classifications

Description

GPT‑5.1 Codex Mini is a smaller, faster, and more cost‑effective variant of the GPT‑5.1 Codex model designed by OpenAI for coding assistance and development workflows. It maintains support for large context windows (up to ~400 k tokens) and strong code generation capabilities while reducing compute and cost relative to the full GPT‑5.1 Codex, making it well‑suited for quick iterations, simpler coding tasks, and environments where efficiency matters. Despite being less capable than the full Codex version, it still offers robust coding support with lower token costs and quicker responses, ideal for where speed and economy are more important than maximum capability.

Capabilities

ModelTraining DataInputOutputContext LengthCost (per 1 million tokens)
gpt-5.1-codex-miniSeptember 2024Image, Text, Audio, VideoText400,000$0.25/1M input
$2.00/1M output
info
  • 1M represents 1 Million Tokens
  • All prices listed are based on 1 Million Tokens

Availability

Cloud Provider

Usage

curl -X POST https://api.ai.it.ufl.edu/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{
"model": "gpt-5.1-codex-mini",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
}'

References

  1. OpenAI https://openai.com/
  2. LLM Stats https://llm-stats.com
  3. Artificial Analysis https://artificialanalysis.ai