01 · The bill
What will this cost us each month?
Every model call in your code, priced at today’s rates, at the traffic you choose. Cloud hosting, databases and queues on the same page.
Each line opens the formula and the file it came from.
For founders shipping an AI feature
We priced the open-source Vercel AI Chatbot from its code: $2,114–$35,344 a month in model tokens at 10,000 users, depending on the model. Skeram does the same for your repo, with the file and line behind every dollar.
Your first scan of a public GitHub repo is free. No card needed. One repo, a monorepo or a whole service. GitHub, GitLab or local, via the CLI.
A month. Infrastructure at AWS list prices, wherever the app deploys. Tokens run from a cheap model to a frontier one.
Most teams find out what their AI costs when the invoice arrives. Skeram works it out before you ship, from the code you already have.
01 · The bill
Every model call in your code, priced at today’s rates, at the traffic you choose. Cloud hosting, databases and queues on the same page.
Each line opens the formula and the file it came from.
02 · The architecture
Model calls with no output cap, public routes that spend your key, jobs that block a request, databases that run out of connections.
Each finding comes with the evidence and a suggested fix you can hand to your team or your agent.
03 · Over time
Each scan is dated and tied to the exact code it read. Re-scan after a change and compare in History. Unchanged apps re-scan free.
Turn on weekly or daily monitoring and Skeram re-scans whenever new code lands.
AI agent with tools. Vercel's reference AI chat app — a streaming tool loop through AI Gateway, nested model calls inside document tools, Postgres + Blob.
At 10,000 users a month: AWS $145, LLM tokens $2,114–$35,344. 23 routes read.
Open the Vercel AI Chatbot teardownReal products are rarely one repo. Put the web app, the API and the worker in one project and Skeram gives each its own tab, then adds them up into one bill.
$ npm install -g @skeram/cli
$ skeram login
$ skeram init # finds web/, api/, worker/
$ skeram scan
✔ 3 apps packed · secrets and node_modules left out
✔ Scan started → app.skeram.com/projects/…Project · 3 apps
Acme customer portal
Scan #14 · 31 Oct 2026 · 10,000 users/mo
Illustration with made-up figures. Open the live demo project.
6 of 6
bench repos within tolerance on the last eval run
1 LLM step
everything after it is unit-tested TypeScript
0–70%
model-bill drift between fresh reads of one commit on our bench; infrastructure didn't move
file:line
on every claim. No evidence, no claim
12 Nov 2026
the date on the token price snapshot
1 correction
made by hand, and published in the log
1 route calls an LLM on your key with no output cap
No max_tokens is passed, so each response is as long as the model decides. These calls are $2,114–$35,344/mo at 10,000 monthly users assuming 600 output tokens — a verbose model or a prompt that invites long answers moves that figure with no ceiling.
Fix. Pass an explicit max_tokens on every call sized to the UI (chat ~1K, titles ~50); alert on per-user daily token spend.
Open the Vercel AI Chatbot teardown1 unauthenticated route calls models on your users' stored API keys
POST /api/chat/custom runs without a session but uses API keys users saved in the app. Your bill is untouched; theirs isn't — anyone who can address a key's record can spend it, and the user finds out from their provider invoice.
Fix. Require a session and check the stored key belongs to the caller before using it; never select keys by an id taken from the request alone.
Open the Chatbot UI teardown8 background jobs run inline in request handlers
Cache warm + partner enrollment lookup via waitUntil in link redirect handler; Send password-reset confirmation email post-response; Increment workspace aiUsage counter post-response (+5 more). Work fired from a handler without a queue dies with the process on deploys and crashes, fails silently with no retry, and competes with requests for the same instance.
Fix. Move to a queue (SQS + a worker service, as in the architecture shown, sized for this load). The handler has to be rewritten to publish to it instead of firing inline.
Open the Dub teardown5 hot routes run list/aggregate queries per hit
/api/realtime/[websiteId], /api/websites/[websiteId]/active, /api/websites/[websiteId]/metrics… — list and aggregate scans grow with data size on your most-hit paths. What returns in 20ms with 1K rows returns in seconds at 10M rows, at exactly the moment traffic peaks.
Fix. Paginate + index the hot queries; cache aggregates (the Redis node here) or precompute them in the worker.
src/app/api/realtime/[websiteId]/route.tssrc/app/api/websites/[websiteId]/active/route.tssrc/app/api/websites/[websiteId]/metrics/route.tsAn LLM reads the code once and fills a typed model. Everything after that is plain TypeScript: the same model and assumptions always give the same numbers. The reading step can vary between fresh scans: on our bench the model bill moved 0–6% on two apps and up to about 70% on one with several LLM calls. Read the full method.
Plain TypeScript walks the repo and lists what is architecturally real: routes, handlers, jobs, queues, schemas and SDK clients. No model is involved, so the same repo always gives the same list.
23 routes
3 data stores
6 external services
1 background jobs
The files that define the architecture are chosen within a 260 KB budget and 200 lines per file, with a line marker every ten lines so each citation lands on the right code.
Claude fills a strict schema, the AppModel. Every claim must cite a file and its lines. Output that fails validation gets one retry with the errors; after that the run fails and the credit is refunded.
{
"id": "chat-post",
"method": "POST",
"path": "/api/chat",
"work": "llm",
"llmCalls": [
{
"kind": "chat",
"modelSource": "request",
"loopCap": 5,
"streaming": true,
"keySource": "platform",
"evidence": [
{
"file": "app/(chat)/api/chat/route.ts",
"lines": "269-330",
"note": "streamText with tools, stopWhen 5 steps, allowlisted model"
}
]
}
]
}The engine sweeps 100 to 100,000 monthly users with dated AWS and token prices, sizing formulas for what saturates, and a catalog of rules for what breaks. The LLM never writes a number.
route mix needs 0.19 task-equivalents at peak (per-class capacity: light 120/s, db 60/s, llm 6/s)
÷ 0.7 headroom, min 2 for HA → 2 tasks
2 × (0.5 vCPU × $0.04048 + 1 GB × $0.004445) × 730 h = $36.04
608,333 requests/mo × 1 call × 2.15 avg loop steps (2 typical; 5% of runs reach the cap of 5, assumption) = 1,307,917 chat calls/mo
8,000 in (large context, assumption) + 600 out (no cap seen) tokens per callThe result is a page at a permanent address, dated and tied to the commit it read. Any figure on it opens the formula behind it.
skeram.com/t/vercel-ai-chatbot?u=10000
Your coding agent is great at fixing things, and it can give you a cost estimate too. We haven’t published a side-by-side test yet, so this page doesn’t claim Skeram’s numbers are better.
What Skeram adds is structure: a fixed schema, prices with a date on them, formulas covered by tests, a published eval bench and a history you can compare. Give its findings to your agent, then re-scan to check the fix. What has and hasn’t been measured.
You’re mostly paying for the compute and model time you’d spend anyway, plus scan logic that is tested against a public bench and keeps improving. Compare plans.
$10 for 5 credits
Your first scan of a public GitHub repo is free. No card needed. After that, credits. No subscription.
Scan a public repo free$19 per month
For a founder or a small team shipping one product.
Start Builder$79 per month
For teams with several services and a budget to protect.
Start TeamCustom
For larger codebases, procurement and security reviews.
Talk to usJohn Taormina, a software engineer who works on AWS, CDK, CI/CD and networking. Skeram started in July 2026. The source code isn’t public; the bench results, misses included, and every hand correction are published on this site.
Each teardown is checked against a hand-written expectations file before it goes up. When a published number turns out wrong, the fix and the reason go in a public log.

Do ask it. We haven't yet published a side-by-side run, so we won't claim it does worse. What a chat answer doesn't come with: a fixed schema you can compare next month, a dated price snapshot, sizing formulas covered by tests, a file and line behind every charge, and a saved history. Skeram gives you those. Then hand a finding to your agent to fix and re-scan to confirm it worked.
With the CLI, a filtered snapshot is uploaded so the analysis can run on Skeram. You can see exactly what will be sent with skeram preview before anything leaves. Ignored files, dependencies, build output, .env and key files, likely secrets, binaries and anything over 1 MiB are left out. Snapshots are deleted after 30 days; your reports stay. Your code is never executed and never used to train models.
Yes, through the CLI. It works with any Git checkout on your computer, wherever it's hosted. Public GitHub repositories can also be added straight from the app by pasting the URL.
A project can hold one repo, a monorepo or several repos that make up one service. Every app inside gets its own tab (up to 8 per project), and the overview adds them into one bill with every finding in one list. A change in one app doesn't re-bill the others.
JavaScript and TypeScript web apps (Next.js, Remix, Express, Fastify, Hono, SvelteKit and Nuxt) and Python apps (FastAPI, Django, Flask, Streamlit and Gradio, plus Python workers and Slack or Discord bots). A repo with a JS frontend and a Python backend becomes two tabs. Go and Ruby are not supported yet.
The arithmetic is exact and repeatable: the same model, prices and assumptions always give the same numbers. Reading the code is not: one LLM step extracts the architecture, and two fresh extractions of the same commit can differ. Our scored bench re-reads the same commit several times: the infrastructure figure didn't move, while the model bill moved 0–6% on two apps and up to about 70% on one with several LLM calls. Re-scanning unchanged code reuses the saved result instead. The traffic inputs are estimates too. Source code can't tell you how many users you'll have or how long their conversations run, so those assumptions are on the page for you to change. Treat it as a planning range and check it against your real bill once you're live.
It watches your code, not your production traffic. Every scan is saved with its date and a hash of the code it read, unchanged apps are reused for free, and you can compare scans over time. GitHub projects can be monitored weekly or daily: Skeram re-scans only when the repo has new commits. CLI projects can do the same from CI. On a plan, you get an email when a scan moves the bill past your threshold.