TheToolRadar

GPT-4 API Cost Calculator

Estimate your monthly API costs for GPT-4 from Openai.

Pricing per 1M tokens

Input
$30.00
Output
$60.00
8.2K context4.1K max outputFunction 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.0150
Output cost/request$0.0180
Cost per request$0.0330
Daily cost (1,000 requests)$33.00
Monthly estimate$990.00
Annual estimate$11,880.00

Compare with Similar Models

ModelInput/1MOutput/1M
GPT-4 (older v0314)
Openai
$30.00$60.00
o3 Pro
Openai
$20.00$80.00
o1
Openai
$15.00$60.00
o3 Deep Research
Openai
$10.00$40.00
GPT-5 Pro
Openai
$15.00$120.00

Frequently Asked Questions

How much does GPT-4 cost per token?

GPT-4 is priced at $30.00 per 1M input tokens and $60.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-4?

GPT-4 has a context window of 8.2K tokens (8,191 tokens). The maximum output length is 4.1K tokens.

Does GPT-4 support function calling (tool use)?

Yes, GPT-4 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-4 compare to similar models?

GPT-4 costs $30.00 input and $60.00 output per 1M tokens. o3 Deep Research is less expensive at $10.00 input and $40.00 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the o3 Deep Research page at /tools/cost-calculator/openai/o3-deep-research.