Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for openai

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

openai/gpt-4o-mini-2024-07-18

Compare

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

As their most advanced small model, it is many multiples more affordable than other recent frontier models, and more than 60% cheaper than GPT-3.5 Turbo. It maintains SOTA intelligence, while being significantly more cost-effective.

GPT-4o mini achieves an 82% score on MMLU and presently ranks higher than GPT-4 on chat preferences common leaderboards(opens in new tab).

Check out the launch announcement(opens in new tab) to learn more.

#multimodal

Modalities

In / Out Price

$0.15 / $0.60per 1M

Context

128K

Released

Jul 18, 2024

Knowledge Cutoff

Oct 2023

Compare
ProvidersPricingPerformanceUptimeAppsActivityFAQ

Providers

This model is hosted by one provider. OpenRouter forwards every request to it directly — no routing decisions to make.

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

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

OpenRouter makes OpenAI: GPT-4o-mini (2024-07-18) available through a unified, OpenAI-compatible API using the model ID openai/gpt-4o-mini-2024-07-18. It is served by OpenAI.

OpenAI: GPT-4o-mini (2024-07-18) accepts text, images and files such as PDFs and returns text. It has a 128,000-token context window and a maximum output of 16,384 tokens.

On OpenRouter, OpenAI: GPT-4o-mini (2024-07-18) costs $0.15/M input tokens and $0.60/M output tokens, with separate rates for Cache Read at $0.075/M tokens. Effective pricing can be lower when prompt caching applies. It was released on July 18, 2024; its knowledge cutoff is October 31, 2023.

More models from OpenAI

  • GPT Transcribe
  • GPT-5.6 Luna Pro
  • GPT-5.6 Luna

Frequently asked questions

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable than other recent frontier models, and more than 60% cheaper than GPT-3.5 Turbo. It maintains SOTA intelligence, while being significantly more cost-effective.

GPT-4o-mini (2024-07-18) costs $0.15/M input tokens and $0.60/M output tokens, with separate rates for Cache Read at $0.075/M tokens.

GPT-4o-mini (2024-07-18) has a 128,000 token context window. It supports up to 16,384 completion tokens.

Yes. GPT-4o-mini (2024-07-18) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

GPT-4o-mini (2024-07-18) accepts text, images and files such as PDFs as input and returns text.

GPT-5.6 Luna Pro, GPT-5.6 Luna, GPT-5.6 Terra Pro and 55 more are other text models from OpenAI.

GPT-4o-mini (2024-07-18) was released on July 18, 2024. Its knowledge cutoff is October 31, 2023.

$0.15$0.60$0.0750.52s21 tps
100.00%

Throughput

21tok/s

P50, best across providers

Latency

0.52s

P50, best provider

Uptime (3d)

100.00%

Availability (3d)

99.99%

Availability over the last 3 days

Last 72 hours
Availability 99.99%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
100.00%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://github.com/agent-survey
CSI Agent Survey Stage 4 HSRCT
new
3.7Btokens
2.
Favicon for https://buddypro.ai/
BuddyPro AI
Build profitable AI digital twin from know-how in 3 days
2.94Btokens
3.
Favicon for https://github.com/agentleak-benchmark
AgentLeak-LLM-Judge
new
247Mtokens
4.
Favicon for https://github.com/scene-aware-2d-asset
Scene-Aware-2D-Asset
new
196Mtokens
5.
Favicon for https://github.com/rdnfn/icai
ICAI
new
142Mtokens