Skip to content

3D Prompt Cost Calculator

Private, client-side calculation

3D 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
๐ŸงŠ
๐Ÿ“ธ Your result card is ready
Download a snapshot of your result, share it, or send the link.
Prompt Usage Inputs
tok
tok
runs
%
$
$
%
$/mo
Cost Breakdown
๐Ÿ’ฌ

Calculate to see the token-cost split

Your result in 3D. Drag to turn.
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.

Related calculators

See all 25 Dev & Tech Calculators โ†’
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.