SPB Git

Repository Public

gpt-4o-mini.md 3.6 KB 107 lines markdown

1# GPT-4o 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, affordable small model for focused tasks67Model ID: `gpt-4o-mini`89GPT-4o Mini (“o” for “omni”) is a fast, affordable small model for focused tasks.10It accepts both text and image inputs, and produces text outputs (including Structured Outputs). 11It is ideal for fine-tuning, and model outputs from a larger model like GPT-4o can be distilled to GPT-4o-Mini to produce similar results at lower cost and latency.1213## Model details1415- Default snapshot: `gpt-4o-mini-2024-07-18`16- Input modalities: text, image17- Output modalities: text18- 128,000 context window19- 16,384 max output tokens20- Oct 01, 2023 knowledge cutoff2122## 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 | $0.15 | 1M tokens |31| Cached input | $0.075 | 1M tokens |32| Output | $0.6 | 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` | Supported |45| Batch | `v1/batch` | Supported |46| Fine-tuning | `v1/fine-tuning` | 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- predicted_outputs60- streaming61- function_calling62- fine_tuning63- file_search64- file_uploads65- web_search66- structured_outputs67- image_input6869## 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-4o Mini | $0.15 | $0.075 | $0.6 |85| GPT-4o | $2.5 | $1.25 | $10 |86| o3-mini | $1.1 | $0.55 | $4.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-4o Mini.9192- `gpt-4o-mini-2024-07-18`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 | RPD | TPM | Batch queue limit |101| --- | ---: | ---: | ---: | ---: |102| Tier 1 | 500 | 10,000 | 200,000 | 2,000,000 |103| Tier 2 | 5,000 | - | 2,000,000 | 20,000,000 |104| Tier 3 | 5,000 | - | 4,000,000 | 40,000,000 |105| Tier 4 | 10,000 | - | 10,000,000 | 1,000,000,000 |106| Tier 5 | 30,000 | - | 150,000,000 | 15,000,000,000 |107
Files main
Menu

Theme