Skip to main content

Access to Diem/USD balance on inference only API's

We're building Dandolo.ai, a decentralized AI inference marketplace that routes requests across multiple Venice.ai providers, and we've hit a critical limitation: inference-only API keys cannot access balance data from the /api/v1/api_keys/rate_limits endpoint, which requires admin keys. Our platform allows providers to register their Venice.ai keys with us to serve AI requests, and we need to programmatically check their VCU/Diem balances to prevent failed requests, calculate fair rewards based on usage, and determine provider availability - but we cannot ask providers to trust us with admin keys that could access their VVV tokens or billing information. Without balance visibility, we cannot scale beyond manual balance entry, fairly distribute rewards, or efficiently route requests based on available credits. We request that Venice.ai either: (1) create a balance-only endpoint accessible to inference keys, (2) include balance information in inference response headers (e.g., X-Venice-Balance-VCU), (3) provide webhook notifications for balance updates, or (4) introduce a new scoped API key type with read-balance and inference permissions but no access to sensitive billing or token management. This enhancement would enable an entire ecosystem of third-party applications to build on Venice.ai while maintaining security best practices, as developers could track usage and balances programmatically without requiring dangerous admin-level access.

Status: Backlog2 comments

Log in to comment and vote

Comments2

  • Turquoise Lake

    •

    Oct 4

    I’m guessing and I’m thinking that this is exactly why I have a subscription renewed two days ago and can’t get into my subscription anymore and it’s saying I have some kind of USD balance of $8.53. What I don’t even know what that is why I mean that if I have a balance why would not let me pay it it’s not even letting me pay nothing this is so ridiculous. I’m fighting my ass off just to get on here and I paid for it and I’m getting refused

  • JP

    Team•

    Aug 29, 2025

    Thanks for your report.

    Balance data is included in the response headers depending on the currency that was used in the request. The headers are:

    • x-venice-balance-usd - Represents the remainingUSD balance

    • x-venice-balance-vcu - Represents the remaining legacy VCU balance which is being deprecated

    • x-venice-balance-diem - Represents the remaining DIEM balance

    I believe that should solve your issue?

    Please reach out on Discord or to our support team if you need further assistance.