GPT-4.1 Mini

gpt-4.1-mini by OpenAI Released April 15, 2025
Function Calling · Strukturierte Ausgabe · Prompt-Caching · Websuche · Bildeingabe · Dateieingabe · EU-Hosting
Input from
$0.4 / 1M
Output from
$1.6 / 1M
Cached input from
$0.1 / 1M
Context window
1.05M
Endpoints
4
from 2 providers
Regions
Weltweit, Europa, USA

About GPT-4.1 Mini

GPT-4.1 Mini ist ein mittelgroßes Modell, dessen Leistung mit der von GPT-4o mithalten kann, das jedoch deutlich geringere Latenzzeiten und Kosten aufweist.

GPT-4.1 Mini ist ein Chat-Modell von OpenAI, auf Eden AI verfügbar über 4 Endpoints bei 2 Anbietern, ab 0,4 $ pro Million Eingabe-Tokens und 1,6 $ pro Million Ausgabe-Tokens, mit einem Kontextfenster von bis zu 1,05M Tokens.

Providers and prices

4 endpoints from 2 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 Azureazure/gpt-4.1-mini
Weltweit
1.05M
$0.4
$1.6
$0.1
Tools · JSON · Cache · Vision
OpenAI (USA)openai/gpt-4.1-mini
USA
1.05M
$0.4
$1.6
$0.1
Offiziell · Tools · JSON · Cache · Vision · Web
Microsoft Azure (Europa)azure/gpt-4.1-mini@eu
Europa
1.05M
$0.44
$1.76
$0.11
Tools · JSON · Cache · Vision
Microsoft Azure (USA)azure/gpt-4.1-mini@us
USA
1,05 Mio.
$0.44
$1.76
$0.11
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.54 s
Microsoft Azure (Europa)
Lowest latency
0.7 s
OpenAI (USA)
Highest throughput
61.58 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.55 s
1.13 s
5.43 s
49.44 tok/s
100%
37.21%
1.4%
0%
OpenAI (USA)
0.64 s
0.7 s
1.34 s
29.49 tok/s
99.86%
22.94%
0%
0.01%
Microsoft Azure (Europa)
0.54 s
1.1 s
6.3 s
61.58 tok/s
100%
8.42%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call GPT-4.1 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-4.1-mini",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about GPT-4.1 Mini

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

Up to 1.05M tokens, depending on the endpoint.

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

Kann ich GPT-4.1 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-4.1 Mini? In den letzten 30 Tagen kam das schnellste erste Token nach 0,54 s (Microsoft Azure (Europa)) und der höchste Durchsatz lag bei 61,58 Tokens pro Sekunde (Microsoft Azure (Europa)).