Cheaper Inference
Cheaper Inference
gpt-5.2 is available for text generation from OpenAI. Its reported context window is 256,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.
/v1/chat/completions
/v1/chat/completions
/v1/completions
/v1/completions
/v1/completions
/v1/messages
/v1/messages
/v1/messages
/v1/responses
/v1/responses
/v1/responses
gpt-5.2/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.2", "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.2", "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.2", "messages": [ { "role": "user", "content": "Reply with the single word OK." } ], "max_tokens": 1024 }'Capability source · checked
$3.4125 estimated at displayed rates
1,000,000 ÷ 1,000,000 × $1.1375 + 250,000 ÷ 1,000,000 × $9.10
The same billed quantities at the listed reference rates: $5.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.2 (this model)OpenAI | $1.1375 input / $9.10 output per 1M tokens | 256,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.308 input / $1.232 output per 1M tokens | 1,047,576 tokens | Yes |
| gpt-5OpenAI |
/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 35.0% below recorded reference prices across the selected range. Its strongest observed window was 12:00 PM–10:00 AM in UTC.
Average quoted discount
35.0%
Highest discount time
12:00 PM–10:00 AM
Hourly coverage
23/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
Unavailable
Activity could not be loaded
Last 7 days
Unavailable
Activity could not be loaded
Last 30 days
Unavailable
Activity could not be loaded
| $1.0125 input / $8.10 output per 1M tokens |
| 400,000 tokens |
| Yes |
temperaturetool_choicetoolstool_choicetools