LLM calls with no output cap
A model call without max_tokens lets every answer be as long as the model wants, and output tokens are the expensive ones.
Findings
These are the patterns Skeram’s engine looks for in your code. Each page shows what the pattern looks like, why it costs money or breaks, how to fix it, and, where one exists, a real example from an open-source app.

A model call without max_tokens lets every answer be as long as the model wants, and output tokens are the expensive ones.
A route that calls a model on your key without a signed-in user lets anyone on the internet spend your budget.
A request that waits on a model holds a connection for seconds; when the provider slows down, those held connections multiply until other requests can't get in.
A list, search or aggregate query on your busiest route gets slower as data grows, and it's slowest exactly when traffic peaks.
If users save their own model API keys in your app, a route that uses them without checking who's calling lets strangers spend your users' money.
Work fired off from a request handler without a queue dies on deploys and crashes, never retries, and competes with live requests for the same server.
A webhook handler that does its work before responding makes the sender retry under load, which doubles the traffic on an already slow handler.
On serverless hosting every concurrent function instance opens its own pool, so the total quickly exceeds what the database allows.
Opening a fresh database connection on every request spends time and database capacity on setup, and runs into the connection limit long before the database is busy.
Every third-party API your request waits on adds its slow moments and outages to yours.
When web requests, background jobs and long AI streams share one service, a burst in one starves the others and one bad deploy takes all of them down.
Jobs written as events or queue consumers, with no real queue installed, have no retries, no backpressure and no record when they're lost.
Raw WebSocket connections pin each user to one server, so deploys drop them and load can't be rebalanced.
Without error tracking or metrics, the first sign of a problem is a user complaining about it.
Scan a repo and every finding comes with the file, the line and a fix you can hand to your coding agent.