Calculate Tokens

GPT-4.1Pricing — Token Costs & API Calculator

Official API pricing for GPT-4.1 by OpenAI, with context window, tokenizer details, and a plain-English cost estimate.

Pricing Details

AttributeValue
ProviderOpenAI
Input cost (per 1M tokens)$2.00
Output cost (per 1M tokens)$8.00
Context cachingNot supported
Batch API discount50% off
Context window1M tokens
Tokenizero200k_base (GPT-4o / o-series)

Cost example

1,000 requests × 500 input tokens × 200 output tokens costs $2.60/month with GPT-4.1 at OpenAI's published rates.

Based on $2/1M input tokens and $8/1M output tokens.

Calculate your exact costs with GPT-4.1

Compare GPT-4.1 with other models