Limits
Each workspace is on one plan. A personal workspace is on Free or Pro. A team workspace is on Team while it is on trial or subscribed, and on Free once its trial ends unpaid or its subscription ends (Workspaces). The pricing page shows all three.
Plans
| Free | Pro | Team | |
|---|---|---|---|
| Price | See pricing | See pricing | See pricing |
Diagrams (scenes) | 25 | Unlimited, under fair use | Unlimited, under fair use |
Diagram updates a month (updatesPerMonth) | 2,500 | 25,000 | 25,000 per paid seat |
Renders a month (rendersPerMonth) | 5,000 | 50,000 | 50,000 per paid seat |
API keys (apiKeys) | 3 | 10 | 10 per paid seat |
| Share links to one version | Ending within 7 days | Any end date | Any end date |
| Share links to the latest version or every version | No | Yes | Yes |
| Exporting the record of share links | No | Yes | Yes |
Every plan keeps every version of every diagram. They are in Zindex’s own storage by default; an owner of a Pro or Team workspace can keep them in the workspace’s own GitHub repository instead, with the same plan limits, and such a repository takes about 80 saves a minute and 500 an hour (Bring your own storage). A free account unused for 12 months is deleted with its diagrams, after emails 30 and 7 days before the deletion date; Pro accounts, people in a team workspace that pays or is on trial, and the last owner of a team workspace with other people in it are never deleted for being unused (Privacy). Every plan works from every client (MCP and REST), and can download any version, a diagram’s whole history, or every diagram in the workspace in one file. Every plan’s saved images print the same line in the bottom-right corner, the version’s address and date, with no setting to remove it. A workspace owner changes the plan signed in, at zindex.ai/settings/billing/; there is no API for it. Dashboard → Usage shows the workspace’s usage against each limit.
Team’s pooled limits
Each owner and member of a subscribed team workspace is a paid seat, with at least 2 seats per workspace. Viewers are free, and so are agents: every key and connected app acts as its person. Team’s limits are the table’s numbers times the paid seats (at least 2 seats’ worth). Everyone in the workspace, with every agent they connect, draws on the same counts, so one busy agent can use up the month’s updates or renders for everyone. A viewer’s keys don’t count toward apiKeys; a viewer can hold 3 keys in a workspace.
A team on its free trial pays nothing. Its limits are the table’s numbers times its owners and members (at least 2 people’s worth). A trial limits how many owners and members it holds (Workspaces).
What counts
| Limit | Endpoint | Resets |
|---|---|---|
scenes | POST /v1/diagrams, diagram_create, and restoring a deleted diagram (POST /v1/diagrams/{id}/undelete, diagram_delete with undo) | When you delete a diagram |
updatesPerMonth | POST /v1/diagrams, POST /v1/diagrams/{id}/revisions, diagram_create and diagram_edit | Start of the next calendar month (UTC) |
rendersPerMonth | GET /v1/diagrams/{id}/render and diagram_render | Start of the next calendar month (UTC) |
apiKeys | POST /v1/auth/keys | When you revoke a key |
- Every saved version counts toward
updatesPerMonth, however it was made, including a new diagram’s first version, so at the limit a create is refused as an edit is. Restoring a deleted diagram makes no version and doesn’t count. An edit that changes nothing, and a retry that replays an earlier result, make no version, don’t count and aren’t refused at the limit. - Each render of a saved diagram,
GET /v1/diagrams/{id}/renderordiagram_renderwith anid, counts towardrendersPerMonth, except two:diagram_renderof a share link or a published diagram’s link, and anunchangedanswer toknownRevision. Unsaved previews, image downloads and opening an image link never count. - Retrying your own create with the same
keyand content returns the existing diagram, isn’t counted again and isn’t refused at a limit. - Reads and the endpoints that need no key don’t count toward any plan limit.
- An expired or revoked API key frees its slot. Signing in an MCP client uses none.
- The sample diagram a new account starts with counts toward
scenesuntil you delete it, and its versions towardupdatesPerMonthin the month it was made. - A diagram moved into a team workspace counts toward the team’s
scenes, and its versions saved this month count toward the team’supdatesPerMonthinstead of your personal workspace’s. The move itself makes no version. - A workspace that leaves Pro or Team with 25 or more diagrams keeps and can edit every one, but can’t create or restore another until it has fewer than 25.
Before a limit
A call that leaves the workspace at 80% or more of a limit on diagrams, updates or renders says so in its warnings, as LIMIT_NEAR, over REST and MCP. It comes with each such call, the one that reaches the limit included; the next is refused (At a limit):
{ "code": "LIMIT_NEAR", "fix": "This workspace has 21 of its 25 diagrams. At 25, new diagrams can't be saved or deleted ones restored." }
- It names only the limits that call counts toward (What counts).
- It comes for each limit that has a number on the workspace’s plan. Diagrams are unlimited on Pro and Team, so there it comes only for updates and renders.
- An agent passes it on to the person it works for. Owners of the workspace also see a notice in the dashboard, and get an email when the workspace nears a limit and when it reaches it, each at most once a month. Members and viewers get no email.
At a limit
The call that would go over a limit on diagrams, updates or renders is refused: over REST with 403 Forbidden, over MCP with a tool error carrying the same fields:
{
"error": "This workspace's limit is 25 diagrams; it has 25.",
"code": "LIMIT_REACHED",
"limit": "scenes",
"maximum": 25,
"current": 25
}
At the render limit, unsaved previews, image downloads and the image links an earlier render gave keep working.
limit names the limit, and maximum and current give the numbers. Creating an API key past the apiKeys limit returns code: "PLAN_LIMIT_EXCEEDED" instead, with limit, current, maximumAllowed and the same kind of error. Don’t retry either: the limit holds until something is deleted or revoked, the month rolls over or the plan changes. On Pro and Team they are fair-use limits.
Paid-plan features
On Free, a share link shows one version and ends within 7 days (Sharing). Over REST (POST /v1/diagrams/{id}/links) a link that needs more is refused with 403 Forbidden, and feature says what it needs:
- A link to the latest version or to every version (
showsoflatestorevery) needs Pro or Team. Make a link to one version instead, by leavingshowsout:
{
"error": "Links to the latest version or to every version aren't available for this workspace: leave shows out for a link to one version.",
"code": "FEATURE_UNAVAILABLE",
"feature": "privateShareLinks"
}
- A link that ends more than 7 days out, or never (
endslater, ornull) needs Pro or Team.maxDaysis the most days a link may run, anderrornames the last day allowed: setendsto it or earlier, or leaveendsout for that day.
{
"error": "Share links in this workspace end within 7 days: set ends to 2026-12-04 or earlier.",
"code": "FEATURE_UNAVAILABLE",
"feature": "longShareLinks",
"maxDays": 7
}
Over MCP, diagram_share with action: "link" returns these before asking the person to confirm. Don’t retry them. Listing and revoking share links work on every plan, and links made on a paid plan keep working after the workspace moves to Free, until they are revoked or end. Exporting the record of the workspace’s links, in Settings → Links, needs Pro or Team; its owners see the record on every plan. Publishing a diagram works on every plan (Published diagrams).
Rate limits
Every endpoint except GET /health is rate-limited, and /mcp counts only the messages a POST sends. A request to /mcp without a key or sign-in is refused with 401. The MCP limits below count requests that carry one. Over REST, and for MCP messages other than tool calls, a limit counts requests in a sliding one-minute window; MCP tool calls take from a bucket that refills, so an agent’s burst of work goes through.
| Caller | Limit | Counted per |
|---|---|---|
| Signed in over REST, requests a minute: an API key or the dashboard | 60 on Free, 120 on Pro and Team, plus a burst of 10 | Person, in each workspace. All of a person’s keys and sign-ins in one workspace share one limit, by that workspace’s plan |
| Over MCP (a key or sign-in): tool calls | 300 at once on Free, refilling 60 a minute; 600 at once on Pro and Team, refilling 120 a minute | Person, in each workspace, by that workspace’s plan |
Over MCP: every other message (initialize, tools/list, ping, notifications) | 600 a minute, a ceiling for a runaway client | Person, in each workspace |
| Over REST with no key, and image links, requests a minute | 30, plus a burst of 10 | IP address |
| The same, from Claude’s or ChatGPT’s published addresses | 600 | IP address |
The IP address is the one the request came from. X-Forwarded-For is ignored, so a server that calls Zindex for its users without a key has one no-key limit for all of them; with an API key it has the key’s person’s limit in the key’s workspace. An IPv6 address counts by its /64.
Claude and ChatGPT fetch images and call the REST API from their own servers for all of their users, so addresses in their published ranges (Anthropic, OpenAI) have the higher limit. A Cloudflare Worker in another Cloudflare account calls from one address that all such Workers share, so have the Worker send an API key.
POST /v1/diagrams/validateandPOST /v1/diagrams/previewalways count as calls without a key, even when a key is sent.- Those two endpoints also count toward a ceiling that all of their callers share, even when a key is sent. Past it, they answer
429until it frees up.diagram_validateanddiagram_renderover MCP don’t count toward it. - Over MCP, each message of a JSON-RPC batch counts on its own: a tool call takes one from the bucket, and any other message counts one toward the ceiling.
- The MCP sign-in endpoints (
/token,/register,/revokeand/.well-known/oauth-*) allow 600 requests a minute per IP address./authorize, which the person’s browser opens, allows fewer./registeralso caps how many clients one address can register. Past that cap, it answers429with an OAuth error body (erroranderror_description) that says when to try again. - Sending feedback has its own limit: 20 items in any 24 hours per account. Past it,
POST /v1/feedbackanddiagram_share’sfeedbackaction answer withcode: "RATE_LIMITED", anerrorthat says when the next item can go, andretryAfterin seconds.
Over a limit, the API answers 429 Too Many Requests with a Retry-After header and a JSON body whose code is RATE_LIMITED and whose retryAfter is the same number of seconds. Wait that long, then try again.
/mcpmessages other than tool calls get the same status and header, and a JSON-RPC error whosedatacarriescodeandretryAfter.- An MCP tool call past its bucket isn’t an HTTP error, so the agent can read it. The tool answers as a failed call with
code: "RATE_LIMITED", anerrorthat says how many seconds to wait, andretryAfter. The call did nothing, so the agent waits and makes it again. - The feedback limit’s
429carriesRetry-Afteralone.
| Header | On | Means |
|---|---|---|
X-RateLimit-Remaining | Responses | The requests left in the current window. Over MCP, the messages left under the ceiling; a request of tool calls alone carries none |
X-RateLimit-Reset | A 429 from these limits | The Unix time in seconds when the request would fit again |
Drawing time
Laying out and drawing a scene has a budget per drawing:
| Drawing | Budget |
|---|---|
Without a key or sign-in, over REST: checking or previewing an unsaved scene (POST /v1/diagrams/validate and /preview). Also a version’s image or PNG drawn for a share link, a published diagram’s link or a signed image link, one colored to show what changed included | 5 seconds |
| Every other drawing: REST checks and previews with an API key or the dashboard, every drawing over MCP, saves, edits, renders, and images and PNGs read with a key | 20 seconds |
Sending an API key gives a REST check or preview the larger budget. Both still count as calls without a key for the rate limits. Through a link, a version’s image, its PNG and an image colored to show what changed have the 5-second budget, even when a key is sent. The element limit doesn’t guarantee a drawing fits: a large or dense diagram, such as a hub with hundreds of leaves, can take longer.
- A save or an edit whose drawing runs past the budget is refused with
422andcode: "DRAW_TIMEOUT", and nothing is saved. Retrying won’t help; theerrorsays what to change: split the diagram, or draw fewer edges into one node. - A preview, an image or a render past its budget answers the same. The
errornames the budget that applied. - A drawing that needs more memory than a drawing worker has is refused with the same
DRAW_TIMEOUT, and anerrorthat says so. A PNG over 30 megapixels (width times height, the size a render reports) is refused the same way, before it is drawn: a.pngimage read, a preview as PNG (over MCP,diagram_renderwithsceneormermaidalways draws one), ordiagram_renderwithpreview. Theerrorsays to bring the elements closer together or split the diagram. The SVG of the same diagram draws, so a save succeeds. POST /v1/diagrams/validateanddiagram_validateanswer as usual, with aDRAW_TIMEOUTwarning instead of the drawing’s warnings. When a REST check without a key or sign-in runs out of time, the warning says a save draws within 20 seconds. Otherwise a save has the same time, or the same memory when the check ran out of memory, and the warning says so and what to change.- When every drawing worker is busy and the queue is full, the call answers
503withcode: "BUSY",retryAfterand aRetry-Afterheader: half the budget of the drawing it refused, in seconds. Wait that long, then try again.
Sizes
Each input has a size:
- Mermaid text, and a feedback snippet: 64 KB.
- A brief: 1,000 characters.
- An edit’s
ops: 500 operations. - Any request: 4 MiB. A larger one answers
413.
The MCP tools and the OpenAPI spec give each input’s size. A scene’s own limits (elements, nesting, text, canvas, position) are under Size limits in Validation rules. They apply however a scene arrives, as JSON or Mermaid: a preview or an edit past them is refused with VALIDATION_FAILED, as a save is.