---
title: Pool Credit Limits
description: "Control how much of your team's Shared Credit Pool each member can spend, using the v0 API."
docs_index: /docs/llms.txt
lastUpdated: 2026-11-27
product: v0 API
type: guide
related:
  - /docs/teams
  - /docs/pricing
---

> For an index of all documentation, see [/docs/llms.txt](/docs/llms.txt).

On Plus, Business, and Enterprise plans, team members spend their monthly credits first and then draw on the team's [Shared Credit Pool](/docs/pricing). Pool credit limits cap how much of the pool each member can spend per billing cycle. You can manage them on the team's Members settings page, or with these endpoints to automate them across many members.

> **Beta feature**: These endpoints are in early access and there may be breaking changes. Teams that aren't in the early access return `404`.

## Who can use them

Every endpoint works on the API key's active team, so there is no team ID in the URL.

- **Team owners and billing members** can read and change the team default and every member's setting.
- **Other members** can read only their own setting and usage, with `GET /v2/pool-credit-limits/members/me`.

In member paths and bulk updates, `me` stands for you, the authenticated user (for an API key, the user who created it), so you don't need to look up your own user ID.

Personal accounts and plans without a Shared Credit Pool return `422`.

## Settings

A setting says how much of the pool a member can spend per billing cycle, after their monthly credits:

```json
{ "access": "unlimited" }
{ "access": "none" }
{ "access": "limited", "limit": "40.00" }
```

- `unlimited`: no cap. This is the team default until you change it.
- `none`: monthly credits only.
- `limited`: up to `limit` USD per billing cycle.

Amounts are decimal strings in USD with at most two decimals, such as `"40"` or `"40.50"`, and responses always use two decimals. A `limited` setting needs a limit above `0.00`: to allow nothing, use `none`.

Every member follows the **team default** unless they have their own setting. In responses, `source` says which one applies: `default` or `member`.

## Set the team default

```typescript
await fetch('https://api.v0.dev/v2/pool-credit-limits/default', {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.V0_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ setting: { access: 'limited', limit: '25.00' } }),
})
```

## Set one member

Give a member their own setting with `PUT /v2/pool-credit-limits/members/{userId}`, and remove it with `DELETE` on the same path, so the team default applies again. Only current team members with v0 access can have their own setting, but you can remove one for someone who has left the team.

## Update many members at once

`PATCH /v2/pool-credit-limits/members` takes up to 100 changes. A `null` setting removes the member's own setting.

```typescript
await fetch('https://api.v0.dev/v2/pool-credit-limits/members', {
  method: 'PATCH',
  headers: {
    Authorization: `Bearer ${process.env.V0_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    updates: [
      { userId: 'user_1', setting: { access: 'none' } },
      { userId: 'user_2', setting: { access: 'limited', limit: '100.00' } },
      { userId: 'user_3', setting: null },
    ],
  }),
})
```

Every change is checked before anything is saved, and either all of them are saved or none are. If any change is invalid, the `422` response lists the members it applies to.

## Read a member's usage

`GET /v2/pool-credit-limits/members/{userId}` returns the setting that applies to the member and how much of the pool they have used this billing cycle:

```json
{
  "object": "pool_credit_limit_member",
  "userId": "user_1",
  "setting": { "access": "limited", "limit": "40.00" },
  "source": "default",
  "usage": {
    "used": "12.35",
    "remaining": "27.65",
    "cycleStart": "2026-11-01T00:00:00.000Z",
    "cycleEnd": "2026-12-01T00:00:00.000Z"
  }
}
```

Usage counts from the start of the team's current billing cycle and resets when the next one starts. `remaining` is what the member's setting still allows: `null` for `unlimited` members, and `0.00` for `none`. The team pool's balance may be lower, in which case the member runs out first. Amounts are rounded so that `used` never reads low and `remaining` never reads high.

To list every member with the setting that applies to them, page through `GET /v2/pool-credit-limits/members` with `cursor` and `limit` (up to 100 members per page). A page can come back with fewer members than `limit`, or none, while there are still more; keep going until `hasMore` is `false`.

Endpoints that look up team members can return `429` when they're rate limited. Wait for the number of seconds in the `Retry-After` header before retrying.

## Auditing

Every change is recorded in your team's Vercel audit log, attributed to the authenticated user (for an API key, the user who created it).

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)