Azure

GPT 4o

gpt-4o

Omni-era GPT for multimodal chat, practical coding, and general assistants

VisionTool CallingCachingWebJSON

Quick facts

Released
May 2024
Model type
Proprietary
Model family
GPT
Input modalities
Supports: Text, Image, PDF
Output modalities
Supports: Text
Available regions
USEU
Zero data retention
Yes
Available on nexos.ai
Yes

Pricing and specifications of GPT 4o

Explore GPT 4o pricing per million input, output, and cached tokens, along with its context window and maximum output limits.

Input / 1MOutput / 1MCached input / 1MContextMax output
$2.75$11.00$1.38128K16K

Available providers

Provider Region Input / 1M Output / 1M Cache / 1M ZDR
Azure EU $2.75 $11.00 $1.38
Azure US $2.75 $11.00 $1.38

Specifications

Context window

128K tokens

Max output

16K tokens

Input

Output

Quickstart

Start using GPT 4o

Model ID

gpt-4o

Base URL

https://api.nexos.ai/v1

Code

from openai import OpenAI

# Get your API key from the nexos.ai dashboard
client = OpenAI(
    base_url="https://api.nexos.ai/v1",
    api_key="YOUR_NEXOS_API_KEY",
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)
import OpenAI from 'openai';

// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
  baseURL: 'https://api.nexos.ai/v1',
  apiKey: 'YOUR_NEXOS_API_KEY',
});

const response = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [{ role: 'user', content: 'Hello!' }],
});

console.log(response.choices[0].message.content);
curl https://api.nexos.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Other OpenAI models

Models from OpenAI with comparable capabilities and pricing.

ModelInputOutputContextCapabilitiesRegion
GPT 4.1 nano$0.11$0.441M
VisionToolsCacheWebJSON
EU
GPT 5$1.38$11.00272K
VisionToolsCacheThinkWebJSON
EUGlobal
GPT 5 mini$0.28$2.20272K
VisionToolsCacheThinkWebJSON
USEUGlobal

Start building with GPT 4o

Access GPT 4o and 200+ other AI models through nexos.ai.

FAQ

Common questions about GPT 4o, its availability and usage.