Cheaper Inference
Cheaper Inference
Model record / OpenAI
o4-mini is available for text generation from OpenAI. Its reported context window is 200,000 tokens, with up to 100,000 output tokens. Reported inputs: image, pdf, text. The served catalog lists image input, streaming.
Ready when you are
Marketplace pricing, capped at list, optimized further.
POST /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": "o4-mini", "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": "o4-mini", "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": "o4-mini", "messages": [ { "role": "user", "content": "Reply with the single word OK." } ], "max_tokens": 1024 }'Capability source · checked
$1.87 estimated at displayed rates
1,000,000 ÷ 1,000,000 × $0.935 + 250,000 ÷ 1,000,000 × $3.74
The same billed quantities at the listed reference rates: $2.20.
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 |
|---|---|---|---|
| o4-mini (this model)OpenAI | $0.935 input / $3.74 output per 1M tokens | 200,000 tokens | Yes |
| gpt-4.1-miniOpenAI | $0.26 input / $1.04 output per 1M tokens | 1,047,576 tokens | Yes |
| gpt-5-miniOpenAI | $0.1625 input / $1.30 output per 1M tokens | 400,000 tokens | Yes |
| gpt-5-mini-fastOpenAI |
POST /v1/chat/completions
| Field | Values |
|---|---|
| reasoning.exclude | |
| max_tokens | |
| reasoning | effort: low, medium, high |
| response_format | |
| stop | |
| tool_choice | |
| tools |
POST /v1/messages
| Field | Values |
|---|---|
| max_tokens | |
| thinking | type: enabled with budget_tokens; output_config.effort: low, medium, high |
| output_config.format | |
| stop_sequences | |
| tool_choice | |
| tools |
POST /v1/responses
| Field | Values |
|---|---|
| max_output_tokens | |
| reasoning | effort: low, medium, high |
| text.format | |
| tool_choice | |
| tools |
See how much this model saves and when its recorded price has been lowest.
This model averaged 25.4% below comparable direct provider prices across the selected range. Its strongest observed window was 5:00 AM–10:00 AM in UTC.
Average saved
25.4%
Cheapest time
5:00 AM–10:00 AM
Hourly coverage
23/24
Signal quality
Growing
Hover a bar for savings per token and observation counts.
Source buckets are UTC; labels are converted to UTC.
Last 24 hours
#234
of 332 ranked models
Last 7 days
#253
of 389 ranked models
Last 30 days
#162
of 400 ranked models
| $0.3825 input / $3.06 output per 1M tokens |
| 400,000 tokens |
| Yes |