openai / text-generation API-only released 2024-07-18

GPT-4o-mini

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Input / 1M
$0.15
Output / 1M
$0.60
Context
128K
AA Intelligence
6.7
Closed weights — available only as a hosted API text + image + file → text Knowledge cutoff Oct 2023 View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$0.15
input / 1M
$0.60
output / 1M
$0.075
cached input / 1M
$0.75
1M in + 1M out
:batch variant $0.075 in · $0.30 out
Context window
128,000 tokens
Max output
16,384 tokens
Providers
2
Cheapest provider
Azure · $0.15 / $0.60
Best throughput
—
AA Intelligence / Coding / Agentic
6.7 / 11.4 / —
✓ Tool calling ✗ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $0.15 input · $0.60 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
6.7
AA Coding Index
11.4
AA Agentic Index
—

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 128K $0.15 $0.60 100% —
OpenAI unknown 128K $0.15 $0.60 100% —
Azure unknown 128K $0.17 $0.66 100% —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2024-07-18
Context window
128,000 tokens
Max output
16,384 tokens
Input
text, image, file
Output
text
Knowledge cutoff
October 2023
Tokenizer
GPT
Moderated by provider
Yes
OpenRouter id
openai/gpt-4o-mini
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.