Measure external AI tool charges alongside model spend

Separate model billing from costs for retrieval, paid APIs and downstream services. An agent’s model call can remain inexpensive while its tools produce significant expenses.

Example

A search agent uses a low-cost model but makes five metered search requests per task. The usage report needs both categories.

What to do

  1. List tools invoked by each workflow and how they are billed. Map each call to the same task reference used for model usage.
  2. Trace a synthetic task with repeated tool calls and compare charges for model and tools separately.
  3. Report total cost per accepted task and identify any tool costs that can only be estimated.

How to verify

The task total includes both model and associated tool activity without merging their billing units.

Limits

Some tools are paid through a shared subscription. Label any allocation rule when no per-call charge exists.

Spendplane for this workflow

Estimate usage before committing to a model mix

Related reading