GPT-5 coding

openrouter
openai
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 in high-stakes use cases. It supports test-time routing features and advanced prompt understanding, including user-specified intent like "think hard about this." Improvements include reductions in hallucination, sycophancy, and better performance in coding, writing, and health-related tasks.

Capabilities

Context Window 400k tokens
Max Output 128k tokens
Inputs
Outputs

Pricing (per 1M tokens)

Input $1.25
Output $10.00
Cache Read $0.12
Cache Write -

Supported Parameters

include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools