OpenAI

GPT-4o

Chat-15%
openai/gpt-4o

OpenAI's flagship multimodal model supporting text and image inputs with text outputs. Maintains GPT-4 Turbo intelligence at 2x speed and 50% lower cost. Optimized for complex reasoning, coding, and visual understanding tasks.

128K context window
16K max output tokens
Released: 2024-05-13
Supported Protocols:OpenAIopenai
Available Providers:AzureAzure
Capabilities:VisionFunction CallingPrompt CachingAudio Input

Providers

AzureAzure
-15%
Input Tokens
$2.13/M
$2.5/M
Output Tokens
$8.5/M
$10/M
Cache Read
$1.06/M
$1.25/M
Web Search
$0.01/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4o",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Frequently Asked Questions

GPT-4o on Ofox.ai costs $2.5/M per million input tokens and $10/M per million output tokens. Pay-as-you-go, no monthly fees.