OpenAI o1-mini API

Cost-efficient OpenAI reasoning model excelling in math and coding tasks.
Output

How to use OpenAI o1-mini API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

OpenAI o1-mini API Pricing

TypePrice
Input
Output

OpenAI o1-mini vs other models

ModelInputOutputContextBest for
$6.5 / 1M tokens
$39 / 1M tokens
1.05M tokens
Reasoning + agents
$2.6 / 1M tokens
$13 / 1M tokens
1M tokens
Balanced coding + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$0.65 / 1M tokens
$3.9 / 1M tokens
1.05M tokens
Reasoning + agents

Frequently asked questions

Yes, OpenAI o1-mini can stream responses as they are generated.

Yes, OpenAI o1-mini supports both function calling and structured outputs.

OpenAI o1-mini was built by OpenAI.

No. The listed capabilities are function calling, streaming, structured outputs, and reasoning; vision is not included.

Fine-tuning is not among its listed capabilities, which are function calling, streaming, structured outputs, and reasoning.

Yes, reasoning is listed as one of its core capabilities.

Start building with OpenAI o1-mini

Get API Key
1000+ models, one API.