Repository Public
1# GPT-4.1 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, faster version of GPT-4.167Model ID: `gpt-4.1-mini`89GPT-4.1 Mini excels at instruction following and tool calling. It features a101M token context window, and low latency without a reasoning step.1112Note that we recommend starting with [GPT-5 Mini](/api/docs/models/gpt-5-mini) for13more complex tasks.1415## Model details1617- Default snapshot: `gpt-4.1-mini-2025-04-14`18- Input modalities: text, image19- Output modalities: text20- 1,047,576 context window21- 32,768 max output tokens22- Jun 01, 2024 knowledge cutoff2324## Pricing2526Pricing 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).2728### Text tokens2930| Metric | Price | Unit |31| --- | ---: | --- |32| Input | $0.4 | 1M tokens |33| Cached input | $0.1 | 1M tokens |34| Output | $1.6 | 1M tokens |3536## Endpoints3738| Endpoint | Route | Support |39| --- | --- | --- |40| Live | `v1/live/sessions` | Not supported |41| Chat Completions | `v1/chat/completions` | Supported |42| Responses | `v1/responses` | Supported |43| Realtime | `v1/realtime` | Not supported |44| Realtime translation | `v1/realtime/translations` | Not supported |45| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |46| Assistants | `v1/assistants` | Supported |47| Batch | `v1/batch` | Supported |48| Fine-tuning | `v1/fine-tuning` | Supported |49| Embeddings | `v1/embeddings` | Not supported |50| Image generation | `v1/images/generations` | Not supported |51| Videos | `v1/videos` | Not supported |52| Image edit | `v1/images/edits` | Not supported |53| Speech generation | `v1/audio/speech` | Not supported |54| Transcription | `v1/audio/transcriptions` | Not supported |55| Translation | `v1/audio/translations` | Not supported |56| Moderation | `v1/moderations` | Not supported |57| Completions (legacy) | `v1/completions` | Not supported |5859## Supported features6061- predicted_outputs62- streaming63- function_calling64- fine_tuning65- file_search66- file_uploads67- web_search68- structured_outputs69- image_input7071## Supported tools7273Tools supported by this model when using the Responses API.7475- function_calling76- web_search77- file_search78- code_interpreter79- mcp8081## Quick comparison8283| Model | Input | Cached input | Output |84| --- | ---: | ---: | ---: |85| GPT-4.1 Mini | $0.4 | $0.1 | $1.6 |86| GPT-4o Mini | $0.15 | $0.075 | $0.6 |87| GPT-5 Mini | $0.25 | $0.025 | $2 |8889## Snapshots9091Snapshots 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-4.1 Mini.9293- `gpt-4.1-mini-2025-04-14`9495## Rate limits9697Rate 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.9899### Standard100101| Tier | RPM | RPD | TPM | Batch queue limit |102| --- | ---: | ---: | ---: | ---: |103| Tier 1 | 500 | 10,000 | 200,000 | 2,000,000 |104| Tier 2 | 5,000 | - | 2,000,000 | 20,000,000 |105| Tier 3 | 5,000 | - | 4,000,000 | 40,000,000 |106| Tier 4 | 10,000 | - | 10,000,000 | 1,000,000,000 |107| Tier 5 | 30,000 | - | 150,000,000 | 15,000,000,000 |108109### Long Context110111> 128k input tokens112113| Tier | RPM | TPM | Batch queue limit |114| --- | ---: | ---: | ---: |115| Tier 1 | 200 | 400,000 | 5,000,000 |116| Tier 2 | 500 | 1,000,000 | 40,000,000 |117| Tier 3 | 1,000 | 2,000,000 | 80,000,000 |118| Tier 4 | 2,000 | 10,000,000 | 200,000,000 |119| Tier 5 | 8,000 | 20,000,000 | 2,000,000,000 |120