Cheaper Inference
Cheaper Inference
gpt-5.4 is available for text generation from OpenAI. Its reported context window is 1,000,000 tokens, with up to 128,000 output tokens. Reported inputs: image, pdf, text. The served catalog lists image input, streaming.
/v1/chat/completions
Ready when you are
Marketplace pricing, capped at list, optimized further.
Context: up to 272,000 tokens
Context: 272,001+ tokens
/v1/chat/completions
Context: up to 271,999 tokens
Context: 272,000+ tokens
/v1/chat/completions
/v1/completions
Context: up to 271,999 tokens
/v1/completions
/v1/completions
Context: up to 272,000 tokens
/v1/messages
Context: up to 271,999 tokens
/v1/messages
/v1/messages
Context: up to 272,000 tokens
/v1/responses
Context: up to 271,999 tokens
/v1/responses
/v1/responses
Context: up to 272,000 tokens
gpt-5.4/v1/chat/completions/v1/responses/v1/messagesPOST /v1/chat/completions
curl https://api.cheaperinference.com/v1/chat/completions \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-5.4", "messages": [ { "role": "user", "content": "Reply with the single word OK." } ], "max_tokens": 64 }'POST /v1/responses
curl https://api.cheaperinference.com/v1/responses \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": [ { "role": "user", "content": "Reply with the single word OK." } ], "model": "gpt-5.4", "store": false, "max_output_tokens": 256 }'POST /v1/messages
curl https://api.cheaperinference.com/v1/messages \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-5.4", "messages": [ { "role": "user", "content": "Reply with the single word OK." } ], "max_tokens": 1024 }'Capability source · checked
$5.3125 estimated at displayed rates
1,000,000 ÷ 1,000,000 × $2.125 + 250,000 ÷ 1,000,000 × $12.75
The same billed quantities at the listed reference rates: $6.25.
Uses uncached input at the displayed standard rates, with no extra modalities or tools. Billed output includes any charged reasoning tokens. Actual token counts, price tiers, and marketplace prices can change the total.
Price quote effective .
| Model | Current pricing | Context limit | Image input listed |
|---|---|---|---|
| gpt-5.4 (this model)OpenAI | $2.125 input / $12.75 output per 1M tokens | 1,000,000 tokens | Yes |
| gpt-4.1OpenAI | $1.30 input / $5.20 output per 1M tokens | 1,047,576 tokens | Yes |
| gpt-4.1-miniOpenAI | $0.26 input / $1.04 output per 1M tokens | 1,047,576 tokens | Yes |
| gpt-5.4-fastOpenAI |
/v1/chat/completionsreasoning.excludemax_tokensreasoningresponse_formatstoptemperaturetool_choicetools/v1/messagesmax_tokensthinkingoutput_config.formatstop_sequences/v1/responsesmax_output_tokensreasoningtext.formattemperatureCompare recorded quotes and the hours with the highest observed discounts.
This model’s recorded quotes averaged 22.9% below recorded reference prices across the selected range. Its strongest observed window was 12:00 AM in UTC.
Average quoted discount
22.9%
Highest discount time
12:00 AM
Hourly coverage
24/24
Signal quality
Growing
Hover a bar for recorded unit discounts and observation counts.
Source buckets are UTC; labels are converted to UTC.
Last 24 hours
#51
of 297 ranked models
Last 7 days
Unavailable
Activity could not be loaded
Last 30 days
Unavailable
Activity could not be loaded
Context: 272,000+ tokens
Context: 272,001+ tokens
Context: 272,000+ tokens
Context: 272,001+ tokens
Context: 272,000+ tokens
Context: 272,001+ tokens
| $3.25 input / $19.50 output per 1M tokens |
| 1,050,000 tokens |
| Yes |
temperaturetool_choicetoolstool_choicetools