Watch the replay of our latest webinar (Feb 11th) on YoutubeWatch now

OpenAI GPT API Pricing Calculator

Wondering about how the OpenAI GPT and other AI model pricing works? Here's a pricing calculator for OpenAI GPT API, Anthropic Claude API, Mistral API and Google Gemini API.

Provider
OpenAI
OpenAI
OpenAI
OpenAI
OpenAI
Anthropic
Anthropic
DeepSeek
DeepSeek
Google
Google
Mistral
Mistral
Model
gpt-4o-mini
gpt-4o
o1-mini
o1
o3-mini
claude-3.5-haiku
claude-3.5-sonnet
deepseek-chat
deepseek-reasoner
gemini-1.5-flash
gemini-1.5-pro
mistral-small
mistral-large
Input price for 1M tokens
$0.15
$2.50
$1.10
$15.00
$1.10
$0.25
$3.00
$0.27
$0.55
$0.07
$1.25
$0.10
$2.00
Output price for 1M tokens
$0.60
$10.00
$4.40
$60.00
$4.40
$1.25
$15.00
$1.10
$2.19
$0.30
$5.00
$0.30
$6.00
Price per API call
$0.0003
$0.0053
$0.0023
$0.0315
$0.0023
$0.0006
$0.0078
$0.0006
$0.0011
$0.0002
$0.0026
$0.0002
$0.0032
Total price
$0.03
$0.53
$0.23
$3.15
$0.23
$0.07
$0.78
$0.06
$0.11
$0.02
$0.26
$0.02
$0.32

Discover ChatGPT for Spreadsheets

Bring ChatGPT and other AIs directly into spreadsheets to automate bulk text processing and assist you with formulas

Discover ChatGPT for Documents

Turn ChatGPT and other AIs into your personal writing assistants available directly in documents

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.