GPT-4.1

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

About GPT-4.1

GPT-4.1 ist ein führendes großes Sprachmodell, das für die Umsetzung komplexer Anweisungen, die Softwareentwicklung in der Praxis und das Schlussfolgern in langen Kontexten optimiert ist.

GPT-4.1 ist ein Chat-Modell von OpenAI, auf Eden AI verfügbar über 4 Endpoints bei 2 Anbietern, ab 2 $ pro Million Eingabe-Tokens und 8 $ 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
Weltweit
1.05M
$2
$8
$0.5
Tools · JSON · Cache · Vision
OpenAI (USA)openai/gpt-4.1
USA
1.05M
$2
$8
$0.5
Offiziell · Tools · JSON · Cache · Vision · Web
Microsoft Azure (Europa)azure/gpt-4.1@eu
Europa
1.05M
$2.2
$8.8
$0.55
Tools · JSON · Cache · Vision
Microsoft Azure (USA)azure/gpt-4.1@us
USA
1,05 Mio.
$2.2
$8.8
$0.55
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.64 s
Microsoft Azure (Europa)
Lowest latency
0.9 s
OpenAI (USA)
Highest throughput
37.61 tok/s
Microsoft Azure
Best availability
100%
OpenAI (USA)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Microsoft Azure
0.64 s
3.67 s
7.15 s
37.61 tok/s
99.95%
32.8%
0%
0.07%
OpenAI (USA)
0.79 s
0.9 s
1.89 s
36.19 tok/s
100%
14.06%
0%
0%
Microsoft Azure (Europa)
0.64 s
3.75 s
7.35 s
37.5 tok/s
99.95%
32.24%
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: Weltweit, Europa, USA. All of them are called with the same Eden AI API key.

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