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, Azure OpenAI APIs, Anthropic Claude API.

An execution includes both the prompt sent and the response.
Language: English

The language defines the way the words are divided into tokens, and therefore has an impact on the price.

English: 1 word ≈ 1.3 tokens
Spanish: 1 word ≈ 2 tokens
French: 1 word ≈ 2 tokens

Tokens per executionWords per executionPrice for 1 execution

This model has a different rate for prompt and completion. This price is computed with prompt tokens = completion tokens.

OpenAI price forexecutions

This model has a different rate for prompt and completion. This price is computed with prompt tokens = completion tokens.

Using GPT for Work
(Sheets or Excel)

Including OpenAI cost
108~$0.00002~$0.02~$0.04
2015~$0.00003~$0.03~$0.06
5038~$0.00008~$0.08~$0.16
10075~$0.00015~$0.15~$0.30
200150~$0.00030~$0.30~$0.60
500375~$0.00075~$0.75~$1.50
1000750~$0.00150~$1.50~$3.00
20001500~$0.00300~$3.00~$6.00
40003000~$0.00600~$6.00~$12.00

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.