GPT-4o (2024-05-13)

OpenAI chattool_usevision

API ID: openai/gpt-4o-2024-05-13

Input Price
$5.00
/1M tokens
Output Price
$15.00
/1M tokens

About GPT-4o (2024-05-13)

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as fast and 50% more cost-effective. GPT-4o also offers improved performance in processing non-English languages and enhanced visual capabilities. For benchmarking against other models, it was briefly called ["im-also-a-good-gpt2-chatbot"](https://twitter.com/LiamFedus/status/1790064963966370209) #multimodal

๐Ÿ’ฐ
Price Ranking
#1189 lowest price among 1240 Chat models

Model Specifications

Context Length
128k
Max Output
4k
Release Date
2024-05-13
Capabilities
chat tool_use vision
Input Modalities
textimagefile
Output Modalities
text

Best For

  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$6.75
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$210.00
/month
1000 tickets/day, ~800 tokens each

OpenAI Model Lineup

Compare all models from OpenAI to find the best fit

Model Input Output Context Capabilities
GPT-4o (2024-05-13) Current Free Free 128k chat tool_use vision
GPT-3.5 Turbo 16k (older v1106) Free Free 16k chat
GPT-3.5 Turbo 16k (older v1106) Free Free 16k chat
GPT-4 32k Free Free 33k chat
GPT-4 32k Free Free 33k chat
GPT-4 32k (older v0314) Free Free 33k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

xAI Grok 3
xAI
Input: $3.00
Output: $15.00
Context: 131k
xAI Grok 3 Beta
xAI
Input: $3.00
Output: $15.00
Context: 131k
Perplexity Sonar Pro
Input: $3.00
Output: $15.00
Context: 200k
Perplexity Sonar Pro Search
Input: $3.00
Output: $15.00
Context: 200k

๐Ÿš€ Quick Start

Get started with GPT-4o (2024-05-13) API

OpenAI Python SDK
from openai import OpenAI
client = OpenAI()

response = client.chat.completions.create(
    model="openai/gpt-4o-2024-05-13",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)