skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

venice-billing

Balance, usage, and billing analytics endpoints

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/veniceai/skills --skill venice-billing

Overview

What This Skill Does

Balance, usage, and billing analytics endpoints

Application

When to use this Skill

Documentation

Show Skills.md file

Venice Billing

Three read-only endpoints for account-level billing and analytics. All are under a Beta tag — schema/behavior may change.

Endpoint Purpose
GET /billing/balance Current canConsume flag, remaining DIEM & USD, epoch allocation.
GET /billing/usage Paginated per-request ledger. JSON or CSV.
GET /billing/usage-analytics Aggregated breakdowns: by date, model, API key.

All require Bearer auth (not x402 — for wallet balances, use venice-x402). GET /billing/balance and GET /billing/usage require an ADMIN key — an INFERENCE key gets 401. GET /billing/usage-analytics works on any authenticated key (scoped to the account behind the key).

Currency / priority

Venice debits from, in order:

  1. DIEM — staked credits (reset per epoch).
  2. BUNDLED_CREDITS — included in some Pro plans.
  3. USD — prepaid fiat balance.
  4. (VCU) — deprecated legacy DIEM.

consumptionCurrency on /billing/balance reports the current currency being consumed.

GET /billing/balance

Lines 1 - 25 of 205

Recommendations

Explore other random skills

All skillsMy patterns