Lava bills paid providers from your account balance. Free providers run without funds; paid providers (most model APIs and many data services) charge per call. This guide covers funding, balance checks, usage history, and what to do when a call fails on insufficient balance. Your account balance is sometimes called your wallet balance — same number, different label. The dashboard uses “wallet” as the section name; the chat tools (Documentation Index
Fetch the complete documentation index at: https://lava.so/docs/llms.txt
Use this file to discover all available pages before exploring further.
get_balance, add_funds) operate on the same balance.
Prerequisites
- A Lava account.
- The Lava MCP installed in your AI chat. See the Quickstart if you haven’t done this yet.
Add Funds via the Dashboard
The dashboard is the simplest path for the first deposit, since it lets you save a payment method for later in-chat top-ups.- Open
https://www.lava.so/dashboard/wallet. - Click “Add Funds”.
- Enter an amount between 10,000.
- Add a payment method or select a saved one.
- Confirm the charge.
Add Funds from Your Chat
Once you have a saved payment method, you can top up without leaving the chat. Type:add_funds with the amount. There are three possible outcomes:
- You have a saved payment method. Lava charges it directly and returns the new balance.
-
You have no saved payment method. Lava returns a hint suggesting
use_checkout: true. Ask the chat to open the browser checkout:Lava returns a checkout URL. Open it, complete payment in the browser, and return to your chat. -
You called
add_fundswith no arguments. Lava returns your saved payment methods plus current wallet state, so you can pick a method.
Check Your Balance
From the chat:get_balance and returns the current wallet balance:
https://www.lava.so/dashboard/wallet) shows the same balance, plus a chart of recent activity.
Review Usage
Lava tracks every call your chat makes. Two views:Daily Summary (Default)
Ask the chat for a summary:get_usage_history in summary mode. It returns daily aggregates: spend per day, request counts per day, broken out by provider.
To widen the window, name a start date:
start date. Optionally pass end to bound the window on both sides.
Per-Request List
Ask for individual calls:get_usage_history with mode: "requests" and limit: 20. Each entry shows the provider, model (if applicable), cost, and status. Pagination uses the returned cursor.
Insufficient-Balance Behavior
When a paid call exceeds your wallet balance, Lava returns:How to Recover
- Top up the wallet — see Add Funds from Your Chat above. The minimum is $10.
- Retry the call.
get_usage_history to size your top-ups against actual spend.
Spend Keys (Advanced)
Lava also supports Spend Keys — API keys with a wallet attached, useful for sharing budget with agents or other tools without sharing your account. Spend Keys are configured outside the MCP. See Spend Keys overview for setup.Troubleshooting
”I funded but the chat still shows zero balance”
Some chat clients cache balance. Ask the chat for the balance again, or refresh the dashboard.”Payment method failed”
Check the dashboard for the failure reason. Common causes: card declined by the issuer, expired card, billing address mismatch. Update the payment method inhttps://www.lava.so/dashboard/wallet and retry.
”I want to charge in a currency other than USD”
Lava bills in USD only. Currency conversion happens at the card issuer’s exchange rate.Next Steps
- How to Connect Services through Lava MCP — once funded, you may want to add more services.
- Lava MCP Tool Reference — full parameter detail for
add_funds,get_balance,get_usage_history, andcreate_referral.