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

FeatureGPT-4oGPT-4o-miniO1-previewO1-mini
DescriptionLatest GPT-4 modelLightweight GPT-4 variantMost capable modelEfficient model balancing performance and speed
Current versiongpt-4o-2024-08-06gpt-4o-mini-2024-07-18o1-preview-2024-09-12o1-mini-2024-09-12
Best forComplex reasoning and creative tasksEfficient general-purpose tasksAdvanced reasoning and analysisBalance of performance and speed
Vision capabilityYesYes (see note below)NoNo
Tool callsYesYesNoNo
Context window128,000 tokens128,000 tokens128,000 tokens128,000 tokens
Max output16,384 tokens16,384 tokens32,768 tokens65,536 tokens
Knowledge cutoffOct 2023Oct 2023Oct 2023Oct 2023
API model keygpt-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 version
  • gpt-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