Platform

How AI credits work in Hercules

AI credits pay for every message you send Hercules while building an app, and for every run of an agent built with Hercules Agents. Your plan includes a monthly grant, you can buy more, and your whole organization shares one balance.

How do AI credits work?

Know what a build chat costs

Every message to Hercules uses credits, questions included, and the cost varies by model, task complexity and output length. Hercules re-reads your app and the conversation at each step, so long chats cost more.

AI Credits
End of a build chat showing it cost 66.99 credits, with the next version row below
Run details for an agent run started by an app: API trigger, 0.159 credits spent and one app tool call

Know what an agent costs

Every agent run uses credits, including test chats, scheduled runs and replies inside your app. So do run summaries, scoring that grades replies, and Auto-improve, which suggests fixes from past runs.

Agent costs and limits
Run limits card with a 50 credit spend limit and a 20 minute time limit

Cap what an agent spends

Run limits cap the spend, time and steps of a single agent run, which can go slightly over while it finishes its current step. The daily spend limit caps what an agent spends on runs your apps start over a rolling 24 hours, checked as each run starts.

Agent costs and limits
AI credits panel with the auto-reload set up option

Reload before a build stops

Auto-reload tops up credits before a running build hits zero, at a threshold from 1 to 100 credits that defaults to 10. A spend maximum limits how much auto-reload can buy.

AI Credits
AI usage breakdown by category under Settings, Billing, AI Credits

See where the credits went

Settings, Billing, AI Credits shows your balance, usage by category and invoices. An agent's Analytics shows credits per run.

Agent analytics

How do you spend fewer credits?

  1. 1. Plan large features first

    Plan a delivery scheduling feature where customers pick a time window.

    Send it in Plan mode, and Hercules settles the plan with you before it changes code, so there are fewer wrong guesses to pay for.

    Agent modes
  2. 2. Save your rules once

    Save naming and design rules in Personalize, and Hercules follows them in every chat. Undo a change from Versions instead of asking Hercules to reverse it.

    Improve accuracy
  3. 3. Set agent limits from real runs

    Watch Credits per run on an agent's Analytics for a week, then set its spend limit a few times higher than a typical run. Hercules stops any run that reaches the limit and says so in Run history.

What could this look like for a cleaning company?

In this hypothetical example, a commercial cleaning company with 150 staff builds its crew scheduling app on Hercules, plus a client-portal agent that answers questions about visits. The portal agent's daily spend limit caps what visit questions cost in a day, but it doesn't set credits aside for building. The operations manager turns on auto-reload, so scheduling work doesn't stop mid-build when the shared balance runs low.

Related features

Frequently asked questions

What should you know about AI credits?
  • Plan and add-on credits expire 28 to 31 days after they're granted. AI Credits
  • When you run out, your apps stay published, but building stops until you buy more or your next grant arrives, and an agent in your app tells users it isn't available.
  • Auto-reload needs a paid plan and a saved payment method, and it pauses while a plan downgrade is scheduled.
  • See how many credits each plan includes on the pricing page.
How many credits will my app take?

Hercules can't estimate how many AI credits an app will take to build, because every app is different. Build in small steps and check your usage as you go. AI Credits

Does a run stopped by a limit count as a failure?

Analytics doesn't count agent runs stopped by a limit, or by you, as failures. It still includes them in the total the failure rate is measured against. Agent costs and limits

Can I move credits to another organization?

AI credits move to another organization from the Grants list if both organizations are on a paid plan. Only plan and purchased credits can move, and they keep their expiration date. AI Credits

Can I lower how many credits I buy each month?

If your plan allows AI credit tiers, a lower tier takes effect at the end of the billing cycle. An AI credit add-on can be reduced or canceled from the next cycle. AI Credits

How do you get started?

Build one small feature in a new chat, then check its usage in Settings, Billing, AI Credits to set your auto-reload spend maximum. Start building.