OpenAI o1-preview API

New AI model from OpenAI for complex reasoning in science, coding, and mathematics.
Output

How to use OpenAI o1-preview 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-preview API Pricing

TypePrice
Input
Output

OpenAI o1-preview 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-preview can stream responses as they are generated.

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

OpenAI o1-preview was built by OpenAI.

OpenAI o1-preview is available through OpenAI's v1 API endpoint, supporting function calling, streaming, and structured outputs.

Yes, o1-preview includes reasoning as one of its core capabilities.

Start building with OpenAI o1-preview

Get API Key
1000+ models, one API.