Menu

Agentic API billing

Include API calls in your plan. Charge for the extra usage.

Record HTTP API requests and MCP tool calls in a dedicated named meter. Give customers an included allocation, then charge overages from PAYG credit with single or graduated pricing.

✓Included call allocation
✓PAYG credit overages
✓Graduated pricing
✓Usage forecasts

Configure

Define your call allowance.

Choose the meter name, replenishment period, included calls and overage funding for each plan.

  • Set an included allocation or unlimited usage
  • Price overages per call or in graduated tiers
  • Fund extra usage with PAYG credit

Report

Record each completed operation.

Report one unit per request or tool call using the same SDK method as custom meters.

  • Report quantities without model or token fields
  • Reuse idempotency keys for retries
  • Attach customer, end-user, feature and tags

Observe

Follow usage, behavior, and billing.

See API and MCP usage in Live View, embedded meter activity, and forecasts. Guard is included with Meter and compares reported application feature and task-type consumption shares and API call rate once enough usable data is available. Credit charges settle asynchronously.

  • Forecast call usage and allowance runout
  • Investigate behavior changes with opt-in email and Slack alerts
  • Inspect settled overages in the credit ledger
Explore Guard for API and agent usage →

Implementation pattern

Perform work, then report the call.

The Agentic & API Calls meter uses custom meter accounting. It does not authorize work before execution, reserve credit, or enforce a rolling rate limit.

Integrate the call meter

Make API and MCP usage part of your pricing.

Start with one workflow, an included allowance, and a clear price for extra calls.