LLM Reference
OpenAI API

o4 Mini Deep Research on OpenAI API

o4-mini · OpenAI

Serverless

Last refreshed 2026-06-04. Next refresh: weekly.

Why use o4 Mini Deep Research on OpenAI API?

OpenAI API offers o4 Mini Deep Research with pay-as-you-go pricing at $2.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 o4 Mini Deep Research across 2 providers to find the best fit for your use case
Input / 1M
$2.00
Output / 1M
$8.00
Cache
read $0.50
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
o4-mini-deep-research

Request example

import os
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
    model="o4-mini-deep-research",
    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 o4 Mini Deep Research Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$2.00$8.00
OpenAI API$2.00$8.00

Pricing

TypePrice (per 1M)
Input tokens$2.00
Output tokens$8.00

Capabilities

VisionMultimodalStructured Outputs

About o4 Mini Deep Research

OpenAI: o4 Mini Deep Research available via OpenRouter. Pricing: $2/1M input, $8/1M output.

Get Started

Model Specs

Released2025-04-16
Context200k
ArchitectureDecoder Only
Knowledge cutoff2024-06