GPT-4o (2024-05-13)

OpenAIMCP Tool Call
openai/gpt-4o-2024-05-13Closed API

GPT model for general reasoning, writing, coding, and tool-assisted tasks

Benchmark Pricing$5.00 / 1M in$15.00 / 1M out
Context: 128,000 tokens•Max Output: 4,096 tokens•Knowledge: 2023-09•Released: 2024-05-13

TECHNICAL SPECIFICATIONS

Context Window128,000128K tokens
Max Output4,0964.1K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVision
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ GPT-4o (2024-05-13) natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

Artificial Analysis Coding Indexindex
24.2
SciCodepercent correct
30.9

API CALL INVOCATION EXAMPLE

// Example: Calling GPT-4o (2024-05-13) via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "openai/gpt-4o-2024-05-13",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

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

PRICING BY PROVIDER

6 providers
OpenAIgpt-4o-2024-05-13
$5.00 / $15.00
AI/ML APIopenai/gpt-4o-2024-05-13
$6.50 / $19.50
Merge Gatewayopenai/gpt-4o-2024-05-13
$5.00 / $15.00
Kilo Gatewayopenai/gpt-4o-2024-05-13
$5.00 / $15.00
OpenRouteropenai/gpt-4o-2024-05-13
$5.00 / $15.00
OrcaRouteropenai/gpt-4o-2024-05-13
$5.00 / $15.00

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

MODEL RESOURCES