Vercel Speed Insights
Measure web performance metrics and get recommendations for improvement.
3. Used by agents' projects
Dependency in 109 public GitHub projects set up for AI coding agents that we scanned (1.7%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
vercel.com/llms.txtFrom the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Vercel Speed Insights does
The npm package feeds a dashboard that lives inside the Vercel project view, where every plan gets a free Real Experience Score but individual Core Web Vitals, the country map and poor-row views require Speed Insights Plus.
Vercel Speed Insights popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Vercel Speed Insights is used
- Vercel Speed Insights is a dependency in 109 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.2% of the 4,867 JavaScript/TypeScript ones), #3 of 121 in logging, monitoring and analytics.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 282; those are left out of every share on this page.
- The most used alternative in our scan is Lighthouse (28 projects).
- Projects that use it most often also use Next.js (79.8%), Vercel Analytics (73.4%), Lucide React (74.3%).
- It is more common in projects set up for Devin Desktop (5.0%) than for OpenAI Codex (1.1%).
By coding agent
Often used with
Vercel Speed Insights in practice
Strengths
The docs say Speed Insights "is available on every plan for free" and that the free tier includes the Real Experience Score. You get an overall score without paying.
When you pick a metric, a Kanban board lists the routes, paths or HTML elements that need improvement. By default it hides URLs with less than 0.5% of visits.
The line graph shows the P75 percentile by default. You can add P90, P95 and P99 to the same view.
Vercel tracks events on preview as well as production deployments. The dashboard filters by preview, production or all environments, and toggles between mobile and desktop.
Watch out for
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 element selectors in the Kanban view require Speed Insights Plus. So does the geographic map of the P75 score by country.
In the static-site PR, the agent reports that the tracking script loads from <code>/_vercel/speed-insights/script.js</code> 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.
More about Vercel Speed Insights
Packages around it
- @vercel/analytics: Vercel visitor analytics
- next: React framework
- lucide-react: Icon components
- tailwindcss: Utility-first CSS
- clsx: className joiner
- tailwind-merge: Tailwind class conflict merger
More in Logging, monitoring and analytics
Alternatives
Vercel Speed Insights This page
Automated web performance auditing and best practices analysis tool from Google.
Get started
Install it.
npm install @vercel/speed-insightsRules for your agent
## 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 `<script defer src="speed-insights.js"></script>` in the `<head>` 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.