SPB Git

Repository Public

gpt-5.md 3.6 KB 107 lines markdown

1# GPT-523> 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> Previous intelligent reasoning model for coding and agentic tasks with configurable reasoning effort67Model ID: `gpt-5`89GPT-5 is our previous model for coding, reasoning, and agentic tasks across domains.10We recommend using the latest [GPT-6 Astra](/api/docs/models/gpt-6-astra). Learn more on the [Model guidance](/api/docs/guides/latest-model) page. Reasoning.effort supports: minimal, low, medium, and high.1112## Model details1314- Default snapshot: `gpt-5-2025-08-07`15- Input modalities: text, image16- Output modalities: text17- 400,000 context window18- Maximum input tokens: 272,00019- 128,000 max output tokens20- Sep 30, 2024 knowledge cutoff21- Reasoning token support2223## Pricing2425Pricing 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).2627### Text tokens2829| Metric | Price | Unit |30| --- | ---: | --- |31| Input | $1.25 | 1M tokens |32| Cached input | $0.125 | 1M tokens |33| Output | $10 | 1M tokens |3435## Endpoints3637| Endpoint | Route | Support |38| --- | --- | --- |39| Live | `v1/live/sessions` | Not supported |40| Chat Completions | `v1/chat/completions` | Supported |41| Responses | `v1/responses` | Supported |42| Realtime | `v1/realtime` | Not supported |43| Realtime translation | `v1/realtime/translations` | Not supported |44| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |45| Assistants | `v1/assistants` | Not supported |46| Batch | `v1/batch` | Supported |47| Fine-tuning | `v1/fine-tuning` | Not supported |48| Embeddings | `v1/embeddings` | Not supported |49| Image generation | `v1/images/generations` | Not supported |50| Videos | `v1/videos` | Not supported |51| Image edit | `v1/images/edits` | Not supported |52| Speech generation | `v1/audio/speech` | Not supported |53| Transcription | `v1/audio/transcriptions` | Not supported |54| Translation | `v1/audio/translations` | Not supported |55| Moderation | `v1/moderations` | Not supported |56| Completions (legacy) | `v1/completions` | Not supported |5758## Supported features5960- streaming61- structured_outputs62- function_calling63- file_search64- file_uploads65- image_input66- web_search67- prompt_caching6869## Supported tools7071Tools supported by this model when using the Responses API.7273- function_calling74- web_search75- file_search76- image_generation77- code_interpreter78- mcp7980## Quick comparison8182| Model | Input | Cached input | Output |83| --- | ---: | ---: | ---: |84| GPT-5 | $1.25 | $0.125 | $10 |85| GPT-5 Mini | $0.25 | $0.025 | $2 |86| GPT-5 nano | $0.05 | $0.005 | $0.4 |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.9192- `gpt-5-2025-08-07`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
Files main
Menu

Theme