GPT-4o Mini

gpt-4o-mini by OpenAI Released Juli 18, 2024
Function Calling · Strukturierte Ausgabe · Prompt-Caching · Websuche · Bildeingabe · Dateieingabe · EU-Hosting
Input from
$0.15 / 1M
Output from
$0.6 / 1M
Cached input from
$0.075 / 1M
Context window
128K
Endpoints
4
from 3 providers
Regions
Weltweit, Europa, USA

About GPT-4o Mini

GPT-4o mini ist das neueste Modell von OpenAI nach GPT-4 Omni und unterstützt sowohl Text- als auch Bildeingaben mit Textausgaben.

GPT-4o Mini ist ein Chat-Modell von OpenAI, auf Eden AI verfügbar über 4 Endpoints bei 3 Anbietern, ab 0,15 $ pro Million Eingabe-Tokens und 0,6 $ pro Million Ausgabe-Tokens, mit einem Kontextfenster von bis zu 128K Tokens.

Providers and prices

4 endpoints from 3 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Microsoft Azuremicrosoft/gpt-4o-mini
Weltweit
128K
$0.15
$0.6
$0.075
Tools · JSON · Cache · Vision · Web
OpenAI (USA)openai/gpt-4o-mini
USA
128K
$0.15
$0.6
$0.075
Offiziell · Tools · JSON · Cache · Vision · Web
Microsoft Azure (Europa)azure/gpt-4o-mini
Europa
128K
$0.165
$0.66
$0.0825
Tools · JSON · Cache · Vision
Microsoft Azure (USA)azure/gpt-4o-mini@us
USA
128K
$0.165
$0.66
$0.0825
Tools · JSON · Cache · Vision

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
0.33 s
Microsoft Azure (Europa)
Lowest latency
0.86 s
OpenAI (USA)
Highest throughput
48.4 tok/s
Microsoft Azure (Europa)
Best availability
100%
Microsoft Azure (Europa)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Microsoft Azure
0.98 s
1.05 s
1.75 s
22.3 tok/s
100%
0%
0%
0%
OpenAI (USA)
0.54 s
0.86 s
2.36 s
27.7 tok/s
100%
25.59%
1.09%
0.14%
Microsoft Azure (Europa)
0.33 s
0.89 s
2.29 s
48.4 tok/s
100%
42.24%
0%
0.03%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call GPT-4o Mini with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "gpt-4o-mini",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about GPT-4o Mini

On Eden AI, prices for this model start at $0.15 per million input tokens and $0.6 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 128K tokens, depending on the endpoint.

4 endpoints from 3 providers, available in: Weltweit, Europa, USA. All of them are called with the same Eden AI API key.

Kann ich GPT-4o Mini in der EU nutzen? Ja. Mindestens ein Endpoint wird in Europa gehostet; legen Sie ihn mit seiner Endpoint-ID aus der Anbietertabelle fest, damit Ihre Anfragen in der EU bleiben. ‖ Wie schnell ist GPT-4o Mini? In den letzten 30 Tagen kam das schnellste erste Token nach 0,33 s (Microsoft Azure (Europa)) und der höchste Durchsatz lag bei 48,4 Tokens pro Sekunde (Microsoft Azure (Europa)).