GPT-4.1 Mini

gpt-4.1-mini by OpenAI Released aprile 15, 2025
Chiamata di funzioni · Output strutturato · Caching dei prompt · Ricerca web · Input immagine · Input file · Hosting nell’UE
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
Globale, Europa, Stati Uniti

About GPT-4.1 Mini

GPT-4.1 Mini è un modello di medie dimensioni che offre prestazioni competitive rispetto a GPT-4o, con una latenza e un costo notevolmente inferiori.

GPT-4.1 Mini è un modello di chat di OpenAI, disponibile su Eden AI tramite 4 endpoint presso 2 provider, a partire da 0,4 $ per milione di token in input e 1,6 $ per milione di token in output, con una finestra di contesto fino a 1,05M token.

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
Globale
1.05M
$0.4
$1.6
$0.1
Strumenti · JSON · Cache · Visione
OpenAI (Stati Uniti)openai/gpt-4.1-mini
Stati Uniti
1.05M
$0.4
$1.6
$0.1
Ufficiale · Strumenti · JSON · Cache · Visione · Web
Microsoft Azure (Europa)azure/gpt-4.1-mini@eu
Europa
1.05M
$0.44
$1.76
$0.11
Strumenti · JSON · Cache · Visione
Microsoft Azure (Stati Uniti)azure/gpt-4.1-mini@us
Stati Uniti
1.05M
$0.44
$1.76
$0.11
Strumenti · JSON · Cache · Visione

Performance

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

Fastest first token
0.55 s
Microsoft Azure (Europa)
Lowest latency
0.7 s
OpenAI (Stati Uniti)
Highest throughput
61.72 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.15 s
5.43 s
49.56 tok/s
100%
36.92%
1.4%
0%
OpenAI (Stati Uniti)
0.64 s
0.7 s
1.34 s
29.52 tok/s
99.86%
22.19%
0%
0.01%
Microsoft Azure (Europa)
0.55 s
1.13 s
6.38 s
61.72 tok/s
100%
7.93%
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: Globale, Europa, Stati Uniti. All of them are called with the same Eden AI API key.

Posso usare GPT-4.1 Mini nell’UE? Sì. Almeno un endpoint è ospitato in Europa; fissalo con il suo ID endpoint dalla tabella dei provider per mantenere le tue richieste nell’UE. ‖ Quanto è veloce GPT-4.1 Mini? Negli ultimi 30 giorni il primo token più rapido è arrivato in 0,55 s (Microsoft Azure (Europa)) e il throughput più alto è stato di 61,72 token al secondo (Microsoft Azure (Europa)).