Chat
OpenAI models
OpenAI models are a series of powerful language models developed by OpenAI.
Using the API
Use Chat completion API to call OpenAI models. See the pricing page for pricing details.
OpenAI models comparison
Feature | GPT-4o | GPT-4o-mini | O1-preview | O1-mini |
---|---|---|---|---|
Description | Latest GPT-4 model | Lightweight GPT-4 variant | Most capable model | Efficient model balancing performance and speed |
Current version | gpt-4o-2024-08-06 | gpt-4o-mini-2024-07-18 | o1-preview-2024-09-12 | o1-mini-2024-09-12 |
Best for | Complex reasoning and creative tasks | Efficient general-purpose tasks | Advanced reasoning and analysis | Balance of performance and speed |
Vision capability | Yes | Yes (see note below) | No | No |
Tool calls | Yes | Yes | No | No |
Context window | 128,000 tokens | 128,000 tokens | 128,000 tokens | 128,000 tokens |
Max output | 16,384 tokens | 16,384 tokens | 32,768 tokens | 65,536 tokens |
Knowledge cutoff | Oct 2023 | Oct 2023 | Oct 2023 | Oct 2023 |
API model key | gpt-4o gpt-4o-2024-08-06 gpt-4o-2024-11-20 | gpt-4o-mini gpt-4o-mini-2024-07-18 | o1-preview o1-preview-2024-09-12 | o1-mini o1-mini-2024-09-12 |
Important notes
Vision capability
- Both GPT-4o and GPT-4o-mini support vision capabilities, allowing them to process and analyze images
- ⚠️ Known issue with GPT-4o-mini: There are tokenization issues when processing images with GPT-4o-mini that may result in unexpectedly high input token counts. For vision tasks at this price point, we recommend using Claude 3 Haiku instead.
O1 series models
- O1 series models (o1-preview and o1-mini) include reasoning steps in their responses
- This means they may generate more detailed explanations and therefore consume more output tokens than other models
- Consider this when planning your token budget
Model versions and aliases
GPT-4o
gpt-4o
- Points to the current recommended version (currently gpt-4o-2024-08-06)gpt-4o-2024-11-20
- Specific versiongpt-4o-2024-08-06
- Specific version
GPT-4o-mini
gpt-4o-mini
- Points to the current recommended version (currently gpt-4o-mini-2024-07-18)gpt-4o-mini-2024-07-18
- Specific version
O1-preview
o1-preview
- Points to the current recommended version (currently o1-preview-2024-09-12)o1-preview-2024-09-12
- Specific version
O1-mini
o1-mini
- Points to the current recommended version (currently o1-mini-2024-09-12)o1-mini-2024-09-12
- Specific version
Official documentation
- Vision Guide - Learn more about using vision capabilities
- Reasoning Guide - Detailed information about O1 series models’ reasoning capabilities