Planned. Embed routes are specified here so you can design against them;
they return
404 until launch. Follow the
changelog for the release date.https://api.llm-stats.com/stats/embed/… and require no Authorization header. They are not counted against your daily quota and do not count toward your burst limit.
Surfaces
There is no HTML widget or
<iframe> surface. To show live data on your page, call the API from your backend and render it yourself, then place a badge next to it.
Badge
model_card and ranking_badge (for one model), benchmark_badge (for one benchmark), and source_link (a plain “Data from LLM Stats” mark).
Redirect link
/go redirects to the page the integration is configured for — /models/{id} for model_card and ranking_badge, /benchmarks/{id} for benchmark_badge, or the home page for source_link — and appends utm_source=embed, utm_medium=<integration kind>, utm_campaign=<integration id>, and ref=<your allowed host> so referral traffic is credited to your integration. The destination is derived from the integration, never from the request, so a /go link cannot be repurposed as an open redirect.
Token structure
A token is created for you in the developer console when you add an integration and choose what to embed. You do not build tokens yourself, but the format is documented so you know what is in it.
The token carries no configuration itself; the widget type, resource, and allowed host live on the integration. Editing the host or resource, rotating the token, or revoking the integration invalidates existing tokens.
Allowed host
Each integration declares an allowed host (for exampleexample.com, which also covers subdomains). Embed requests are validated against it:
<img>requests must carry aReferermatching the allowed host. Requests from other hosts return403, so a copied token cannot be used to brand someone else’s page.- Requests without a referer (privacy extensions, some RSS readers, direct navigation) are served normally, but do not count as observation evidence for verification.
/golinks work from anywhere. A click whoseRefererdoes not match the allowed host redirects to the llm-stats.com home page without attribution parameters.
Limitations
- Tokens do not expire, but you can rotate or revoke them from the console. A revoked or rotated token returns
404and stops counting for verification. - Badges show the same data as the public website. They cannot display Builder- or Commercial-only data.
- Badges are read-only and accept no viewer input; use the API for interactive experiences.
- Badge loads and
/goclicks are logged as described in Privacy and analytics disclosure.