Learn how to personalise outreach at scale in Google Sheets in our webinar on Dec 11th at 4 PM UTC. Register here 🚀

OpenAI GPT API Pricing Calculator

Estimate the cost of using various AI APIs such as OpenAI, Anthropic, Deepseek, Gemini, Mistral with this pricing calculator.

Provider
OpenAI
OpenAI
OpenAI
Anthropic
Anthropic
Anthropic
Google
Google
Mistral
xAI
xAI
DeepSeek
DeepSeek
Model
gpt-5.1
gpt-5-mini
gpt-5-nano
claude-opus-4.5
claude-sonnet-4.5
claude-haiku-4.5
gemini-2.5-flash
gemini-3-pro-preview
mistral-medium
grok-4.1-fast-reasoning
grok-4.1-fast-non-reasoning
deepseek-chat
deepseek-reasoner
Input price for 1M tokens
$1.10
$0.22
$0.04
$5.00
$3.00
$1.00
$0.07
$2.00
$0.40
$0.20
$0.20
$0.56
$0.28
Output price for 1M tokens
$9.00
$1.80
$0.36
$25.00
$15.00
$5.00
$0.30
$12.00
$2.00
$0.50
$0.50
$1.68
$0.42
Price per API call
$0.0046
$0.0009
$0.0002
$0.0130
$0.0078
$0.0026
$0.0002
$0.0062
$0.0010
$0.0003
$0.0003
$0.0009
$0.0002
Total price
$0.46
$0.09
$0.02
$1.30
$0.78
$0.26
$0.02
$0.62
$0.10
$0.03
$0.03
$0.09
$0.02

Use LLMs in bulk in Excel or Google Sheets

GPT for Work enables bulk LLM operations directly in spreadsheets. Process thousands of rows with ChatGPT, Claude, Gemini, and other AI models efficiently.

Video thumbnail

FAQ about OpenAI GPT API

What is an OpenAI token?

A token is a part of a text that can be word, subword, punctuation mark or symbol. It is the unit of account of OpenAI APIs. Read our guide on tokens here.

What is an OpenAI execution?

An OpenAI execution is the combination of the invite to OpenAI and the response from OpenAI.
All text in the prompt and response count for OpenAI billing.

What is an OpenAI prompt?

The OpenAI prompt is the instructions or question you send to OpenAI in order to get a response. It is text written in normal, natural language, for example:
Prompt: "Write a tagline for an ice cream shop".

What is an OpenAI response?

This is the response OpenAI gives you to the prompt you sent, for example:
Prompt: "Write a tagline for an ice cream shop"
Response: “We serve up smiles with every scoop!”

Can I set an OpenAI billing limit?

You can configure a billing limit in the OpenAI billing settings, in order to control your costs.

How to monitor my OpenAI API cost based on usage?

You can review your usage in the OpenAI dashboard usage section.
You can easily set a spending limit in the OpenAI dashboard billing section.