{"uid":"cap_szQDqG3quyjWMPAkm8vqs","slug":"venice-ai-rate-limits-0e3e74d8","name":"Venice AI Rate Limits","description":"Return details about user balances and rate limits.","url":"https://api.venice.ai/api/v1/api_keys/rate_limits?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["accessPermitted","apiTier","balances","keyExpiration","nextEpochBegins","rateLimits"],"properties":{"apiTier":{"type":"object","required":["id","isCharged"],"properties":{"id":{"type":"string","example":"paid","description":"The ID of the API tier."},"isCharged":{"type":"boolean","example":true,"description":"Is the API key pay per use (in Diem or USD)."}}},"balances":{"type":"object","properties":{"USD":{"type":"number","example":50.23,"description":"The USD balance of the key."},"DIEM":{"type":"number","example":100.023,"description":"The Diem balance of the key."}}},"rateLimits":{"type":"array","items":{"type":"object","required":["rateLimits"],"properties":{"apiModelId":{"type":"string","example":"zai-org-glm-5-1","description":"The ID of the API model."},"rateLimits":{"type":"array","items":{"type":"object","required":["amount","type"],"properties":{"type":{"type":"string","example":"RPM","description":"The time period for the rate limit. Can be Requests Per Minute (RPM), Requests Per Day (RPD), or Tokens Per Minute (TPM)."},"amount":{"type":"number","example":100,"description":"The rate limit for the API model."}}}}}}},"keyExpiration":{"type":"string","example":"2025-06-01T00:00:00.000Z","nullable":true,"description":"The timestamp the API key expires. If null, the key never expires."},"accessPermitted":{"type":"boolean","example":true,"description":"Does the API key have access to consume the inference APIs?"},"nextEpochBegins":{"type":"string","example":"2025-05-07T00:00:00.000Z","description":"The timestamp when the next epoch begins. This is relevant for rate limits that reset at the start of each epoch."}}}}},"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_F9G8VEg3HiTOYiSHgTO56","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 current API key rate limits, tier information, balances, and access permissions for the authenticated Venice AI user.","exampleAgentPrompt":"Can you check my Venice AI API key status — I want to know my current rate limits for each model, my USD and DIEM balances, whether my key has inference access, and when the next rate limit epoch resets?","exampleUseCases":null,"resultDescription":"Returns an object containing: whether access is permitted, API tier details (ID and whether it's pay-per-use), current USD and DIEM balances, per-model rate limits (RPM, RPD, TPM), key expiration timestamp (or null if never expires), and the timestamp when the next rate-limit epoch begins.","failureModes":["Invalid or missing API key returns 401 unauthorized","Expired API key returns access denied","Rate limit on this meta-endpoint itself may return 429","Network timeout returns connection error","Malformed authentication header returns 400 bad request"],"whenToPreferThis":"Use this endpoint when you need to check remaining Venice AI API quotas before making expensive inference calls, verify account balance sufficiency, confirm API key validity and tier, or determine when rate limits reset. Prefer this over the Balance endpoint when you need the full picture including per-model rate limits and epoch timing, not just balance figures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:30:50.738Z","isFirstParty":false,"canonicalSlug":"venice-ai-rate-limits-0e3e74d8"}