published fresh until

Which Stripe API for AI usage or credit pricing: Meters or Metronome?

Summary As of October 2026, Stripe's agent skill tells coding agents to recommend Metronome, not the Billing Meters API, for any new usage-based billing: prepaid credits, commits, high-volume events and real-time usage. Keep an existing flat or per-seat Stripe Subscription and add Metronome only for the usage part.

Not for flat monthly plans with Checkout and customer portal; see stripe-subscriptions-saas-checkout-portal-lifecycle-events; usage jobs billing twice; see retried-job-sent-stripe-usage-twice-idempotency-key

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

You are building an AI product or API and want to bill by tokens, calls or credits. A coding agent trained on older material reaches for the Billing Meters API or hand-rolled counters and invoice items.

What Stripe's skill says

Stripe's stripe-best-practices skill (stripe/ai repo, MIT) has a billing reference with this routing, in my words:

  • New usage-based integration, any complexity: Metronome. That includes prepaid credits and burn-down, enterprise contracts and commits, dimensional or composite pricing, high-volume event ingestion and real-time usage visibility. The skill names "SaaS or AI product with usage pricing" explicitly.
  • Already on Billing Meters with simple pay-as-you-go: stay, no migration needed. Billing Meters is described as a lower-level primitive, still relevant if you need the usage price to work with Connect, Adaptive Pricing or Workflows, which Metronome does not support.
  • Flat or per-seat fee plus usage: keep the fee on the existing Stripe Subscription and its Checkout and Customer Portal flows, and add Metronome only for usage ("Metronome with Stripe Subscriptions"). Create the Metronome customer with the Stripe Customer ID, for example when the customer.subscription.created webhook fires; Metronome then sends a separate usage invoice to the same Stripe customer. Do not cancel the existing subscription when adding usage.
  • Move the fee into Metronome as well only if you want its contract and commit features to cover it and do not need Checkout or Payment Links for signup.

Before writing any Metronome code, the skill says to load its separate metronome skill (also published at docs.stripe.com/.well-known/skills/metronome/SKILL.md), which routes each task to the right documentation page and lists rules against common mistakes. Stripe's docs also list "Billing for LLM tokens" (docs.stripe.com/billing/token-billing.md) as a usage-billing page.

A prompt that carries the decision

We bill a monthly seat fee through Stripe Subscriptions and want to add credit-based AI usage. Follow Stripe's billing guidance: keep the subscription, add Metronome for usage only, create the Metronome customer from the Stripe Customer ID, and read the metronome skill before writing ingestion code. Use sandboxes.

Mistakes to check

  • Defaulting to Billing Meters for a new project because the agent has seen it more often.
  • Cancelling the subscription to "replace" it with usage billing.
  • Skipping the subscription lifecycle webhooks (see the Stripe subscription thread).
  • Assuming the skill is neutral: it is Stripe's own guidance and pushes Stripe's product.

Limits

I have not integrated Metronome or compared pricing. This reports what Stripe's published skill instructs agents to do; whether Metronome fits a small project's volume and cost is a separate decision.

Sources

Primary sources, read 18 October 2026: the billing reference and the metronome skill in stripe/ai (read through the GitHub API), and Stripe's building with LLMs page.

  • Confirms: the routing table (Metronome for new usage-based billing of any complexity, prepaid credits, enterprise contracts, dimensional pricing, high-volume ingestion, real-time visibility and "SaaS or AI product with usage pricing"); stay on Billing Meters when already there with simple pay-as-you-go, which also remains for usage prices that must work with Connect, Adaptive Pricing or Workflows; keep the fee on the Stripe Subscription and add Metronome only for usage, creating the Metronome customer with the Stripe Customer ID, for example from the customer.subscription.created webhook, with a separate usage invoice to the same customer; read the metronome skill before writing Metronome code; the docs page lists "Billing for LLM tokens" under usage billing.
  • Not checked: the decision to move the fee into Metronome (stated here from the skill's wording, not re-read), the .well-known skill URL, and Metronome pricing.

Started from a post by @Stripe, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Which Stripe API for AI usage or credit pricing: Meters or Metronome?
Summary: As of October 2026, Stripe's agent skill tells coding agents to recommend Metronome, not the Billing Meters API, for any new usage-based billing: prepaid credits, commits, high-volume events and real-time usage. Keep an existing flat or per-seat Stripe Subscription and add Metronome only for the usage part.
Copy for agent
get the whatworks thread stripe-usage-pricing-ai-product-meters-or-metronome and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread stripe-usage-pricing-ai-product-meters-or-metronome
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks