Fastly cost tracking: invoice lines per product
See what your Fastly delivery, Compute and security products cost, from your invoices, and this month's bill so far.
What Burnstack tracks
- Each invoice line in USD per product group (Full-Site Delivery, Compute, Security…) and product, spread over the invoice's billing period, from Fastly's invoices API (Fastly docs)
- Credits and minimums on an invoice go to the account, so each month adds up to the invoice total
- This month: the month-to-date invoice, spread from its start to today and marked est. until the month is invoiced
- Every invoice on the first sync
Alerts
- Vendor spend spike: a day above 2.5× Fastly's 14-day median
The key you'll need
An API token with only the global:read scope, "read-only access to account information, configuration, and stats" (Fastly docs), created under Account → Personal profile → API tokens. A token acts with its user's role, and invoices need a user with the Billing (or Superuser) role: create the token as such a user, or add a user with the Billing role for Burnstack.
Burnstack checks the key with Fastly, shows the account it belongs to when Fastly lets the key see it, and stores it in your computer's keychain (macOS Keychain or Windows Credential Manager). It only reads billing and usage.
Connect it: Fastly
Need
- Key: API token (global:read)
- Plan: Any paid account; the token's user needs the Billing or Superuser role.
- Permissions: Scope: global:read User role: Billing (or Superuser)
Create an API token with only the global:read scope (read-only access to account information, configuration and stats). Tokens act with their user's role, and billing needs the Billing or Superuser role, so create it as such a user (or add a user with the Billing role for Burnstack). Burnstack reads your monthly invoices, spread over each billing period, and this month's month-to-date invoice (est.).
Steps not yet verified
- Sign in as a user with the Billing (or Superuser) role.
- Open Account → Personal profile → API tokens and click Create Token.
- Name it Burnstack, tick only the global:read scope and pick an expiration.
- Click Create Token, copy it (shown once) and paste it into Burnstack.
Paste it
In Burnstack: Connectors → Fastly → Add key → paste → Validate & save. The key goes straight into your computer's keychain.
If it fails
- Fastly API error 401: Provided credentials are missing or invalid
- The token was deleted, expired or mistyped. Create a new one with global:read.
- Fastly API error 403 not yet verified
- The token's user can't see billing. Create the token as a user with the Billing or Superuser role.
Let your AI do the clicking not yet verified
Paste this into an AI assistant that can use your browser, such as Claude in Chrome. It opens Fastly's key page and sets only the permissions above, then stops before the final button that creates the key.
Open https://manage.fastly.com/account/personal/tokens in my browser. Choose 'Create Token', enter 'Burnstack' as the Name and tick only the global:read scope. Set Expiration to 90 days (or the closest shorter option). Stop before clicking 'Create Token' (the final button that creates the token) and tell me it's ready. I'll click it, copy the token and paste it into Burnstack myself. Don't copy, read or paste the token, and don't grant broader access or change any other setting. If Fastly asks me to sign in or confirm with 2FA, wait for me.
The key never passes through the AI: you click that last button yourself, copy the key and paste it into Burnstack.
What you'll see
- Billed: Billed cost, as Fastly charges it.
- History: All invoices.
- Delay: Invoices after each month closes; this month from the month-to-date invoice (est.).
Good to know
- Invoice lines have no dates of their own, so each is spread evenly over its billing period.
- No split per service: invoice lines are per product and region.
- The month-to-date invoice is a running total: between daily syncs a day's share can shift.
- Invoices in a currency other than US dollars are refused with a message, not converted.
One bill, not a dashboard per vendor
Burnstack puts Fastly next to the rest of your spend and lets you group it by product with applications. Other integrations: Vercel, Neon, Supabase, OpenAI, Anthropic, GitHub, OpenRouter, DigitalOcean, Twilio, Stripe fees, Cloudflare, Netlify, AWS, Datadog, Sentry, Cursor, PlanetScale, Azure, Google Cloud, MongoDB Atlas, Railway, Render, Heroku, Akamai (Linode), Vultr, Runpod, xAI, Together AI, fal.ai, Runway, Upstash.
Fastly questions
Why are this month's Fastly costs marked est.?
Can a global:read token change my Fastly services?
Start watching back.
Five minutes to connect your first vendor. Free for Mac, forever, and every byte stays yours.