Home / Providers / OpenAI / GPT-4
GPT-4 token cost
OpenAI · context 8,192 tokens · tokenizer Exact
Open in cost calculator · Count tokens · Full calculator · Official pricing
When to use GPT-4
Original GPT-4 API tier kept for legacy cost audits. Prefer GPT-4.1 or GPT-5 for new builds; use this row when older integrations still call gpt-4.
Pricing
- Input
- $30.00/1M
- Output
- $60.00/1M
- Verified
Official pricing source · Open main calculator · Cheaper models in this catalog
Legacy 8K context; verify availability.
Estimate with TokenCalculator
Preselect GPT-4 in the calculator to count tokens and project request or monthly cost. Exact vs Approx follows this model's tokenizer family. See the Exact vs Approx guide for honesty rules.
Compare
Related tools
Estimate API cost · Count tokens · Check context fit · Estimate cache savings · Compare batch pricing · Token visualizer
Related guides
LLM API pricing · Exact vs Approx · OpenAI token calculator · o200k vs cl100k: which OpenAI encoding counts your text?
Sources and references
Official documentation used for definitions, counting methods, or rate cards. Always confirm critical budgets on the provider page.