GPT 5
OpenAI
openai/gpt-5
Most capable reasoning, 272K context
Context Window
272K
272,000 tokens
Max Output
128K
128,000 tokens
About this model
GPT-5 is OpenAI's flagship large language model featuring a 272K token context window and 128K token maximum output. Compared to GPT-4.1, GPT-5 delivers significant improvements in complex reasoning, mathematical proofs, code generation, and multi-step task planning.
The model supports vision understanding and can analyze images, charts, and document screenshots. It achieves state-of-the-art performance on major benchmarks including MMLU, MATH, and HumanEval.
Best suited for high-value tasks requiring deep reasoning and long document processing.
Highlights
272K ultra-long context
128K max output
Top-tier reasoning
Native vision support
Best For
Complex reasoning & analysisLong document processingAdvanced code generationMulti-step task planning
2025-11-20TransformerProprietary
Capabilities
ChatVisionReasoningCodepdftoolscache
Aliases
gpt-5Pricing (per 1M tokens)
| Pricing (per 1M tokens) | / 1M tokens |
|---|---|
| Input / 1M | $0.66 |
| Output / 1M | $5.25 |
| Cache Read | $0.07 |
Final prices shown
Quick Start
main.py
from openai import OpenAI client = OpenAI( base_url="https://api.chuizi.ai/v1", api_key="ck-your-key-here", ) response = client.chat.completions.create( model="openai/gpt-5", messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content)