Billing

Get LLM token billing status

Returns whether LLM token billing is enabled, optional Stripe billing credit balance (metered scope), and estimated cycle usage from the upcoming invoice—including per-line metered rows when Stripe returns them (amounts; quantities such as tokens when present).

get/v1/billing/llm-token-billing

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/billing/llm-token-billing
  • Auth: HTTP bearer

Response

LLM token billing status

enabledboolean required
billing_model'postpaid_metered' required

Usage accrues on the Stripe subscription and is invoiced at the end of the billing period. credit_balance is Stripe's prepaid credit-grant balance, which is 0 unless a credit grant was issued; a 0 there does not block inference.

inference_allowedboolean required

Enabled and the subscription is not canceled/unpaid/expired.

subscription_status'active' | 'inactive'
active_subscription_countinteger
subscription_idsstring[]
warningstring

Changes

No recorded changes to this operation across all 1 revision of this API.