OpenAI

GPT-4 Pricing

API pricing for GPT-4 by OpenAI. Input tokens cost $30/1M, output tokens cost $60/1M with 8K context window.

Last updated:

ToolsVision

Input Cost

$30

per 1M tokens

Output Cost

$60

per 1M tokens

Context Window

8K

tokens

Cost Calculator

Estimated Cost:

$0.00

Model Details

Provider OpenAI
Model ID gpt-4
Context Window 8K tokens
Max Output 8192 tokens
Release Date 2023-11-06

Compare Alternatives

Model Input Output Context
GPT-4 (this model) $30 $60 8K
Claude Opus 3 Anthropic $15 $75 200K
Claude Opus 4 Anthropic $15 $75 200K
Claude Opus 4 (latest) Anthropic $15 $75 200K
Claude Opus 4.1 Anthropic $15 $75 200K
Claude Opus 4.1 (latest) Anthropic $15 $75 200K

Available from Resellers

GPT-4 is also available through these resellers and gateways:

Reseller Model Input Output
Abacus GPT-4.1 $2 $8
Abacus GPT-4.1 Mini $0.4 $1.6
Abacus GPT-4.1 Nano $0.1 $0.4
Abacus GPT-4o (2024-11-20) $2.5 $10
Abacus GPT-4o Mini $0.15 $0.6
AIHubMix GPT-4.1 $2 $8
AIHubMix GPT-4.1 mini $0.4 $1.6
AIHubMix GPT-4.1 nano $0.1 $0.4
AIHubMix GPT-4o $2.5 $10
AIHubMix GPT-4o (2024-11-20) $2.5 $10
← Back to All Models