AI Cost Calculator
Real-time client-side estimator comparing token budgets, prompt cache savings, and monthly LLM spend across tiers.
Workload Parameters
Supports USD/CNY & multi-turn Agent loops
Demo baseline: primary coding, multimodal & long-context workflows
Monthly Cost Comparison Across Tiers
Click any row to selectConnected Articles, Works & Products
How to Use
- Choose an illustrative model tier or enter custom input/output prices per 1M tokens.
- Adjust average input tokens, output tokens, monthly requests, and prompt cache hit ratio.
- Watch for inline boundary alerts if values reach minimum/maximum limits or zero volume.
- Click Copy Summary to paste assumptions and cost projections into architecture memos.
Methodology & Boundaries
Effective Input Cost = [(Uncached Input × Input Rate) + (Cached Input × Input Rate × (1 - Cache Discount))] / 1,000,000; Output Cost = (Output × Output Rate) / 1,000,000; Monthly Spend = (Input + Output) × Monthly Requests.
Data Disclaimer: Built-in model tiers and CNY reference FX rate are clearly labeled demo baselines, not live vendor quotes. Use custom overrides for procurement math.
Example: RAG Q&A Endpoint
For 3,200 input tokens, 600 output tokens, 50,000 monthly requests, and 50% cache hit rate: Balanced Studio demo tier estimates ~$275/mo, and routing simpler queries to Fast Flash lowers spend further.
FAQ
Are my inputs sent to any server?
Never. All math executes locally in your browser with zero network requests.