OpenAI: GPT 5 Pro

gpt-5-pro

GPT 5 Pro costs $19.50 per million input tokens and $156.00 per million output tokens, supports 400K context, and is available through the OpenAI-compatible API.

The highest performing version of the flagship model GPT 5 by OpenAI.

Modalities

Text + Image → Text

Input / output price

$19.50 / $156.00 per 1M

Context

400K · max output 128K

Capabilities

ReasoningVisionLong context

Pricing

Billed per token actually used and deducted from your credits.

ItemUSD per 1M tokens
Input$19.50
Output$156.00
Cached input$1.95

Calculator

Drag the sliders to estimate what this model will cost.

Per request
$0.1833
Per day
$91.65
Per month (30 days)
$2749.50

GPT 5 Pro: input $19.5/M · output $156/M · cached input $1.95/M

Request with these settings
curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-5-pro", "max_tokens": 800,
       "messages": [{"role": "user", "content": "…"}]}'

Code samples

OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to gpt-5-pro.

curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-pro",
    "stream": true,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Use it in a client: Cursor · Cline · SillyTavern · Codex

Parameters

Common OpenAI parameters can be passed as-is.

temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseed

FAQ

How is GPT 5 Pro billed?
Input is $19.50 and output is $156.00 per million tokens; cached input is $1.95. The charge for every request is listed in Usage Logs in the console.
How long is the context window?
400K tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
Does it support streaming?
Yes. Add "stream": true to the request to receive server-sent events in the OpenAI format.
GPT 5 Pro API pricing · GeniusRelay