GPT-5 Chat

OpenAI Generally Available

GPT-5 Chat is designed for advanced, natural, multimodal, and context-aware conversations for enterprise applications.

Context
128K
tokens
Input
$1.25
per MTok
Output
$10.00
per MTok

About

GPT-5 Chat is designed for advanced, natural, multimodal, and context-aware conversations for enterprise applications.

Modalities

Input
file Vision Text
Output
Text

Code Examples

curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-chat",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in one sentence." }
    ]
  }'

API Parameters

Name Type Description
max_tokens deprecated integer Deprecated. Use max_completion_tokens.
response_format one of Constrain output to a JSON schema or an enum (structured outputs).
seed integer Deterministic seed for sampling. Same seed + same prompt produces identical output.
structured_outputs boolean Enable JSON-schema-constrained output.

Standard OpenAI-compatible parameters. Consult the provider docs for model-specific behaviour.