agentleFS
sharabarinilliasharabarinillia/SEO-GEO-Vercel-Playbook-Skill/skills/vercel-cost-optimization/SKILL.md

vercel-cost-optimization

Skill1 starsChanged 27 days agoMITView on GitHub

Keeps Vercel hosting at the plan price for static and mostly static sites, alone or several client sites on one Pro team. Covers what Pro includes, how the Flat Rate CDN tiers work, the settings to change (Flat Rate CDN, spend budget, seats, retention, paid extras), the request budget per visit across all sites (scripts/budget.mjs), measuring requests per visit (scripts/measure-requests.cjs), traps such as per-minute uptime monitors, auto-pause and AI agent commit authors, and a monthly usage check. Use it when planning hosting or a budget, choosing a plan, asking "will this fit in Vercel Pro", explaining a bill or a usage spike, adding sites to a team, or setting up coding-agent commits so deployments aren't blocked.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Deploy volume: every push to a connected branch builds and stores a deployment.

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vercel costs for static sites

A static site on Vercel Pro is billed mainly for CDN requests and data transfer, and on a team of marketing sites requests run out before bandwidth. Prices below were checked on 4–5 November 2026; check Vercel's pricing pages again before quoting a number to anyone, and say when you checked.

Key facts (checked 4–5 November 2026)

  • Pro: $20 a month per deploying seat, including $20 of usage credit; viewer seats are free.
  • Flat Rate CDN, included tier: 1M CDN requests and 1 TB a month for the whole team. Next tiers: $20 (10M, 50 TB), $100 (50M), $300 (150M). Switched on in Billing → Flat Rate CDN.
  • Traffic the firewall denies or challenges is not billed (see vercel-firewall).
  • New teams get a $200 on-demand spend budget; a hard limit pauses every project in the team.
  • On Pro, Vercel deploys only commits whose author is a member of the team.
  • Hobby is for personal, non-commercial use only: client sites need Pro.

Full table with sources: references/pricing.md.

Steps

  1. Measure requests per visit for each site: a first visit to the home page plus one more page, desktop and phone, full scroll (measure-requests.cjs; see web-performance).
  2. Add up the team:

    node <skill>/scripts/budget.mjs --sites "client-a:8000:55:14,client-b:4000:40:5" --monitor-minutes 5
    #   name:visits per month:requests per visit[:MB per visit]
    node <skill>/scripts/budget.mjs --requests-per-visit 55     # visits that fit in each tier

    It adds a 10% margin for crawlers and previews, picks the Flat Rate CDN tier, and compares with on-demand prices.

  3. If the total is near 1M: make each visit cheaper first (web-performance), block junk traffic (vercel-firewall), then accept the $20 tier if real traffic needs it.
  4. Apply the settings in references/settings.md: Flat Rate CDN on, budget lowered with alerts, auto-pause off, one developer seat, preview protection, paid extras off.
  5. Set the commit author in every repository a coding agent works in: references/agents-and-commits.md.
  6. Check monthly (10 minutes): Usage → requests and data per project against 1M / 1 TB; build minutes and storage against the credit; firewall's top blocked paths. vercel usage in the CLI shows the same.

Traps

  • Uptime monitors: a check every minute is 43,200 requests a month per site; on 10 sites that is 43% of the included tier. Check every 5–10 minutes, against a small file.
  • Auto-pause: a hard spend limit takes every client site offline at once.
  • Deploy volume: every push to a connected branch builds and stores a deployment. Batch commits; push when a piece of work is ready.
  • 404s that repeat: browsers ask for /favicon.ico and /apple-touch-icon.png regardless; without the files every ask is an uncached, billed 404.
  • Media-heavy sites: the Flat Rate CDN excludes large-scale media delivery that is most of the bandwidth. A few background loops are far from it; keep video bytes down anyway.
  • Paid extras switched on by default or by a teammate: Web Analytics events, Speed Insights, image optimisation, custom preview domains, Observability Plus. Keep them off unless the client pays for them.

Ask first

Plan changes, budgets, seats and paid add-ons are billing decisions: prepare the recommendation with numbers, then let the account owner apply it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.