Logo
Back to all models

GPT-4o - In-Depth Overview

OpenAI · GPT-4

Current
Flagship

Get all the details on GPT-4o, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as distillation, fine_tuning, function_calling, available API code samples, and performance strengths.

Key Metrics

Input Limit

128K tokens

Output Limit

16.4K tokens

Input Cost

$2.50/1M

Output Cost

$10.00/1M

Sample API Code

from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
  model="gpt-4o",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
  ]
)
print(response.choices[0].message.content)

Required Libraries

openai
openai

Benchmarks

BenchmarkScoreSourceNotes
1265
lmarena.aiScore for gpt-4o-2024-08-06, the default alias for gpt-4o
1126
lmarena.aiScore for gpt-4o-2024-08-06, the default alias for gpt-4o
53.95
LiveBenchScore for 'GPT-4o'
39.75
LiveBenchScore for 'GPT-4o'
69.29
LiveBenchScore for 'GPT-4o'
41.48
LiveBenchScore for 'GPT-4o'
63.53
LiveBenchScore for 'GPT-4o'
44.68
LiveBenchScore for 'GPT-4o'
64.94
LiveBenchScore for 'GPT-4o'
72.08
VellumScore for 'GPT-4o'
13.4
VellumScore for 'GPT-4o'
56.1
VellumScore for 'GPT-4o'
31
VellumScore for 'GPT-4o'
60.3
VellumScore for 'GPT-4o'

Notes

GPT-4o (“o” for “omni”) is OpenAI's versatile, high-intelligence flagship model. It accepts both text and image inputs, and produces text outputs (including Structured Outputs). It is the best model for most tasks, and is OpenAI's most capable model outside of their o-series models.

Capabilities

distillation
fine tuning
function calling
multimodal input
predicted outputs
streaming
structured outputs
web browsing via tool

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Exceptional at

general versatility
high intelligence
multimodal understanding
tool use

Good at

coding
instruction following
structured outputs
function calling
vision tasks

Poor at

reasoning
mathematics
language

Additional Information

Latest Update

Nov 20, 2024

Knowledge Cutoff

Oct 1, 2023