Logo
Back to all models

GPT-4o 2024-05-13 - In-Depth Overview

OpenAI · GPT-4o

outdated
Flagship

Get all the details on GPT-4o 2024-05-13, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as fine_tuning, function_calling, json_mode, 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()

chat_completion = client.chat.completions.create(
    messages=[
        {
            "role": "user",
            "content": "Say this is a test",
        }
    ],
    model="gpt-4o-2024-05-13",
)

print(chat_completion.choices[0].message.content)

Required Libraries

openai
@openai/openai

Benchmarks

BenchmarkScoreSourceNotes
1285
OpenLLM LeaderboardRank 33 Overall
1206
OpenLLM LeaderboardRank 12 Overall
N/A
Vellum LLM LeaderboardOverall score not provided, see specific task scores
N/A
Vellum LLM LeaderboardScore not available for this model version
13.4
Vellum LLM LeaderboardScore in percentage
56.1
Vellum LLM LeaderboardScore in percentage
31
Vellum LLM LeaderboardScore in percentage
60.3
Vellum LLM LeaderboardScore in percentage
72.08
Vellum LLM LeaderboardScore in percentage
27.1
Vellum LLM LeaderboardScore in percentage
53.95
LiveBench LeaderboardScore in percentage
39.75
LiveBench LeaderboardScore in percentage
69.29
LiveBench LeaderboardScore in percentage
41.48
LiveBench LeaderboardScore in percentage
63.53
LiveBench LeaderboardScore in percentage
44.68
LiveBench LeaderboardScore in percentage
64.94
LiveBench LeaderboardScore in percentage

Notes

A snapshot of the GPT-4o model released on May 13, 2024. Accepts text and image inputs, produces text outputs. Supports various features like function calling, streaming, and fine-tuning.

Capabilities

fine tuning
function calling
json mode
long context
multimodal input
streaming
vision
web browsing via tool

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Exceptional at

general reasoning
instruction following
vision tasks
tool use

Good at

coding
mathematics
data analysis
language tasks

Additional Information

Latest Update

May 13, 2024

Knowledge Cutoff

Oct 1, 2023