GPT-4o

gpt-4o by OpenAI Released November 21, 2024
Function Calling · Strukturierte Ausgabe · Prompt-Caching · Websuche · Bildeingabe · Dateieingabe · EU-Hosting
Input from
$2.5 / 1M
Output from
$10 / 1M
Cached input from
$1.25 / 1M
Context window
128K
Endpoints
5
from 3 providers
Regions
Weltweit, Europa, USA

About GPT-4o

GPT-4o („o“ steht für „omni“) ist das neueste KI-Modell von OpenAI, das sowohl Text- als auch Bildeingaben unterstützt und Textausgaben liefert.

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

Providers and prices

5 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 Azureazure/gpt-4o
Weltweit
128K
$2.5
$10
$1.25
Tools · JSON · Cache · Vision
OpenAI (USA)openai/gpt-4o
USA
128K
$2.5
$10
$1.25
Offiziell · Tools · JSON · Cache · Vision · Web
Microsoft Azuremicrosoft/gpt-4o
Weltweit
128K
$2.5
$10
$1.25
Tools · JSON · Cache · Vision
Microsoft Azure (Europa)azure/gpt-4o@eu
Europa
128K
$2.75
$11
$1.375
Tools · JSON · Cache · Vision
Microsoft Azure (USA)azure/gpt-4o@us
USA
128K
$2.75
$11
$1.375
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.35 s
Microsoft Azure (Europa)
Lowest latency
0.54 s
Microsoft Azure (Europa)
Highest throughput
45.47 tok/s
Microsoft Azure
Best availability
100%
Microsoft Azure (Europa)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Microsoft Azure
2.49 s
2.62 s
14.15 s
19.28 tok/s
100%
88.28%
14.01%
0%
OpenAI (USA)
0.71 s
0.66 s
5.06 s
3.86 tok/s
100%
22.64%
0%
0%
Microsoft Azure
1.73 s
4 s
18.06 s
45.47 tok/s
100%
78.36%
0%
0%
Microsoft Azure (Europa)
0.35 s
0.54 s
2.41 s
26.64 tok/s
100%
46.35%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

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

Questions about GPT-4o

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

Up to 128K tokens, depending on the endpoint.

5 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 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? In den letzten 30 Tagen kam das schnellste erste Token nach 0,35 s (Microsoft Azure (Europa)) und der höchste Durchsatz lag bei 45,47 Tokens pro Sekunde (Microsoft Azure).