SPB Git

Repository Public

o4-mini.md 3.5 KB 111 lines markdown

1# o4-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> Fast, cost-efficient reasoning model, succeeded by GPT-5 Mini67Model ID: `o4-mini`89o4-mini is our latest small o-series model. It's optimized for fast, 10effective reasoning with exceptionally efficient performance in coding and 11visual tasks. It's succeeded by [GPT-5 Mini](/api/docs/models/gpt-5-mini).1213Learn more about how to use our reasoning models in our 14[reasoning](/api/docs/guides/reasoning?api-mode=responses) guide.1516## Model details1718- Default snapshot: `o4-mini-2025-04-16`19- Input modalities: text, image20- Output modalities: text21- 200,000 context window22- 100,000 max output tokens23- Jun 01, 2024 knowledge cutoff24- Reasoning token support2526## Pricing2728Pricing 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).2930### Text tokens3132| Metric | Price | Unit |33| --- | ---: | --- |34| Input | $1.1 | 1M tokens |35| Cached input | $0.275 | 1M tokens |36| Output | $4.4 | 1M tokens |3738## Endpoints3940| Endpoint | Route | Support |41| --- | --- | --- |42| Live | `v1/live/sessions` | Not supported |43| Chat Completions | `v1/chat/completions` | Supported |44| Responses | `v1/responses` | Supported |45| Realtime | `v1/realtime` | Not supported |46| Realtime translation | `v1/realtime/translations` | Not supported |47| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |48| Assistants | `v1/assistants` | Not supported |49| Batch | `v1/batch` | Supported |50| Fine-tuning | `v1/fine-tuning` | Supported |51| Embeddings | `v1/embeddings` | Not supported |52| Image generation | `v1/images/generations` | Not supported |53| Videos | `v1/videos` | Not supported |54| Image edit | `v1/images/edits` | Not supported |55| Speech generation | `v1/audio/speech` | Not supported |56| Transcription | `v1/audio/transcriptions` | Not supported |57| Translation | `v1/audio/translations` | Not supported |58| Moderation | `v1/moderations` | Not supported |59| Completions (legacy) | `v1/completions` | Not supported |6061## Supported features6263- streaming64- structured_outputs65- function_calling66- file_search67- file_uploads68- image_input69- prompt_caching70- evals71- stored_completions72- fine_tuning7374## Supported tools7576Tools supported by this model when using the Responses API.7778- function_calling79- file_search80- code_interpreter81- mcp82- web_search8384## Quick comparison8586| Model | Input | Cached input | Output |87| --- | ---: | ---: | ---: |88| o4-mini | $1.1 | $0.275 | $4.4 |89| o3 | $2 | $0.5 | $8 |90| o3-mini | $1.1 | $0.55 | $4.4 |9192## Snapshots9394Snapshots 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 o4-mini.9596- `o4-mini-2025-04-16`9798## Rate limits99100Rate 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.101102### default103104| Tier | RPM | TPM | Batch queue limit |105| --- | ---: | ---: | ---: |106| Tier 1 | 1,000 | 100,000 | 1,000,000 |107| Tier 2 | 2,000 | 2,000,000 | 2,000,000 |108| Tier 3 | 5,000 | 4,000,000 | 40,000,000 |109| Tier 4 | 10,000 | 10,000,000 | 1,000,000,000 |110| Tier 5 | 30,000 | 150,000,000 | 15,000,000,000 |111
Files main
Menu

Theme