Available now
OpenAI

gpt-5

GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy...

TextReasoningToolsFilesVision400KCache
Input$0.75/ 1M
Output$6.00/ 1M
Context400K
Endpointsopenai, anthropic

Capabilities

ReasoningToolsParallel toolsVisionFilesCacheStructuredStreamingSystem msg

Modalities

Input
textimagefile
Output
text

Quick stats

Context window400K
Max output128K
Modechat
TokenizerGPT
Knowledge cutoff2024

Performance

Loading performance data...

Supported parameters

ParameterAlwaysDefault
frequency_penalty-(do not send)
include_reasoning-
max_completion_tokens--
max_tokens--
presence_penalty-(do not send)
reasoning-
repetition_penalty-(do not send)
response_format-
seed-
structured_outputs-
temperature-(do not send)
tool_choice-
tools-
top_k-(do not send)
top_p-(do not send)
§ 01

Pricing

Input price$0.75 · 1M tokens
Output price$6.00 · 1M tokens
Context window400K tokens
Compatible endpointsopenai, anthropic
VendorOpenAI
§ 02

Call gpt-5 from your code

Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.

bash
curl https://api.unorouter.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Sign in to auto-fill your API key

§ 03

Frequently asked questions

How much does gpt-5 cost per 1M tokens?

Input is priced at $0.75 per 1M tokens, output at $6.00 per 1M tokens. Billing is per token, no rounding to batch sizes.

How do I access gpt-5 via API?

Send requests to the UnoRouter /v1/chat/completions endpoint with model=gpt-5. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.

What is the context window of gpt-5?

gpt-5 supports a context window of 400K tokens, shared between your prompt and the model's response.

§ 04

Similar models

Try gpt-5 now

Create an API key and start making requests in under a minute.

View all models