Provider cost methodology

Open formula. Browser-based calculations. Source-dated rates. No API keys. No provider login. No tracing SDK. No account required. Input payloads are not stored.
Pricing source date: 2026-05-28 · Build verification: 2026-05-28 · Stale threshold: 30 days. Estimates use published per-token API pricing for the model/provider path shown by the calculator, reviewed on the source date shown. Provider rates change frequently; verify current pricing on the provider's own page before committing to traffic volume, eval cadence, or agent-loop workload shape.

Converts per-call token shape and monthly volume into provider/model spend, then compares alternatives from the committed pricing table.

Formula

monthly_cost = ((tokens_in * calls_per_month) / 1,000,000 * input_rate) + ((tokens_out * calls_per_month) / 1,000,000 * output_rate)

Primary source register

Rates come from src/lib/pricing_table.js with source URLs listed in the provider-pricing register. Verify current provider rates before procurement decisions.

Included assumptions

Excluded assumptions

Architecture-cost audit

Context growthDocument tokens, system overhead, output reserve, and cumulative context requirements.

Diagnostic output

This tool returns Cost classification, Dominant cost driver, Decision threshold, and Sensitivity. Diagnostic focus: Dominant spend driver and routing threshold between budget/mid/premium models..

Affiliate link. Model Ruler may earn a commission if you sign up. This does not affect what you pay.

Return to calculator