# Vercel Speed Insights — card for AI agents

Measure web performance metrics and get recommendations for improvement.

Category: Logging, monitoring and analytics · npm package `@vercel/speed-insights` · latest version 2.0.0 (checked 2026-11-01)
Install: `npm install @vercel/speed-insights`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Rules for AI agents (paste into AGENTS.md or CLAUDE.md)

## Vercel Speed Insights
- Expect no data until the site is deployed to Vercel. The tracking script is served from `/_vercel/speed-insights/script.js` by Vercel's infrastructure.
- Tell the user to enable Speed Insights for the project in the Vercel dashboard (Project Settings → Speed Insights → Enable). Installing the package does not do this.
- On a static HTML site with no build system, load a small init script with `` in the `` of every page.
- On Nuxt with v2.0.0 or later, use the module. If you need configuration, load `injectSpeedInsights()` from `@vercel/speed-insights/nuxt/runtime`.
- Do not promise individual Core Web Vitals, poor rows, element selectors or the country map on the free tier. These require Speed Insights Plus.
- Preview deployments are tracked too. Filter the dashboard by environment when reading production numbers.

## Docs written for agents
- [llms.txt (index of the docs)](https://vercel.com/llms.txt)

## What it is
- `@vercel/speed-insights` is the package behind Vercel Speed Insights. The docs say Speed Insights gives "a detailed view of your website's performance metrics" based on Core Web Vitals. Release v2.0.0 changed the license from Apache-2.0 to MIT, added a Nuxt module, and lets the config be loaded dynamically.
- You read the data inside Vercel. Select your project and click Speed Insights in the sidebar. The docs say the dashboard shows scores and metrics "without the need for code modifications or leaving the Vercel dashboard". Events are tracked on all deployed preview and production environments. You can filter by device type, environment and time range.
- Every plan includes the Real Experience Score (RES) for free. Individual Core Web Vitals, breakdowns and Drains need a Speed Insights Plus upgrade. The dashboard can switch between RES, First Contentful Paint and Largest Contentful Paint.

## Caveats
- Individual Core Web Vitals cost extra: The free tier includes the Real Experience Score. The docs say individual Core Web Vitals, breakdowns and Drains require an upgrade to Speed Insights Plus.
- Poor rows and the country map are paid: Poor rows and element selectors in the Kanban view require Speed Insights Plus. So does the geographic map of the P75 score by country.
- Data arrives only after a Vercel deploy: In the static-site PR, the agent reports that the tracking script loads from `/_vercel/speed-insights/script.js` and that this path is served once the site is deployed to Vercel. It also reports that Speed Insights must be enabled for the project in the Vercel Dashboard.
- Preview traffic counts as events: The docs say events are tracked on all deployed preview and production environments. Among related pages, the docs page links a "Managing Usage &amp; Costs" guide for keeping event counts down.
- v2.0.0 lists Nuxt under breaking changes: The v2.0.0 release puts "Nuxt: introduce module support" under Breaking Changes, next to the license change. For configuration, the release says to load `injectSpeedInsights()` from `@vercel/speed-insights/nuxt/runtime`.

## Numbers (AgentGid data)
- Gid Score: 55.1 (#1432 of all tools, 47 of 121 in its category)
- Used in 109 public projects set up for AI coding agents (1.7%)
- Downloads last week: 7,280,872 (as of 2026-11-24), +32.2% over 4 weeks
- GitHub stars: 115 (as of 2026-11-24)
- Last push: 2026-11-11

## Often used with
Next.js 79.8%, Vercel Analytics 73.4%, Lucide React 74.3%, React 90.8%, Tailwind CSS 89.0%, clsx 65.1%

## Checked alternatives (same job)
- Lighthouse: https://agentgid.com/tools/lighthouse/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/vercel-speed-insights/
- Homepage: https://github.com/vercel/speed-insights#readme
- Repository: https://github.com/vercel/speed-insights
- Source: https://github.com/vercel/speed-insights
- Source: https://github.com/vercel/speed-insights/releases
- Source: https://vercel.com/docs/speed-insights

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
