Skip to Content
hackrouter

Billing

A prepaid balance, drawn per request at each model's price.

You top up a balance in advance, and each request is paid from it. There is no plan, no seat and nothing that renews.

How a request is charged

  • By usage. Each meter used times its price, added up and rounded up to a billionth of a dollar. See Models and prices.
  • At the price of the moment. Each request keeps the prices it was charged at.
  • Failures are free. A request that is refused, rejected by the model or fails before answering costs nothing.
  • What was produced is paid. If a stream breaks or you disconnect partway, you pay for what was generated. An image is charged whole once it has started.
  • Estimated when it must be. When a provider does not report usage, it is estimated from the text, and the request is marked as estimated.

Look up what any request cost with GET /v1/requests/{id}, or work out a charge before sending with POST /v1/estimates.

The balance

  • Holds. Before a request runs, the most it could cost is set aside and released when it ends. With a low balance, the output is limited so the request cannot cost more than what is left.
  • Empty. When the balance cannot cover a request, it gets 402 insufficient_balance. Nothing runs.
  • Low-balance email. Set a threshold in the console and get one email when the balance falls below it.

Topping up

Top up on Billing in the console, by card. Larger total top-ups also raise your rate limit.