OpenAI: GPT-4o-mini (2024-07-18)

deprecatedproprietary

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs.

Intelligence
Speed
Context
128K
Max output
16K
Input price
$0.15/1M tokens
Output price
$0.6/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing
Fine-tuning

Details

Model IDopenai/gpt-4o-mini
Provider OpenRouter
Creator OpenAI
Familygpt-4o
Licenseproprietary
Statusdeprecated
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window128K tokens
Max input—
Max output16K tokens
Reasoning tokens—
Knowledge cutoff
Release date
Deprecation date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.15
Output
$0.6
Cache write
—
Cache read
$0.08
Batch in
—
Batch out
—

Family Comparison: gpt-4o

ModelContextMax outPricing
OpenAI: GPT-4o-mini (batch)128K16K$0.08$0.3
OpenAI: GPT-4o-mini Search Preview128K16K$0.15$0.6
OpenAI: GPT-4o-mini (2024-07-18)128K16K$0.15$0.6
OpenAI: GPT-4o (batch)128K16K$1.25$5
OpenAI: GPT-4o Audio128K16K$2.5$10
OpenAI: GPT-4o Search Preview128K16K$2.5$10
OpenAI: GPT-4o (2024-05-13)128K4K$5$15
OpenAI: GPT-4o (extended)128K64K$6$18

API

GET/v1/models/openrouter/openai/gpt-4o-mini