Token and API Costs

Prompt Cost Calculator

Estimate the recurring input cost of a pasted prompt across executions and source-linked model prices.

Interactive Tool

Build a Scenario

Runs in your browser
Model
Search by model, developer, or canonical ID.
ResultValueHow to read it
Characters78Including whitespace and punctuation.
Words13Whitespace-delimited word count.
Estimated tokens20Planning heuristic: approximately four characters per token.
Recurring input tokens2M100,000 executions.
Estimated monthly input cost$20.00$10.00 / 1M for Claude Fable 5.
Context used0%Against 1M tokens.

This is a transparent planning heuristic, not a tokenizer-exact count. Use provider usage fields or the exact tokenizer for billing reconciliation.

Inputs

What the Calculation Needs

3 input groups
InputHow it is used
Prompt textThe system prompt, schema, or repeated instruction block.
ExecutionsHow often the prompt is sent each month.
ModelSupplies sourced input pricing and context capacity.

Methodology

A transparent text-to-token heuristic estimates the prompt size, which is multiplied by executions and the model's input price.

How to Interpret the Result

Use the delta between prompt revisions rather than treating the estimate as an invoice. Provider usage fields remain the billing source of truth.

Boundaries

What the Result Does Not Prove

  1. Exact tokenization varies by model.
  2. Tool and message wrappers can add tokens outside the pasted text.
  3. Caching can materially reduce repeated-prefix cost when eligibility rules are met.

Catalog values retain their source and freshness on the linked model, provider, benchmark, or comparison page. Editable scenario assumptions are not Model Markets measurements.

Continue the Analysis

Related Tools

All tools →
ToolNext question
Token CounterGet a fast planning estimate before sending a prompt or document to a tokenizer-backed API.
Caching SavingsSeparate reusable prefix economics from total input volume before adopting prompt caching.
Coding Agent CostConvert an agent's observed hourly token burn into a monthly cost scenario.

Questions

Prompt Cost FAQs

What does the Prompt Cost Calculator calculate?+

Make the cost of a system prompt, tool schema, or repeated instruction visible before scale. It returns estimated prompt tokens, per-call input cost, monthly recurring cost, and annualized spend.

Does the Prompt Cost Calculator use current model data?+

Where the calculation needs model facts, it uses the current Model Markets catalog snapshot updated 2026-09-02. User-entered assumptions remain clearly editable, and unsupported values stay unknown rather than being inferred.

What should I verify before using the Prompt Cost Calculator result?+

Exact tokenization varies by model. Tool and message wrappers can add tokens outside the pasted text. Caching can materially reduce repeated-prefix cost when eligibility rules are met. Open the linked canonical records and primary sources before making a production or purchasing decision.

Send Feedback