How much does o4-mini cost per million tokens?
As of August 21, 2026, o4-mini OpenAI API pricing is $1.10 per million input tokens and $4.40 per million output tokens. Input tokens are the prompt you send; output tokens are the completion. Long answers therefore cost more than short ones even when the prompt stays the same. Source: https://developers.openai.com/api/docs/pricing
What is the blended API cost for o4-mini?
On this page the blended o4-mini API cost is $5.50 for 1 million input tokens plus 1 million output tokens. That 1:1 mix is the comparison scale used across the LLM pricing table. A 3:1 mix (three million input tokens per one million output tokens), which some calculators use, would be about $7.70.
How much does a typical o4-mini request cost?
A typical o4-mini API request with 100K input tokens and 20K output tokens costs about $0.20 at current rates as of August 21, 2026. Multiply that by daily or monthly volume to estimate spend. Caching, batch APIs, and volume discounts from OpenAI can bring the real invoice lower than the public list rate at https://developers.openai.com/api/docs/pricing.
What is the context window for o4-mini?
o4-mini supports a 200K token context window and can generate up to 100K output tokens per request. The context window is the total prompt plus conversation history the model can see in one call. Larger windows cost more when you fill them, because every input token is billed per million tokens.
Is o4-mini open source?
No. o4-mini is a proprietary model by OpenAI. The only public way to call it is OpenAI's API, billed per million input and output tokens. There is no self-host option for the weights.
What benchmarks does o4-mini perform well on?
o4-mini currently reports HLE 14.7%, GPQA 81.4%, GPQA Diamond 81.4%. See the performance table for the full eval set. Use those scores with the token prices above when you are choosing between a cheaper LLM and a frontier model. GPQA, SWE-bench, and HLE are the evals people usually compare first.
Is o4-mini good for coding?
o4-mini scores 68.1% on SWE-bench Verified. Pair that score with OpenAI API pricing on this page: a slightly worse SWE-bench model can still win if it is much cheaper per million tokens. Open the SWE-bench or coding leaderboard from the sidebar for the full ranking, then jump into an LLM comparison against a coding specialist.
What is the knowledge cutoff for o4-mini?
o4-mini has a published knowledge cutoff of 2024-05-31. Facts after that date are not guaranteed to be in the weights. For current events you still need retrieval or tools, which adds input tokens and therefore API cost per million tokens.
How do I compare o4-mini with another LLM?
Use the Compare picker on this page to start an LLM comparison. Search by model or provider, pick a second model, and AnotherWrapper opens a dedicated o4-mini vs page with per-million-token prices, blended 1M-in / 1M-out cost, context window, throughput, and benchmarks. You can also open any model from the sidebar, or go back to the LLM pricing table to sort the full index.
What are the cheapest alternatives to o4-mini?
The cheapest LLM alternative depends on whether you optimize for blended token cost, coding evals, or context window. Start with the popular matchups on this page, then sort the LLM pricing table by blended cost to see which hosted APIs undercut o4-mini. Open-weight models can be cheaper still if you self-host, but that is not the same as OpenAI API pricing on this page.
How do I use o4-mini in my application?
o4-mini is called through OpenAI's API with an API key. Bill against input and output tokens separately; cache or shorten prompts if spend is high. If you are shipping a full product, AnotherWrapper includes pre-built API routes and templates for OpenAI and 5+ other providers with auth, payments, and deployment already configured.
How accurate is this o4-mini pricing data?
This o4-mini page tracks the latest published OpenAI API pricing from OpenAI, quoted per million tokens. List rates can differ from invoices because of prompt caching, batch discounts, committed-use tiers, and private contracts. Official rate sheet: https://developers.openai.com/api/docs/pricing. Benchmark scores come from official publications and independent evals, not from a private lab run by AnotherWrapper.
How fast is o4-mini?
o4-mini has a measured throughput of about 115 tokens per second (tok/s). Throughput is how fast completions stream once the model starts generating; time-to-first-token can still lag under load. Faster APIs matter when you are building chat or agents, even if the per-million-token price is the same.