Private betaThis is the SIGSHIP beta. Everything here is live for testers; the public launch is in January.SIGSHIP private betaOpen the app →
  1. Home
  2. The 17 checks
  3. Your AI route has no spending brake
✨ AI costs · Fix soon (SEV-2)

Your AI route has no spending brake 

In plain English: Your app has a feature that calls a paid AI service, and nothing limits how often it can be used. One script left running overnight can spend hundreds or thousands of dollars of your credit.

What happens if you ship it

One script loops on this endpoint overnight and you wake up to the invoice.

How to fix it technical

Add a per-user and per-IP rate limit in front of this route, plus a monthly spending cap in your AI provider dashboard.

Let your AI tool fix it

Paste this into Lovable, Bolt, Cursor, Replit or Claude Code:

Prompt for your AI tool
Fix this problem in my project: Your AI route has no spending brake. Add a per-user and per-IP rate limit in front of this route, plus a monthly spending cap in your AI provider dashboard. Change only what this fix needs, then tell me what you changed and anything I have to do myself.

Check your app

Run npx sigship in your project folder. It reports this problem as ai-route-no-rate-limit, along with 16 other checks. Nothing leaves your computer. New to the terminal?

Questions

What is a rate limit?

A rule that only lets each person (or each address) make a certain number of requests in a period, such as 20 a minute. Anything above that is refused.

How do I stop a surprise AI bill?

Add a rate limit in front of the AI route, require a login for it, and set a monthly spending cap in your AI provider's dashboard.

See every check · Jargon, explained