Model API
GPT-4o API
OpenAI's flagship multimodal model. Strong reasoning, tool use, and vision; the right default when GPT-4o-mini is not capable enough.
Model ID
gpt-4o
Provider
openai
Capability
chat
Status
Available
Pricing and limits
tokens in
$2.50 / 1M input tokens
tokens out
$10.00 / 1M output tokens
- Context length
- 128,000
- Max output
- 16,384
- Release date
- 2024-05
- Knowledge cutoff
- 2023-10
Use this model
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.AIDUCT_API_KEY,
baseURL: "https://api.aiduct.ai/v1",
});
const response = await client.chat.completions.create({
model: "gpt-4o",
messages: [{ role: "user", content: "Say hello in one sentence." }],
});Supported parameters
messagestemperaturetop_pmax_tokensstreamstoptoolstool_choiceresponse_formatuser
This model page is backed by the live Aiduct model catalog. Long-form generated notes are not available for this slug yet, but the model ID, provider, pricing rows, and supported parameters above are still crawlable.