All docs
Reference11 min readUpdated

How visual testing snapshots are counted and billed

A visual testing snapshot is one capture: a story in one mode and one browser, a Playwright, Vitest or Bun test capture, or an uploaded screenshot.

Every build draws on your team's monthly snapshot allowance. The count is per capture, not per story or per build, so modes, browsers, and named captures multiply it, while skip-unchanged and opt-outs bring it down.

What counts as a snapshot?

A snapshot is one capture that UI Verify renders, or takes as uploaded, and diffs against its baseline when it has one (a first capture becomes the baseline to review). What makes one depends on what you upload.

UploadOne snapshot is
StorybookOne story in one mode in one browser
Playwright archiveOne per uiVerify.snapshot(name) call, or the automatic end-of-test capture if the test makes none
Vitest archiveOne per takeSnapshot() call, or the automatic end-of-test capture if the test makes none
Bun archiveOne per takeSnapshot() call, or the automatic end-of-test capture if the test makes none, at each viewport the suite runs
Screenshots (--screenshots)One uploaded image

Playwright, Vitest and Bun captures render in one mode in Chrome, and uploaded screenshots are diffed as they are, so each capture is exactly one snapshot.

What multiplies the snapshot count?

A Storybook story counts once for every mode and every browser it renders in: snapshots = stories x modes x browsers. A story with no declared modes renders in one default mode, and a project renders in Chrome only unless you turn on Firefox or Safari in the project's Capture & AI settings.

Storybook setupSnapshots per story
No modes, Chrome only1
2 modes, Chrome only2
2 modes, Chrome + Firefox + Safari6

Add a mode or a browser where it catches a real difference. See Modes for declaring them and Reduce visual test snapshots and cost for keeping the story count down.

Snapshot weights

A snapshot's weight is how much of the allowance it uses. Not every snapshot in a build weighs the same:

SnapshotCounts as
Rendered and diffed1
Carried forward by skip unchanged0
Excluded with disableSnapshot0
Storybook docs (autodocs) entries0
Extra renders by flake detection0 (the snapshot counts once)

Do carried-forward snapshots count?

No. When the upload carries a dependency graph, a story your change cannot affect is not rendered by default: its baseline is reused as this build's result. The build still covers it, and it costs nothing: you pay for the screens a change actually renders. That makes skipping unchanged stories the biggest lever on usage. Storybook built with --stats-json and Vitest archives get it with no setup; a Playwright archive skips only if you add a graph to it, and screenshot uploads never skip, so without a graph every capture renders and counts as 1.

Are disabled stories and docs pages counted?

No. A story with disableSnapshot: true (under parameters.uiVerify or parameters.chromatic) is never rendered and never counted, and Storybook docs pages are not snapshotted. See Storybook parameters.

Are flaky re-renders billed more than once?

No. When a story comes back changed, flake detection renders it a few more times to check the change reproduces. Usage counts the snapshots a build dispatched, not the renders, so a re-rendered story is still one snapshot.

Are failed or blocked builds billed?

No. A build that fails as a whole, where nothing could render, uses no snapshots, and neither does a build paused at the snapshot limit. A build that finishes as passed or changed counts every snapshot it dispatched, including a story that failed to render inside it.

Snapshot count: a worked example

A Storybook with 200 stories, 2 modes each, rendered in Chrome only, is 400 snapshots for a full build. Built with --stats-json, a pull request that affects 30 of those stories renders their 60 snapshots and carries the other 340 forward.

PartSnapshotsWeightCounts as
Rendered (30 stories x 2 modes)60160
Carried forward (170 stories x 2 modes)34000
Build total40060

Rendering everything (no dependency graph, or --render-all) the same build counts 400. At 60 per build, the Free allowance of 10,000 snapshots a month covers about 166 such builds, and the open-source allowance of 50,000 for public repos covers about 833.

Monthly snapshot allowance

The snapshot allowance is how many snapshots a team can use in a billing period, shared across all of the team's projects. Free teams get 10,000 snapshots a month and open-source teams (public repos) get 50,000 a month; see Free for open source for the larger one.

Paid plans include a larger monthly allowance and bill snapshots past it as overage instead of pausing builds. See pricing for plans and rates, and the pricing calculator to estimate a month from your story count. AI reviews by the AI judge are counted separately and never pause a build. Past a paid plan's monthly pool, each extra AI review costs $0.03.

How do I upgrade, downgrade or cancel?

Owners manage the plan from the team's Usage & billing page, and a member sees which owners to ask. Choosing Starter or Pro on the pricing page takes you to your team's Plans page; if you are new, the setup page notes your choice and links Plans once your first upload has created your team. Open Plans to subscribe: checkout takes cards only (Apple Pay and Google Pay included), so a payment settles in seconds, and it accepts a promotion code if you have one. The page confirms your new plan as soon as the payment lands. Self-serve payment is rolling out: until it is switched on for your team, Subscribe sends us a request instead, and we set up your plan by email.

  • Upgrade (Starter to Pro): applies today. You are charged now for a Pro month, minus a credit for the unused part of Starter, plus any Starter overage so far, and your billing month restarts today. If your bank asks to confirm the payment, the plan still applies and the page links the invoice to finish paying.
  • Downgrade (Pro to Starter): applies when the month you paid for ends, so you keep Pro until then. Until that date the Plans page offers Keep Pro to cancel the switch.
  • Cancel: Manage billing opens Stripe's portal, where you can update your card, see invoices and cancel. A cancel takes effect at the end of the paid month, and the team goes back to its free plan.

A team on the free plan, the open-source tier, a partner deal or a custom plan can subscribe to Starter or Pro from the Plans page. A team with a negotiated deal can subscribe to the plan its deal was priced for, and a team whose limits were set by hand changes plan through a person. When a plan includes fewer snapshots than your team has now, the Plans page says so before you click, with what you will have instead and the rate past it. On a custom plan, subscribing replaces it, and cancelling later moves the team to the free plan.

A team with a negotiated custom price changes plan through a person: email support@uiverify.ai or book a call.

When does the snapshot allowance reset?

On the Free and open-source plans, the allowance resets at the start of each calendar month, at 00:00 UTC on the 1st. Unused snapshots do not roll over. On a paid plan, the period follows your subscription's billing cycle. When a new billing period starts on a paid plan (your subscription renews, you upgrade, or you subscribe), a build still running at that moment counts in the new period.

What happens if a payment fails?

Your builds keep running. When a renewal payment on a paid plan fails, your plan and its allowance stay as they are while the payment is retried automatically over about two weeks, and most failed payments go through on a retry. Update your card in that time and nothing changes for your CI.

Builds stop only once the retries have all failed and the subscription is cancelled for non-payment. From then on every build is marked Blocked before it renders: uiverify upload exits 1, the pull request status says the team's paid subscription isn't active, and the dashboard shows a banner on the team's pages. To get builds running again, open your team's Usage & billing page, which shows what to do (subscribe again, or pay the open invoice), or email support@uiverify.ai or book a call. If an upgrade payment is still waiting on your bank, the same page links the invoice so you can finish paying. The team's owners are emailed when a payment fails, when builds stop and when a plan is cancelled, as described below.

What happens if I cancel a paid plan?

Your team goes back to the plan it had before it subscribed, at the end of the billing period you paid for: Free, or the open-source plan for an open-source team. A custom price or allowance agreed for the subscription ends with it. From the moment the subscription ends, the free allowance counts only new usage, so snapshots used on the paid plan earlier that month don't count against it. The usual monthly reset on the 1st applies after that.

What happens when I hit the snapshot limit?

On the Free and open-source plans, a build that would take the team past its allowance is paused before it renders. It is marked Blocked, none of its snapshots render, and it uses nothing. The check is per build, so a build that does not fit in what is left of the allowance is blocked whole, not partly rendered.

  • CI: uiverify upload logs that the build is blocked and exits 1, even with --exit-zero-on-changes or --no-strict.
  • Pull request: with the GitHub App connected, the UI Verify commit status ends in an error state that says the build didn't fit in this month's snapshot allowance, and links to your team's usage page in UI Verify. It never shows your usage figures, since a commit status is public on an open-source repository.
  • Coding agent: the MCP get_build and list_builds tools return a blocked explanation for the build: your usage against the allowance, the reset date, the likely cause and the next steps, plus a ready-made message for the agent to pass on to you instead of retrying.
  • Dashboard: the blocked build's page explains why it was paused: your usage against the allowance, the reset date, the likely cause and the next steps, with buttons to raise the limit from your team's Plans page or book a call. While your team's builds are paused, the team, project and usage pages show a banner with why, your current usage and the likely cause, linking the blocked build, until the allowance resets, a build started after the pause gets to render, or the problem is fixed: for a billing pause, once your billing is back in good standing; for an allowance pause, once your billing is in good standing and the paused build fits in what is left of your allowance again, for example after your limit is raised.

A blocked build does not resume on its own. Once the allowance resets or your limit is raised, push again or re-run the CI job.

The most common reason a team runs out early is a project that skips unchanged stories but has no accepted baseline on its default branch. Pull request builds then have nothing to compare against, so every story renders as new and counts in full. When that is the case, the explanation says so. The fix is to get a baseline onto the default branch: run UI Verify on pushes to it with --auto-accept-changes, or accept its latest build in the dashboard. Later pull request builds then render only the stories they change. To raise the limit, open your team's Plans page in UI Verify, or book a call.

Which emails does a team get about its snapshot allowance?

On the Free and open-source plans, the team's owners get an email when the team has used 80% of its monthly snapshot allowance, with what is left and when it resets, and an email when a build is paused at the allowance, with why and what to do next. Each goes at most once per allowance period, which is the calendar month unless the team moved off a paid plan partway through it. A build larger than the whole allowance, which cannot run until the limit is raised, gets an email of its own if the owners have not already heard about a paused build that period. Only owners get these emails, not other members, and each owner gets their own copy.

Which emails does a team get about payments?

On a paid plan, the team's owners get an email in three cases. Each goes once, only owners get it, and each owner gets their own copy.

  • A payment didn't go through. Sent once per unpaid invoice, when a renewal payment fails, or for an upgrade payment that is still unpaid after about half an hour (so you are not told it failed while you are still confirming it with your bank). It says builds keep running for now, and to finish the bank's confirmation step or update your card. A payment that goes through before the email is sent cancels it.
  • Builds stopped. Sent once per subscription, when the payment retries have all failed and the subscription ends, when Stripe marks it unpaid, or when Stripe cancels it for another reason such as a dispute. New builds are paused, and the email points to the team's Usage & billing page and to support.
  • Your plan ends on a date. Sent once per scheduled cancel, when the cancel is set rather than near the end date, with the end date, the plan the team goes back to (Free, or the open-source plan for an open-source team) and that plan's monthly snapshot allowance. Resuming the plan and cancelling it again for the same date does not send a second email.

Stripe also sends a link to confirm a payment with your bank when one is needed.

Snapshot usage: where to see it

The team's Usage & billing page, under the team's settings, shows your plan and when it renews, snapshots and AI reviews used this billing period against your plan allowance (on a paid plan, how far past it you are and about what that costs, for owners), plus builds and snapshots per project over the last 7 or 30 days. It counts with the same weights as this page, so the number there is the number that counts against your allowance.

Visual testing for agents

UI Verify is visual regression testing for Playwright, Storybook, Vitest and Bun. Your coding agent sees what its UI change did and fixes it before it ships. See how it works.

Get started