ModelInfo
English
All models

GPT-5.1-Codex Mini

Smaller, more cost-effective, less-capable version of GPT-5.1-Codex

OpenAIgpt-5.1-codex-miniReport incorrect data

Specs

Context
400K
Max output
128K
Input price
$0.25/ 1M tokens
Output price
$2/ 1M tokens
Released
—

Context

Context window
400K
Max input
—
Max output
128K

Pricing · USD / 1M tokens

Input
$0.25
Output
$2
Cache read
$0.025
Cache write
—

Modalities

Input
TextImage
Output
Text

API

API types
responses

Reasoning

Reasoning
Yes
Levels
—

Info

Status
Retired
Released
—
Knowledge cutoff
2024-09-30

Features

Confirmed
toolsstructured_outputstreamingcaching
Source · official docsVerified 2026-10-11

How to call

1 provider

openaimodel = gpt-5.1-codex-mini

responses
POSThttps://api.openai.com/v1/responses

JSON

Standard format
gpt-5.1-codex-mini.json
{
  "id": "gpt-5.1-codex-mini",
  "object": "model",
  "created": null,
  "owned_by": "openai",
  "name": "GPT-5.1-Codex Mini",
  "api": {
    "types": [
      "responses"
    ]
  },
  "limits": {
    "context": 400000,
    "input": null,
    "output": 128000
  },
  "modalities": {
    "input": [
      "text",
      "image"
    ],
    "output": [
      "text"
    ]
  },
  "reasoning": {
    "supported": true,
    "efforts": []
  },
  "pricing": {
    "currency": "USD",
    "unit": "1M_tokens",
    "input": 0.25,
    "output": 2,
    "cache_read": 0.025,
    "cache_write": null
  },
  "features": [
    "tools",
    "structured_output",
    "streaming",
    "caching"
  ],
  "info": {
    "status": "retired",
    "release_date": null,
    "knowledge_cutoff": "2024-09-30",
    "description": "Smaller, more cost-effective, less-capable version of GPT-5.1-Codex",
    "docs": "https://developers.openai.com/api/docs/models/gpt-5.1-codex-mini",
    "verified_at": "2026-10-11"
  }
}

Official sources

2