OpenAI · MultimodalReleased 2024-05-13

gpt-4o

openai/gpt-4o id

GPT-4o from OpenAI has broad general knowledge and domain expertise allowing it to follow complex instructions in natural language and solve difficult problems accurately. It matches GPT-4 Turbo performance with a faster and cheaper API.

Tool useChatWeb search
Type
Use gpt-4o
# Drop-in OpenAI-compatible client
$ import { generateText } from 'ai'
$
$ const { text } = await generateText({
$ model: 'openai/gpt-4o',
$ baseURL: 'https://synapse.garden/api/v1',
$ apiKey: process.env.MG_KEY,
$ prompt: 'Why is the sky blue?',
$ })
128K
CONTEXT WINDOW
16.4K
MAX OUTPUT
$2.75/M
INPUT · PER M
$11.00/M
OUTPUT · PER M
PRICING

List prices, every modality.

RatePer million tokens · USD
Input$2.75/M
Output$11.00/M
Cache read$1.38/M
Honest list pricesHow we calculate prices
MORE FROM OPENAI

Other OpenAI models

See all 48
Model
Input
Output
Context
Type
FAQ · GPT-4O

Frequently asked

01 / 04

How do I call gpt-4o from my code?

Use the OpenAI or Anthropic SDK and point baseURL at https://synapse.garden/api/v1. Set model: ‘openai/gpt-4o and supply your Synapse Garden API key. No code changes beyond the base URL.

02 / 04

How much does gpt-4o cost?

Input: $2.75/M per million tokens. Output: $11.00/M per million tokens. The free tier includes a million tokens every month at no cost.

03 / 04

What's the context window for gpt-4o?

gpt-4o supports a context window of 128K tokens, with a maximum output of 16.4K tokens.

04 / 04

Do I need a separate Anthropic or OpenAI account?

No. Synapse Garden is the single API surface — one key gives you OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, xAI, Cohere, and more. Billing, rate limits, and audit logs are unified.

READY

Try gpt-4o in three minutes.

Sign up, create a key, drop our base URL into your existing client. The free tier includes a million tokens every month — no credit card.