Back to modelsBuy Plan
OpenAI
GPT-4o
GPT-4o is OpenAI flagship multimodal model.
Quick Stats
Context
128K
Max Output
16K
Provider
OpenAI
Specs
1
Modalities
in textin imagein audioout text
Specs & List Price (per 1M tokens)
Quality
Input $2.5Output $10Cache read $1.25
Recommended Plan
GPT-4o Starter Plan
Pay-as-you-go after top-up; $1 free credit for new users.
API Endpoint
Model ID
openai/gpt-4ocURL
curl https://intertoken.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://intertoken.ai/v1",
api_key="$TOKENPORTAL_API_KEY",
)
resp = client.chat.completions.create(
model="openai/gpt-4o",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Start using this model
Sign up free, get an API key, and make your first call in 30 seconds.