LLM Reference
OpenAI API

o3-pro on OpenAI API

o3 · OpenAI

Serverless

Last refreshed 2026-05-19. Next refresh: weekly.

Why use o3-pro on OpenAI API?

OpenAI API offers o3-pro with pay-as-you-go pricing at $20.00/1M input tokens. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.

Compare o3-pro across 3 providers to find the best fit for your use case
Input / 1M
$20.00
Output / 1M
$80.00
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export OPENAI_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
Model ID
o3-pro

Request example

import os
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
    model="o3-pro",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
  • The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.

Compare o3-pro Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$20.00$80.00
OpenAI API$20.00$80.00
Vercel AI Gateway$20.00$80.00

Pricing

TypePrice (per 1M)
Input tokens$20.00
Output tokens$80.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode Execution

About o3-pro

Advanced o3 reasoning model for complex math, science, and coding problems. Supports tools, vision, and extended thinking. Available to Pro users. Released June 10, 2025.

Get Started

Model Specs

Released2025-06-10
Context200k
ArchitectureDecoder Only
Knowledge cutoff2025-08

Related Models on OpenAI API