GPT-5.6 is here 🎉 20% off all GPT 🎉 All July 🔥Learn more
OpenAI

GPT-4o Mini

Chat-20%
openai/gpt-4o-mini
CompareGet Started

GPT-4o Mini is OpenAI's small, cost-efficient model from the GPT-4o generation, released on 2024-07-18, priced 60% below GPT-3.5 Turbo while scoring 82% on MMLU. It targets high-volume tasks that still need solid language understanding and generation, and supports vision, tool use, and prompt caching. Context: 128K tokens, output: 16K. At $0.15/M input tokens and $0.60/M output tokens it remains one of the cheapest ways to run simple, high-throughput workloads, though newer small models offer stronger reasoning. Accessible via the OpenAI-compatible protocol.

Context Window
128K
Max Output Tokens
16K
Released
2024-07-18
Capabilities
VisionFunction CallingPrompt Caching
Available Providers
AzureAzure
Supported Protocols
OpenAIopenai

Providers

AzureAzure
-20%
Input Tokens
$0.12/M
$0.15/M
Output Tokens
$0.48/M
$0.6/M
Cache Read
$0.06/M
$0.075/M
Web Search
$0.035/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4o-mini",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Benchmarks

LMArenaEvaluated as gpt-4o-mini-2024-07-18

GPT-4o Mini scores 1318 in the Overall category of the LMArena text leaderboard (style control), ranking #226 of 374 models based on 68,709 human preference votes (updated 2026-07-12).

Benchmark scores for gpt-4o-mini-2024-07-18 on LMArena
CategoryArena Score95% CIRankVotes
Overall131813141321#226 of 37468,709
Hard Prompts131113061316#241 of 37418,259
Coding134913421355#231 of 36910,927
Math127612691283#238 of 3629,322
Creative Writing129412871301#210 of 37210,484
Instruction Following129312891298#232 of 37426,705
Chinese131513061324#220 of 3445,767

Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.

Frequently Asked Questions

GPT-4o Mini on Ofox.ai costs $0.15/M per million input tokens and $0.6/M per million output tokens. Pay-as-you-go, no monthly fees.