O

GPT-4o

OpenAI

ChatCodeVisionReasoningPopular

About

OpenAI's most capable multimodal model. Excels at complex reasoning, coding, creative writing, and vision tasks. Supports both text and image inputs with industry-leading performance across benchmarks. Ideal for applications requiring the highest quality output across diverse use cases.

Provider

OpenAI

Context Window

128k tokens

Max Output

16,384 tokens

Model ID

openai/gpt-4o

Capabilities

Multimodal (text + image)Function callingJSON modeStreamingSystem prompts

API Usage

Drop-in compatible with any OpenAI client library.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deployai.dev/v1",
  apiKey: process.env.DEPLOYAI_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "openai/gpt-4o",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
});

console.log(completion.choices[0].message.content);

Related Models

View all