Skip to content
Dashboard

o4-mini

o4-mini advances OpenAI's compact reasoning model line with stronger performance and greater efficiency than o3-mini, adding native tool use and image reasoning.

File InputImplicit CachingReasoningTool UseVision (Image)Web Search
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/o4-mini',
prompt: 'Why is the sky blue?'
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Max Output
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
ZDR
No Training
Release Date
Azure
Legal:Terms
Privacy
200K100K
2.0s
160tps
$1.10/M
$4.40/M
Read:$0.28/M
Write:
$14/K
+ input costs
+3
04/16/2025
OpenAI
Legal:Terms
Privacy
200K100K
1.4s
158tps
$1.10/M
$4.40/M
Read:$0.28/M
Write:
$10/K
+ input costs
+3
04/16/2025