Billing
Overview
Billing
Read credits, usage, and billing settings
GET
Billing
Billing endpoints use:
Billing endpoints are organization-admin surfaces unless noted otherwise. Usage is returned at the customer-facing resource level: model tokens, sandbox runtime, storage, tool executions, and credit balance. Platform-internal provider routing is not exposed.
Usage rows include:
Plan And Credits
cURL
Usage
GET /v1/billing/my-usage returns usage for the authenticated admin by default. Pass all=true to include per-member rows for the organization.
string
default:"current"
One of
current, 7d, 30d, or all_time.boolean
Admin-only: include all organization members and aggregate org totals.
cURL
SDK
BYOK model calls use customer-provided keys and are not charged as Platform inference.
Top Up Credits
cURL
cURL