o1 API

openai/o1-2024-12-17
OpenAI o1 excels in complex reasoning tasks with advanced features like chain-of-thought processing and extensive context support.
Context
128K tokens
Input
$19.5 / 1M tokens
Output
$78 / 1M tokens
Released
Aug 7, 2025

Overview

OpenAI o1 Description

Basic Information

  • Model Name: OpenAI o1
  • Developer/Creator: OpenAI
  • Release Date: December 5, 2024
  • Version: 1.0
  • Model Type: Large Language Model (LLM)
Overview:

OpenAI o1 is a state-of-the-art language model designed to excel in complex reasoning tasks, including mathematical problem-solving, programming challenges, and scientific inquiries. The model integrates advanced reasoning capabilities through its innovative architecture, making it suitable for a wide range of applications that require deep understanding and logical deduction.

Key Features:
  • Chain-of-Thought Reasoning: Enables the model to break down complex problems into sequential steps, enhancing accuracy in problem-solving.
  • Reinforcement Learning from Human Feedback (RLHF): Trained using RLHF to align its outputs with human expectations, improving both performance and safety.
  • Expanded Context Window: Supports up to 200,000 tokens, allowing for extensive context retention during interactions.
  • High Performance on Benchmarks: Achieves exceptional scores on various benchmarks such as 91% on the MATH benchmark and competitive results in coding tasks.
  • Enhanced Safety Features: Improved adherence to safety protocols and better handling of potentially harmful prompts.
Intended Use:

OpenAI o1 is intended for developers, researchers, and educators who require advanced reasoning capabilities in their applications. It is particularly useful for tasks involving complex problem-solving, coding assistance, and scientific exploration.

Language Support:

The model primarily supports English but can accommodate multiple languages depending on user requirements.

Technical Details

Architecture:

OpenAI o1 employs a transformer-based architecture optimized for reasoning tasks. Key architectural features include:

  • Total Parameters: Approximately 175 billion
  • Attention Mechanisms: Utilizes a combination of Softmax and Lightning attention mechanisms to enhance context understanding.
  • Training Methodology: Focuses on reinforcement learning techniques to optimize reasoning capabilities.
Training Data:

The model was trained on a vast dataset comprising diverse sources of text, including books, articles, and code repositories.

  • Data Source and Size: The training dataset includes over 14 trillion tokens from publicly available texts.
  • Knowledge Cutoff: The model's knowledge is current as of October 2023.
  • Diversity and Bias: The training data was curated to minimize biases while maximizing diversity in topics and styles, ensuring robust performance across different scenarios.
Performance Metrics
__wf_reserved_inherit

Usage

Code Samples:

The model is available on the AI/ML API platform as "OpenAI o1" .

API Documentation:

Detailed API Documentation is available here.

Ethical Guidelines

OpenAI emphasizes ethical considerations in AI development by promoting transparency regarding the model's capabilities and limitations. The organization encourages responsible usage to prevent misuse or harmful applications of generated content.

Licensing

OpenAI o1 is available under a commercial license that allows both research and commercial usage rights while ensuring compliance with ethical standards regarding creator rights.

‍

Get OpenAI o1 API here.

Uptime and performance

  • Uptime (7d): 100%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

  • complex coding task automation and debugging
  • STEM education and tutoring platforms with stepwise explanations
  • scientific and medical research analysis and problem solving
  • legal document analysis, summarization, and contract review
  • business intelligence with comprehensive multi-document understanding
  • advanced question answering systems in technical domains

How to use o1 API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/o1-2024-12-17.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "openai/o1-2024-12-17",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "openai/o1-2024-12-17",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/o1-2024-12-17","messages":[{"role":"user","content":"Hello!"}]}'

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

o1 API Pricing

TypePrice
Input
$19.5 / 1M tokens
Output
$78 / 1M tokens
Cached input
$9.75 / 1M tokens

o1 Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Intelligence
15.2
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026
Coding
39.7
Composite score across standardised coding evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

o1 vs other models

ModelInputOutputContextBest for
o1
This page
$19.5 / 1M tokens
$78 / 1M tokens
128K tokens
Reasoning + agents
$6.5 / 1M tokens
$39 / 1M tokens
1M 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
$1.95 / 1M tokens
$11.7 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

o1 has a 128,000 tokens context window.

o1 takes image, text as input and returns text.

Use openai/o1-2024-12-17 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

o1 became available on August 7, 2025.

o1 is priced at input $19.5 / 1M tokens, output $78 / 1M tokens, cached input $9.75 / 1M tokens.

Yes, o1 can stream responses as they are generated.

Yes, o1 accepts image input alongside text.

o1 was built by OpenAI.

o1 is an OpenAI model designed for complex reasoning in science, coding, and mathematics.

Start building with o1

Get API Key
1000+ models, one API.