Launching soon

No surprise AI bills.

Mantis sets a limit for every user and a hard cap on your AI spend, right inside your Next.js app. Your AI installs it, and your API keys never leave your server.

$ claude "add Mantis: 200 AI calls per user a day, $50 a month". Wrapped 3 AI calls in app/api. Limit: 200 calls per user a day. Cap: $50 a month. Test user stopped at call 201

Built for Next.js AI apps, and for the AI that writes them.

How it works

A limit for every user.A cap on the whole bill.

Mantis checks each AI call before it runs and prices it after, so no user, bot or bug can spend more than you allow.

Try it

Tell your AI.It wires the rest.

The Mantis MCP server and skill show Cursor and Claude Code how to add it: wrap each AI call, set the limits and put one key in .env.

Try: “Cap each user at 200 AI calls a day”

For developers

Inside your app.Not in front of it.

Mantis is a package in your Next.js server, not a proxy. It asks whether a call may go ahead, then reports what it cost.

  • Your keys stay yours

    OpenAI, Anthropic and Stripe keys never leave your server. Mantis sees counts and costs, never your prompts.

  • Works with your SDK

    The OpenAI SDK, the Anthropic SDK and the Vercel AI SDK, in a Next.js app.

  • Built for your AI

    An MCP server and a skill, so Cursor and Claude Code can install it and fix what an alert points to.

Illustration: three Mantis alerts. A user stopped at their daily limit, the monthly cap reached, and a spend spike traced to one route.

Showing Limit per user: One user made 4,000 calls in an hour

Your userYour appMantis checkAI provider

Your AI app deserves a ceiling.

Mantis is launching soon, starting with Next.js apps.