openai logo
openai

OpenAI: GPT-5

Source description (English)

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

Overview

Model specifications

Context
400,000 tokens
Maximum output
128,000 tokens
Architecture
text+image+file->text
Tokenizer
GPT
Knowledge cutoff
2024-09-30
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$1.25
per 1M tokens
Output
$10
per 1M tokens
Cache read
$0.125
per 1M tokens
API

Model configuration

Reasoning

Reasoning required
Yes
Default parameters
medium
Capabilities
high, medium, low, minimal
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-5","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
textimagefile
Output
text
Reasoning

No · high · medium · low · minimal

API

Supported API parameters

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetools
Available providers

3 providers

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Azure

Not provided
Context
400K
Maximum output
128K
Input
$1.25
Output
$10
Cache read
$0.125
Cache write
Not provided

OpenAI

Not provided
Context
400K
Maximum output
128K
Input
$1.25
Output
$10
Cache read
$0.125
Cache write
Not provided

Azure

Not provided
Context
400K
Maximum output
128K
Input
$1.375
Output
$11
Cache read
$0.1375
Cache write
Not provided
openai

4 models

All models
openai logoopenai

OpenAI: GPT-6 Luna Pro

GPT-6 Luna Pro is the same underlying model as GPT-6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Context
1.1M
Input
file · image · text
Output
text
Input: $0.1Output: $0.5per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Luna Pro (batch)

GPT-6 Luna Pro is the same underlying model as GPT-6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Context
1.1M
Input
file · image · text
Output
text
Input: $0.05Output: $0.25per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Luna

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic...

Context
1.1M
Input
file · image · text
Output
text
Input: $0.1Output: $0.5per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Luna (batch)

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic...

Context
1.1M
Input
file · image · text
Output
text
Input: $0.05Output: $0.25per 1M tokens
View model details