Estimate AI token cost per request

Account for both prompt and response tokens before choosing a model for your first integration.

Example workflow

A short helpdesk draft uses about 1,000 input tokens and 200 output tokens. Multiply each by its provider’s price per million tokens, divide by one million, and add the two results.

What to check

  1. Use the same input and output lengths when comparing models. Include the system instructions and retrieved text in the input estimate.
  2. Scale the per-request figure to a full month. Save a separate estimate for long replies or repeated requests.

When Spendplane Free fits

Start with Spendplane’s Free cost planner to compare workloads. Use provider rates and measured token counts to refine the estimate before launch.

Related resources