GPT-5.2

OpenAIopenai/gpt-5.2
Modality

Chat

Family

GPT

Context window

400K tokens

Max output

128K tokens

Served On

OpenAI API

GPT-5.2 is a chat model made by OpenAI, served on nRouter. It has a 400K-token context window.

Model pricing

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

Rates are read live

Pricing for openai/gpt-5.2 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-5.2

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-5.2
# 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-5.2
claude --model openai/gpt-5.2

Specifications & capabilities

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

Context window, ranked against other chat models

Proportional scale: 0 to 400K tokens. Not ranked, no published context window: meta/llama-4-maverick-17b-128e-instruct-fp8.

Benchmarks & performance rankings

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

LLM Arena category ratings
Overall#144

1412Elo

Coding#146

1432Elo

WebDev#102

1419Elo

Math#132

1418Elo

Creative Writing#146

1375Elo

Hard Prompts#126

1427Elo

Instruction Following#132

1403Elo

Multi-Turn#125

1418Elo

Longer Query#131

1412Elo

Non-English#120

1405Elo

Vision#81

1228Elo

Document#46

1402Elo

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

Responses responses

true

Assistants assistants

true

Chat Completion chatCompletion

true

Supports vision supports_vision
Text Watermarking textWatermarking

true

Supports JSON mode supports_json_mode
Supports responses supports_responses
Supports streaming supports_streaming
Supports function calling supports_function_calling

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-5.2?

GPT-5.2 is a chat model made by OpenAI, served on nRouter. It has a 400K-token context window.

How much does GPT-5.2 cost?

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

What is the context length of GPT-5.2?

GPT-5.2 supports a 400,000-token context window. It can generate up to 128,000 output tokens per request.

Does GPT-5.2 support tool calling and structured outputs?

No. GPT-5.2 does not support tool calling, so it cannot invoke external tools or functions. It does not support a structured JSON output mode.

What inputs and outputs does GPT-5.2 support?

GPT-5.2 takes text as input and returns text as output.

How do I use GPT-5.2 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-5.2". The quick-start panel above has a copy-paste curl command for this model.

Where is the GPT-5.2 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).