# Venice AI Rate Limits

> Venice AI Rate Limits is a paid API for AI agents from api.venice.ai, paid per call via x402, $10/call, status unknown (last checked 2026-10-11).

Returns current API key rate limits, tier information, balances, and access permissions for the authenticated Venice AI user.

## Facts

- Endpoint: GET https://api.venice.ai/api/v1/api_keys/rate_limits?utm_source=zero.xyz
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402, ai_ml
- Canonical page: https://www.zero.xyz/c/venice-ai-rate-limits-0e3e74d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_szQDqG3quyjWMPAkm8vqs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability venice-ai-rate-limits-0e3e74d8
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Return details about user balances and rate limits.

## Output

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.

## Response schema (JSON Schema)

```json
{
 "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 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/venice-ai-rate-limits-0e3e74d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.venice.ai](https://www.zero.xyz/host/api.venice.ai/llms.txt)
