hadron-server PR hadron-memory/hadron-server#616 (spec 046, AI-credit billing Phase 0) added a GraphQL surface the CLI should cover per the feature-complete policy (#134):
Queries
modelPrice(ref) / modelPrices(provider, model, limit, offset) — authenticated read
creditLedgerEntries(orgRef, limit, offset) — org-ADMIN
creditBalance(orgRef) — org-ADMIN
Mutations
setModelPrice(input) — platform admin; appends an effective-dated rate row (micro-cents per MTok, base-10 integer strings)
grantCredits(input) — platform admin only
Suggested shape: hadron billing prices [ls|set], hadron billing ledger <org>, hadron billing balance <org>, hadron billing grant <org> <amount>. All bigint money fields travel as base-10 integer strings of micro-cents (1e-8 USD).
🤖 Generated with Claude Code
hadron-server PR hadron-memory/hadron-server#616 (spec 046, AI-credit billing Phase 0) added a GraphQL surface the CLI should cover per the feature-complete policy (#134):
Queries
modelPrice(ref)/modelPrices(provider, model, limit, offset)— authenticated readcreditLedgerEntries(orgRef, limit, offset)— org-ADMINcreditBalance(orgRef)— org-ADMINMutations
setModelPrice(input)— platform admin; appends an effective-dated rate row (micro-cents per MTok, base-10 integer strings)grantCredits(input)— platform admin onlySuggested shape:
hadron billing prices [ls|set],hadron billing ledger <org>,hadron billing balance <org>,hadron billing grant <org> <amount>. All bigint money fields travel as base-10 integer strings of micro-cents (1e-8 USD).🤖 Generated with Claude Code