GPT-4o

OpenAIopenai/gpt-4o
Modality

Chat

Family

GPT

Context window

—

Max output

—

Served On

OpenAI API

GPT-4o is a chat model made by OpenAI, served on nRouter.

Model pricing

Exact provider list price · 0% platform fee · x-nr-request-cost header

Rates are read live

Pricing for openai/gpt-4o is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.

Start building with openai/gpt-4o

One API key, three steps. Choose your tool to begin.

  1. Set your API key

    export NROUTER_API_KEY="<YOUR_API_KEY>"
  2. Configure Claude Code

    Choose a tool, then copy its setup from the panel.

npm install -g @anthropic-ai/claude-code
Claude Code · openai/gpt-4o
# Point Claude Code to nRouter gateway
export ANTHROPIC_BASE_URL="https://api.nrouter.ai"
export ANTHROPIC_API_KEY="$NROUTER_API_KEY"

# Launch with openai/gpt-4o
claude --model openai/gpt-4o

Specifications & capabilities

VisionFunction callingStreamingJSON modeSystem prompt
Compare context window against peer models (—)

Context window, ranked against other chat models

Proportional scale: 0 to 400K tokens. Not ranked, no published context window: alibaba/qwen-mt-flash, alibaba/qwen3.7-flash.

Benchmarks & performance rankings

Published LLM Arena category placements and Elo ratings for GPT-4o.

LLM Arena category ratings
Overall#257

1300Elo

Coding#269

1297Elo

Math#254

1285Elo

Creative Writing#237

1291Elo

Hard Prompts#268

1281Elo

Instruction Following#258

1278Elo

Multi-Turn#253

1302Elo

Longer Query#268

1288Elo

Non-English#254

1283Elo

Vision#125

1137Elo

Source: huggingface.co · CC-BY-4.0

Provider-Reported Capabilities

What the hosting provider reports for this model, shown as it was returned. nRouter adds nothing to this report and infers nothing that is missing from it.

Area area

US

Agents V2 agentsV2

true

Fine Tune fineTune

true

Responses responses

true

Assistants assistants

true

Chat Completion chatCompletion

true

Global Fine Tune globalFineTune

true

Max Output Token maxOutputToken

16384

Dev Tier Fine Tune devTierFineTune

true

Max Context Token maxContextToken

128000

Supports vision supports_vision
Datazone Fine Tune datazoneFineTune

true

JSON Schema Response jsonSchemaResponse

true

Supports JSON mode supports_json_mode
Supports responses supports_responses
Supports streaming supports_streaming
Fine Tune Tokens Max Value FineTuneTokensMaxValue

2000000000

Supports function calling supports_function_calling
Fine Tune Tokens Max Value Per Example FineTuneTokensMaxValuePerExample

131072

Allow Provisioned Managed Commitment allowProvisionedManagedCommitment

true

Availability

Collecting probe samples

Not enough health probe samples collected yet to publish an uptime or latency figure.

More from OpenAI

FAQs

What is GPT-4o?

GPT-4o is a chat model made by OpenAI, served on nRouter.

How much does GPT-4o cost?

GPT-4o is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.

Does GPT-4o support tool calling and structured outputs?

No. GPT-4o does not support tool calling, so it cannot invoke external tools or functions. It does support structured JSON outputs.

What inputs and outputs does GPT-4o support?

GPT-4o takes text as input and returns text as output.

How do I use GPT-4o via nRouter?

Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "openai/gpt-4o". The quick-start panel above has a copy-paste curl command for this model.

Where is the GPT-4o documentation?

Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.

What other text models does OpenAI have?

Other OpenAI text models on nRouter include Text Embedding 3 Large (nrouter.ai/models/openai-text-embedding-3-large), GPT-6 Sol (nrouter.ai/models/openai-gpt-6-sol), GPT-6 Astra (nrouter.ai/models/openai-gpt-6-astra), GPT-5.6 Luna (nrouter.ai/models/openai-gpt-5.6-luna).