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 bei

OpenAI · more OpenAI models · all models

Pricing and specs

Model IDroutexor/gpt-4o-2024-05-13
ProviderOpenAI
Input, per 1M tokens$5
Output, per 1M tokens$15
Price sourceReference price from OpenRouter's listing, not the provider's own page. A direct call on your key can cost a different amount.
Context window128K tokens
Max output4K tokens
CapabilitiesStreaming, Tools, Vision, JSON

Your provider bills these tokens on your account. A listing is not a promise that your key has access to this model.

Call it

curl https://api.routexor.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEXOR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"routexor/gpt-4o-2024-05-13","messages":[{"role":"user","content":"Say hello briefly."}],"max_tokens":64}'

Add your OpenAI key in the dashboard first. This call is billed by OpenAI. See the docs for which request paths are supported.