GPT-4.1

gpt-4.1 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
$2 / 1M
Output from
$8 / 1M
Cached input from
$0.5 / 1M
Context window
1.05M
Endpoints
4
from 2 providers
Regions
Globale, Europa, Stati Uniti

About GPT-4.1

GPT-4.1 è un modello linguistico di grandi dimensioni di punta, ottimizzato per l'esecuzione di istruzioni avanzate, l'ingegneria del software nel mondo reale e il ragionamento su contesti estesi.

GPT-4.1 è un modello di chat di OpenAI, disponibile su Eden AI tramite 4 endpoint presso 2 provider, a partire da 2 $ per milione di token in input e 8 $ 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
Globale
1.05M
$2
$8
$0.5
Strumenti · JSON · Cache · Visione
OpenAI (Stati Uniti)openai/gpt-4.1
Stati Uniti
1.05M
$2
$8
$0.5
Ufficiale · Strumenti · JSON · Cache · Visione · Web
Microsoft Azure (Europa)azure/gpt-4.1@eu
Europa
1.05M
$2.2
$8.8
$0.55
Strumenti · JSON · Cache · Visione
Microsoft Azure (Stati Uniti)azure/gpt-4.1@us
Stati Uniti
1.05M
$2.2
$8.8
$0.55
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.64 s
Microsoft Azure (Europa)
Lowest latency
0.9 s
OpenAI (Stati Uniti)
Highest throughput
37.69 tok/s
Microsoft Azure
Best availability
100%
OpenAI (Stati Uniti)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Microsoft Azure
0.64 s
3.67 s
7.08 s
37.69 tok/s
99.95%
32.09%
0%
0.07%
OpenAI (Stati Uniti)
0.79 s
0.9 s
1.89 s
36.27 tok/s
100%
14.34%
0%
0%
Microsoft Azure (Europa)
0.64 s
3.75 s
7.32 s
37.56 tok/s
99.95%
31.53%
0%
0.07%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

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

Questions about GPT-4.1

On Eden AI, prices for this model start at $2 per million input tokens and $8 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 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? Negli ultimi 30 giorni il primo token più rapido è arrivato in 0,64 s (Microsoft Azure (Europa)) e il throughput più alto è stato di 37,69 token al secondo (Microsoft Azure).