Skip to content

Prompt Cost Calculator

Private, client-side calculation

Prompt Cost Calculator

Estimate AI prompt, completion and monthly token spend with retry and cache adjustments.

tok
tok
runs
STEP 01📝
Enter prompt shape
Add average input and output tokens per request.
STEP 02⚙️
Set pricing & usage
Choose model tier or custom token prices and monthly runs.
STEP 03💸
Forecast spend
Review monthly cost, per-run cost, retry impact and cache savings.
Monthly Cost
Enter usage
💸
Cost / Run
prompt + output
▶️
Cost / 1K Runs
scaled unit cost
📦
Monthly Tokens
billable after factors
🔢
Cache Savings
input-token discount
🧊
Prompt Usage Inputs
tok
tok
runs
%
$
$
%
$/mo
Cost Breakdown
💬

Calculate to see the token-cost split

Budget Pressure
📊

Budget usage appears after calculation

Prompt Cost Metrics
🧮

Metrics appear after calculation

✦ Result Explainer

Your explanation appears here

▣ Optimization Plan
📋

Your plan appears after calculation

◎ What If Simulator

Test different monthly runs and output length without changing the main result.

Calculate your baseline first

● Ask About Your Result
Calculate first, then ask about prompt cost, output tokens, cache savings or budget pressure.
Frequently Asked Questions

It multiplies input tokens by the input price and output tokens by the output price, scales by monthly runs, then adjusts for retries and cached-input discounts. All calculations run locally in your browser.

Many LLM APIs bill prompt/input tokens and completion/output tokens at different rates. Long completions can dominate spend even when prompts are short, so the calculator separates both sides.

The built-in tiers are editable planning presets, not live provider quotes. For production decisions, enter your provider’s current prices, cached-token rules, discounts and billing currency.

Calculation Disclaimer

Prompt cost results are planning estimates generated locally in your browser. They do not include taxes, credits, minimum fees, rate-limit effects, committed-use discounts, currency conversion, provider-specific rounding, fine-tuning, embeddings, storage, moderation, retrieval or tool-call fees. VisionVix accepts no liability for decisions based on this output.

Get Notified About New Tools
We're always shipping new calculators and mini tools. Leave your email and we'll let you know the moment a new one goes live. No spam — just new tools.
Something went wrong — try again.
You're on the list!
We'll email you the moment a new tool goes live. Keep an eye on your inbox.