o1

OpenAI
OpenAI
Released on Dec 17, 2024 12:00 AM

o1 is a AI model focused on complex reasoning tasks like math, coding, and puzzles. It uses chain-of-thought reasoning to break down problems.

Specifications

Context200,000
Maximum Output100,000
Inputtext, image
Outputtext, json

Performance (7-day Average)

Uptime
TPS

Pricing

Input$16.50/MTokens
Output$66.00/MTokens
Cached Input$8.25/MTokens
Batch Input$8.25/MTokens
Batch Output$33.00/MTokens

Usage Statistics

No usage data available for this model during the selected period
View your usage statistics for this model

Similar Models

Code Examples

Use the OpenAI Python SDK to call this model. Replace your-api-key with your API key.

python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.ohmygpt.com/v1",
    api_key="your-api-key",  # Replace with your API key
)

response = client.chat.completions.create(
    model="o1",
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(response.choices[0].message.content)