Velobase is an open-source, high-performance billing ledger designed for AI applications. When you build AI apps, billing is hard because you don’t know the exact cost upfront (e.g., streaming LLM output). Velobase solves this by acting as a high-speed “credit bank” for your application.Documentation Index
Fetch the complete documentation index at: https://docs.velobase.io/llms.txt
Use this file to discover all available pages before exploring further.
Core Capabilities
Freeze-Consume Model
Freeze-Consume Model
Safely freeze an estimated amount of credits before an AI generation, and consume the exact amount afterward. Zero risk of negative balances.
High Concurrency
High Concurrency
Built to handle thousands of token deductions per second without race conditions.
API First
API First
Manage customers, top up balances, and deduct credits purely via REST API.
Let’s Build
Don’t read about it — build with it. Head over to the Quickstart to make your first billing API call in under 5 minutes.Quickstart
Make your first API call in under 5 minutes.
Depositing credits
Wallet categories, validity periods, and balance management.
Direct deduction
Charge immediately when cost is known upfront.
Staged deduction
Freeze a budget, then settle the exact cost after.