Repository Public
1# GPT-5.1-Codex Mini23> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.45> Smaller, more cost-effective, less-capable version of GPT-5.1-Codex67Model ID: `gpt-5.1-codex-mini`89GPT-5.1-Codex Mini is a smaller, more cost-effective, less-capable version of GPT-5.1-Codex.1011## Model details1213- Default snapshot: `gpt-5.1-codex-mini`14- Input modalities: text, image15- Output modalities: text16- 400,000 context window17- 128,000 max output tokens18- Sep 30, 2024 knowledge cutoff19- Reasoning token support2021## Pricing2223Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the [pricing page](/api/docs/pricing).2425### Text tokens2627| Metric | Price | Unit |28| --- | ---: | --- |29| Input | $0.25 | 1M tokens |30| Cached input | $0.025 | 1M tokens |31| Output | $2 | 1M tokens |3233## Endpoints3435| Endpoint | Route | Support |36| --- | --- | --- |37| Live | `v1/live/sessions` | Not supported |38| Chat Completions | `v1/chat/completions` | Not supported |39| Responses | `v1/responses` | Supported |40| Realtime | `v1/realtime` | Not supported |41| Realtime translation | `v1/realtime/translations` | Not supported |42| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |43| Assistants | `v1/assistants` | Not supported |44| Batch | `v1/batch` | Not supported |45| Fine-tuning | `v1/fine-tuning` | Not supported |46| Embeddings | `v1/embeddings` | Not supported |47| Image generation | `v1/images/generations` | Not supported |48| Videos | `v1/videos` | Not supported |49| Image edit | `v1/images/edits` | Not supported |50| Speech generation | `v1/audio/speech` | Not supported |51| Transcription | `v1/audio/transcriptions` | Not supported |52| Translation | `v1/audio/translations` | Not supported |53| Moderation | `v1/moderations` | Not supported |54| Completions (legacy) | `v1/completions` | Not supported |5556## Supported features5758- streaming59- structured_outputs60- function_calling61- image_input62- prompt_caching63- evals64- stored_completions6566## Supported tools6768Tools supported by this model when using the Responses API.6970- function_calling71- web_search7273## Quick comparison7475| Model | Input | Cached input | Output |76| --- | ---: | ---: | ---: |77| GPT-5.1-Codex Mini | $0.25 | $0.025 | $2 |78| GPT-5-Codex | $1.25 | $0.125 | $10 |79| GPT-5.1-Codex Mini | $0.25 | $0.025 | $2 |8081## Snapshots8283Snapshots let you lock in a specific version of the model so that performance and behavior remain consistent. Below is a list of all available snapshots and aliases for GPT-5.1-Codex Mini.8485- `gpt-5.1-codex-mini`8687## Rate limits8889Rate limits ensure fair and reliable access to the API by placing specific caps on requests, tokens, audio duration, or other usage within a given time period. Your usage tier determines how high these limits are set and automatically increases as you send more requests and spend more on the API.9091### default9293| Tier | RPM | TPM | Batch queue limit |94| --- | ---: | ---: | ---: |95| Tier 1 | 500 | 500,000 | 5,000,000 |96| Tier 2 | 5,000 | 2,000,000 | 20,000,000 |97| Tier 3 | 5,000 | 4,000,000 | 40,000,000 |98| Tier 4 | 10,000 | 10,000,000 | 1,000,000,000 |99| Tier 5 | 30,000 | 180,000,000 | 15,000,000,000 |100