1 Costs
Robin edited this page 2026-11-22 20:30:42 +01:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Costs

The API costs are yours. Every answer is billed by Anthropic to your own account, and the optional search by meaning by your embeddings service to yours. The plugin's author receives nothing and is not responsible for these costs.

What the plugin does

  • Spending caps, per day and per month, for the whole site (5 and 50 by default) and, if you wish, for the chatbot alone: Chatbot › Costs. Once a cap is reached, the chat tells visitors it is unavailable until the next day or month. 0 = no cap; the dashboard reminds you while no cap is set at all.
  • Cost tracking: the estimated cost of each answer, by model, today and this month, in the same tab and on the dashboard.

Why the caps are not enough

The caps rely on estimates: the tokens each answer used, at the prices of the Costs tab. They can be passed:

  • several answers running at the same moment are each checked before they start, so together they can go past a cap by a few answers;
  • Anthropic's API gives no prices: the plugin's table comes with the plugin, and a price that changes before the table does makes the estimate wrong (a model without a price is counted at the highest known prices);
  • the search by meaning, billed by your embeddings service, is not counted at all.

Anthropic's invoice is the reference.

Set a limit at Anthropic

In your Anthropic account, set a monthly spend limit: Claude Console › Spend limits, then Set limit (or Adjust limit) next to Monthly spend limit. That limit is binding: once it is reached, Anthropic refuses the calls, and the chat says it cannot answer.

Use a key made for this site only, so that its usage is easy to read in the Console.