Requesty
OpenAI logo

gpt-4o-mini

OpenAI/Proprietary/2 providers

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 than other recent frontier models, and more than 60% cheaper than [GPT-3.5 Turbo](/models/openai/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](https://arena.lmsys.org/). Check out the [launch announcement](https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/) to learn more. #multimodalMore

Which id to call

gpt-4o-mini@eu

Same routing, restricted to EU-hosted providers. Use this id when data residency is a requirement: requests never leave the EU.

From /1M input

$0.15

OpenAI Inc.

Context

128K

16K output

Endpoints

5

5 regions

Regions

5

chat

Capabilities 4/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

5 endpoints / 5 regions

Providers serving gpt-4o-mini

Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.

Providers serving gpt-4o-mini, with pricing and measured performance. The best value in each column is highlighted.
RankPrivacy
1OpenAI Inc.Global128K$0.15$0.60$0.07no-train
2Microsoft Azure AIeastus2128K$0.15$0.60$0.07zdr
3Microsoft Azure AIgermanywestcentral128K$0.17$0.66$0.08zdr
4Microsoft Azure AIswedencentral128K$0.17$0.66$0.08zdr
5Microsoft Azure AIwesteurope128K$0.17$0.66$0.08zdr

A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.

model=

Which id to call

One base url, https://router.requesty.ai/v1, and one key for every id here.

gpt-4o-mini@eu

Same routing, restricted to EU-hosted providers. Use this id when data residency is a requirement: requests never leave the EU.

OpenAI compatible

Call it in three lines

Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="openai/gpt-4o-mini", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Artificial Analysis

Benchmark scores

Coding Indexcoding
11.4%

Artificial Analysis Coding Index: a composite of coding evaluations including LiveCodeBench, SciCode and Terminal-Bench.

GPQA Diamondreasoning
42.6%

Graduate-level physics, chemistry & biology questions designed to resist Googling.

Intelligence Indexreasoning
6.7%

Artificial Analysis Intelligence Index: a composite of multiple evaluations measuring overall model capability.

Scores from artificialanalysis.ai. They measure the model, not the provider, so they are the same on every endpoint above.

6

More from OpenAI

Reference

gpt-4o-mini questions

Which providers serve gpt-4o-mini?

gpt-4o-mini is available from 2 providers through Requesty: OpenAI Inc., Microsoft Azure AI. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.

How much does gpt-4o-mini cost?

Pricing starts at $0.15 per million input tokens and $0.60 per million output tokens on OpenAI Inc., the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

Is gpt-4o-mini open weights?

No. gpt-4o-mini is a proprietary model from OpenAI, served through OpenAI's own API and licensed cloud platforms.

What is the context window of gpt-4o-mini?

gpt-4o-mini supports up to 128K tokens of context, with up to 16K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.

How do I use gpt-4o-mini with the OpenAI SDK?

Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "openai/gpt-4o-mini" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Route gpt-4o-mini through one endpoint

One key for 2 providers on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.

Benchmark rankings