{"uid":"cap_PsPutNaSgpVOTld-QiejU","slug":"venice-ai-billing-balance-45140802","name":"Venice AI Billing Balance","description":"Get current balance information for the authenticated user. Returns remaining DIEM/USD balances and total DIEM epoch allocation for calculating usage percentage.","url":"https://api.venice.ai/api/v1/billing/balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object","example":{"balances":{"usd":25,"diem":90.5},"canConsume":true,"consumptionCurrency":"DIEM","diemEpochAllocation":100},"required":["canConsume","consumptionCurrency","balances","diemEpochAllocation"],"properties":{"balances":{"type":"object","required":["diem","usd"],"properties":{"usd":{"type":"number","example":25,"nullable":true,"description":"Remaining USD balance. Null if not available."},"diem":{"type":"number","example":90.5,"nullable":true,"description":"Remaining DIEM balance for current epoch. Null if not staking."}}},"canConsume":{"type":"boolean","example":true,"description":"Whether the user has sufficient balance to make API requests"},"consumptionCurrency":{"enum":["USD","VCU","DIEM","BUNDLED_CREDITS"],"type":"string","example":"DIEM","nullable":true,"description":"The currency that will be used for consumption (DIEM or USD)"},"diemEpochAllocation":{"type":"number","example":100,"description":"Total DIEM allocation for the current epoch (from staking). Use with balances.diem to calculate usage percentage."}},"description":"Current balance information for the authenticated user","additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402","ai_ml"],"displayCostAmount":"10","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7Z-K6294QXIhKvuJhZXTk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the authenticated user's current DIEM and USD billing balances, consumption currency, and total DIEM epoch allocation for the Venice AI platform.","exampleAgentPrompt":"What's my current Venice AI balance — show me my remaining DIEM and USD credits, whether I can still make API calls, and how much of my epoch allocation I've used.","exampleUseCases":null,"resultDescription":"Returns an object with: balances.usd (remaining USD balance), balances.diem (remaining DIEM balance for the current epoch), canConsume (boolean indicating whether the account can make further API requests), consumptionCurrency (one of USD, VCU, DIEM, BUNDLED_CREDITS indicating what is being billed), and diemEpochAllocation (total DIEM allocated for the current staking epoch, useful for computing usage percentage).","failureModes":["Unauthenticated request returns 401 unauthorized","Invalid or expired API key returns 403 forbidden","Service unavailability returns 503","balances.diem is null if user is not staking","balances.usd is null if USD balance is not available for the account type","consumptionCurrency is null if account has no active billing method"],"whenToPreferThis":"Use this endpoint when you need to check the authenticated user's current billing status on Venice AI — specifically their remaining DIEM or USD balance, whether they are eligible to make further API calls, and what fraction of their epoch DIEM allocation remains. Prefer this over the Rate Limits endpoint when the focus is on credit/balance visibility rather than rate limit details, and over Usage Analytics when you want a snapshot rather than historical usage data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:30:27.025Z","isFirstParty":false,"canonicalSlug":"venice-ai-billing-balance-45140802"}