Skip to content
ModelsRankingsChatDocsPricing
op

OpenAI: GPT-4o (2024-05-13)

openai/gpt-4o-2024-05-13

AvailableOpenAItext inimage infile intext out

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...

Context

128K

tokens in

Max output

4.1K

tokens out

Price

$5.00 / $15.00

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o-2024-05-13",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="openai/gpt-4o-2024-05-13",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

frequency_penaltylogit_biaslogprobsmax_completion_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_options

More from OpenAI