Prompt Cost Calculator

Calculate API costs for OpenAI, Claude, and Gemini models

~18 tokens
~110 tokens

Token Usage

Input Tokens40
Output Tokens80

Input

$2.5

per 1M tokens

Output

$10

per 1M tokens

Cost Breakdown

Input (40 tokens)$0.000100
Output (80 tokens)$0.000800
Total Cost$0.000900

Cost per Requests

100 requests$0.0900
1,000 requests$0.9000
10,000 requests$9.00

Monthly Estimate

10/day$0.2700/mo
50/day$1.35/mo
100/day$2.70/mo
500/day$13.50/mo
1000/day$27.00/mo

Compare All Models

Cheapest: Gemini 1.5 Flash
Gemini 1.5 FlashBest

$0.000027

$0.000003$0.000024
GPT-4o Mini

$0.000054

$0.000006$0.000048
Gemini 1.5 Pro

$0.000450

$0.000050$0.000400
GPT-4o

$0.000900

$0.000100$0.000800
Claude 3.5 Sonnet

$0.001320

$0.000120$0.001200
GPT-4

$0.006000

$0.001200$0.004800
Claude 3 Opus

$0.006600

$0.000600$0.006000

What is Prompt Cost Calculator?

Prompt Cost Calculator is a free online tool for students and developers learning AI — handy for estimating what an AI prompt will cost before you send it. It runs fully in your browser: fast, private and free forever, with no account needed.

How to use Prompt Cost Calculator?

Step 1: Use the live controls in the tool above — it runs on this page. Step 2: Add your data or settings as the screen prompts. Step 3: Run the tool, then copy or download the result. Everything happens locally in your browser, so large inputs stay private.

Frequently Asked Questions — Prompt Cost Calculator

Is Prompt Cost Calculator free to use?

Yes — Prompt Cost Calculator is a free online tool by DSWallah. No signup, no install, no limits for normal use. It runs entirely in your browser.

Do I need to install anything for Prompt Cost Calculator?

No. Prompt Cost Calculator works online in Chrome, Edge, Firefox or Safari on mobile and desktop. Your data never leaves your device.

Who should use Prompt Cost Calculator?

Prompt Cost Calculator is built for students and developers learning AI — useful for estimating what an AI prompt will cost before you send it. DSWallah students use it daily in our AI Course and Gen AI Course batches.

Learn the skill behind the tool: AI Course in Lucknow · Gen AI Course

Related free tools: Ai Chat · Ai Code Explainer · Ai Python Quiz · Backpropagation Visualizer

Popular courses: Data Science Course in Lucknow · AI Course in Lucknow · Python Course in Lucknow · Power BI Course · Data Analytics Course