Repository Public
1# GPT-5.123> 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> The best model for coding and agentic tasks with configurable reasoning effort67Model ID: `gpt-5.1`89GPT-5.1 is our flagship model for coding and agentic tasks with configurable reasoning and non-reasoning effort.10Learn more in our [GPT-5.1 model guidance](/api/docs/guides/latest-model?model=gpt-5.1). Reasoning.effort supports: none (default), low, medium, and high.1112## Model details1314- Default snapshot: `gpt-5.1-2025-11-13`15- Input modalities: text, image16- Output modalities: text17- 400,000 context window18- 128,000 max output tokens19- Sep 30, 2024 knowledge cutoff20- Reasoning token support2122## Pricing2324Pricing 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).2526### Text tokens2728| Metric | Price | Unit |29| --- | ---: | --- |30| Input | $1.25 | 1M tokens |31| Cached input | $0.125 | 1M tokens |32| Output | $10 | 1M tokens |3334## Endpoints3536| Endpoint | Route | Support |37| --- | --- | --- |38| Live | `v1/live/sessions` | Not supported |39| Chat Completions | `v1/chat/completions` | Supported |40| Responses | `v1/responses` | Supported |41| Realtime | `v1/realtime` | Not supported |42| Realtime translation | `v1/realtime/translations` | Not supported |43| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |44| Assistants | `v1/assistants` | Not supported |45| Batch | `v1/batch` | Supported |46| Fine-tuning | `v1/fine-tuning` | Not supported |47| Embeddings | `v1/embeddings` | Not supported |48| Image generation | `v1/images/generations` | Not supported |49| Videos | `v1/videos` | Not supported |50| Image edit | `v1/images/edits` | Not supported |51| Speech generation | `v1/audio/speech` | Not supported |52| Transcription | `v1/audio/transcriptions` | Not supported |53| Translation | `v1/audio/translations` | Not supported |54| Moderation | `v1/moderations` | Not supported |55| Completions (legacy) | `v1/completions` | Not supported |5657## Supported features5859- streaming60- structured_outputs61- function_calling62- file_search63- file_uploads64- image_input65- web_search66- prompt_caching6768## Supported tools6970Tools supported by this model when using the Responses API.7172- function_calling73- web_search74- file_search75- image_generation76- code_interpreter77- apply_patch78- mcp7980## Quick comparison8182| Model | Input | Cached input | Output |83| --- | ---: | ---: | ---: |84| GPT-5.1 | $1.25 | $0.125 | $10 |85| GPT-5 | $1.25 | $0.125 | $10 |86| GPT-5 Mini | $0.25 | $0.025 | $2 |8788## Snapshots8990Snapshots 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.9192- `gpt-5.1-2025-11-13`9394## Rate limits9596Rate 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.9798### default99100| Tier | RPM | TPM | Batch queue limit |101| --- | ---: | ---: | ---: |102| Tier 1 | 500 | 500,000 | 1,500,000 |103| Tier 2 | 5,000 | 1,000,000 | 3,000,000 |104| Tier 3 | 5,000 | 2,000,000 | 100,000,000 |105| Tier 4 | 10,000 | 4,000,000 | 200,000,000 |106| Tier 5 | 15,000 | 40,000,000 | 15,000,000,000 |107