← All models
OpenAI · Language model
GPT-5
openai/gpt-5- Language
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...
Specifications
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- Input
- text, image, file
- Output
- text
- Reasoning effort
- high, medium, low, minimal (always on)
- Tokenizer
- GPT
- Knowledge cutoff
- 2024-09-30
- Moderation
- provider-moderated
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- max_completion_tokens
- max_tokens
- reasoning
- reasoning_effort
- response_format
- seed
- structured_outputs
- tool_choice
- tools
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'