SPB Git

Repository Public

o4-mini.md 3.5 KB

# o4-mini

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

Fast, cost-efficient reasoning model, succeeded by GPT-5 Mini

Model ID: o4-mini

o4-mini is our latest small o-series model. It's optimized for fast, effective reasoning with exceptionally efficient performance in coding and visual tasks. It's succeeded by GPT-5 Mini.

Learn more about how to use our reasoning models in our reasoning guide.

# Model details

  • Default snapshot: o4-mini-2025-04-16
  • Input modalities: text, image
  • Output modalities: text
  • 200,000 context window
  • 100,000 max output tokens
  • Jun 01, 2024 knowledge cutoff
  • Reasoning token support

# Pricing

Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the pricing page.

# Text tokens

Metric Price Unit
Input $1.1 1M tokens
Cached input $0.275 1M tokens
Output $4.4 1M tokens

# Endpoints

Endpoint Route Support
Live v1/live/sessions Not supported
Chat Completions v1/chat/completions Supported
Responses v1/responses Supported
Realtime v1/realtime Not supported
Realtime translation v1/realtime/translations Not supported
Realtime transcription v1/realtime/transcription_sessions Not supported
Assistants v1/assistants Not supported
Batch v1/batch Supported
Fine-tuning v1/fine-tuning Supported
Embeddings v1/embeddings Not supported
Image generation v1/images/generations Not supported
Videos v1/videos Not supported
Image edit v1/images/edits Not supported
Speech generation v1/audio/speech Not supported
Transcription v1/audio/transcriptions Not supported
Translation v1/audio/translations Not supported
Moderation v1/moderations Not supported
Completions (legacy) v1/completions Not supported

# Supported features

  • streaming
  • structured_outputs
  • function_calling
  • file_search
  • file_uploads
  • image_input
  • prompt_caching
  • evals
  • stored_completions
  • fine_tuning

# Supported tools

Tools supported by this model when using the Responses API.

  • function_calling
  • file_search
  • code_interpreter
  • mcp
  • web_search

# Quick comparison

Model Input Cached input Output
o4-mini $1.1 $0.275 $4.4
o3 $2 $0.5 $8
o3-mini $1.1 $0.55 $4.4

# Snapshots

Snapshots let you lock in a specific version of the model so that performance and behavior remain consistent. Below is a list of all available snapshots and aliases for o4-mini.

  • o4-mini-2025-04-16

# Rate limits

Rate limits ensure fair and reliable access to the API by placing specific caps on requests, tokens, audio duration, or other usage within a given time period. Your usage tier determines how high these limits are set and automatically increases as you send more requests and spend more on the API.

# default

Tier RPM TPM Batch queue limit
Tier 1 1,000 100,000 1,000,000
Tier 2 2,000 2,000,000 2,000,000
Tier 3 5,000 4,000,000 40,000,000
Tier 4 10,000 10,000,000 1,000,000,000
Tier 5 30,000 150,000,000 15,000,000,000
Files main
Menu

Theme