TheToolRadar

GPT-4o (2024-05-13) API Cost Calculator

Estimate your monthly API costs for GPT-4o (2024-05-13) from Openai.

Pricing per 1M tokens

Input
$5.00
Output
$15.00
128K context4.1K max outputVisionFunction callingStreaming

Pricing last verified: Mar 21, 2026

30-Day Price History

Solid line: input price  ·  Dashed line: output price

Estimate Your Costs

What are you building?

Cost Breakdown

Input cost/request$0.002500
Output cost/request$0.004500
Cost per request$0.007000
Daily cost (1,000 requests)$7.00
Monthly estimate$210.00
Annual estimate$2,520.00

Compare with Similar Models

ModelInput/1MOutput/1M
GPT-5 Image
Openai
$10.00$10.00
GPT-5.4
Openai
$2.50$15.00
GPT-4o (extended)
Openai
$6.00$18.00
GPT-5.2
Openai
$1.75$14.00
GPT-5.2 Chat
Openai
$1.75$14.00

Frequently Asked Questions

How much does GPT-4o (2024-05-13) cost per token?

GPT-4o (2024-05-13) is priced at $5.00 per 1M input tokens and $15.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.

What is the context window for GPT-4o (2024-05-13)?

GPT-4o (2024-05-13) has a context window of 128K tokens (128,000 tokens). The maximum output length is 4.1K tokens.

Does GPT-4o (2024-05-13) support image inputs (vision)?

Yes, GPT-4o (2024-05-13) supports vision/image inputs. You can send images as part of your prompts.

Does GPT-4o (2024-05-13) support function calling (tool use)?

Yes, GPT-4o (2024-05-13) supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.

How does GPT-4o (2024-05-13) compare to similar models?

GPT-4o (2024-05-13) costs $5.00 input and $15.00 output per 1M tokens. GPT-5.2 Chat is less expensive at $1.75 input and $14.00 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the GPT-5.2 Chat page at /tools/cost-calculator/openai/gpt-5-2-chat.