← All tools

AI Prompt Cost Calculator

Enter your typical prompt size and call volume to compare what it costs per call, per thousand calls, and per month across popular LLM APIs. Everything runs in your browser — nothing is uploaded.

Editable rates ($ per 1M tokens)

Rates change — edit them to match current pricing. Prefilled with representative mid-2026 prices, not live data.
Model Input $/1M Output $/1M Cost / call Cost / 1K calls Cost / month
Monthly cost assumes 30 days at your calls/day.

About this tool

The math is simple and transparent: cost per call = (input tokens × input rate + output tokens × output rate) ÷ 1,000,000, then scaled to 1K calls and to a 30-day month at your daily volume. The cheapest model for your exact workload is highlighted, since the answer often flips depending on your input/output ratio. The prefilled rates are representative mid-2026 prices for on-demand API usage — they are not live and don't include batch discounts, cached-input pricing, or volume tiers, so edit the rate fields to match your provider's current pricing page before making decisions.

Nothing you type leaves the page — there is no server, no upload, and no tracking of tool inputs. All calculations happen in your browser.

Found this useful? 113 free, browser-only tools by Yuvrajsinh Jadav — an engineer who ships production AI systems. No account, nothing sent anywhere.