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

ModelInputOutputContext
GPT-4 (this model)$30$608K
o3-pro OpenAI$20$80200K
o1 OpenAI$15$60200K
Nano Banana 2 Google$0.5$6066K
Nano Banana 2 Google$0.5$6066K
Claude Fable 5 Anthropic$10$501M

Available from Resellers

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

ResellerModelInputOutput
302.AIchatgpt-4o-latest$5$15
302.AIgpt-4.1$2$8
302.AIgpt-4.1-mini$0.4$1.6
302.AIgpt-4.1-nano$0.1$0.4
302.AIgpt-4o$2.5$10
AbacusGPT-4.1$2$8
AbacusGPT-4.1 mini$0.4$1.6
AbacusGPT-4.1 nano$0.1$0.4
AbacusGPT-4o$2.5$10
AbacusGPT-4o (2024-11-20)$2.5$10
← Back to All Models