Quick Start
Make your first API call in under 5 minutes
Staged Deduction
Freeze before generation, settle after
API Reference
Complete endpoint reference with examples
Dashboard
Manage customers, keys, and ledger in the UI
How Velobase works
Velobase acts as a credit bank between your application and your customers. You top up a customer’s balance, and your app deducts credits as users consume AI features.Get an API key
Sign in to the Velobase Dashboard, create a project, and generate an API key under Project Settings → API Keys.
Deposit credits for a user
Call
POST /v1/billing/deposit with a customer_id and an amount. Velobase creates the customer automatically if they don’t exist yet.Charge credits for AI work
Use direct deduction for fixed-price tasks, or the freeze → consume flow for LLM calls where cost is only known after generation.
Choose a billing flow
Direct Deduction
Charge immediately when cost is known upfront — image generation, fixed-price API calls.
Staged Deduction
Freeze a maximum budget, then consume the actual cost — LLM inference, async tasks.
Depositing Credits
Top up customer balances, set expiry dates, and manage wallet categories.
MCP Server
Let your AI coding assistant write the integration code for you.