Docs

How money works

Know the most a run can cost before it starts, and check what you paid afterwards.

All docs

Example

Read a receipt
# Put the "id" from the reply in REQUEST_ID, then read what was held and charged.
curl -s "https://api.corent.tech/v1/open/invocations/$REQUEST_ID/receipt" \
  -H "Authorization: Bearer $CORENT_API_KEY"

What success looks like

  • "most_allowed_cents" is your limit. "charged_cents" is what you paid. "returned_cents" is what came back from the hold.
  • "money" says the same in one sentence.

If it fails

  • "final": false means the run has not ended, so money may still be held. Read the receipt again later.
  • If a figure looks wrong, email support@corent.tech with the request id.

Details

Before a run

These rules are for open models and tools.

  • Every model has a most-it-can-cost figure. That amount is held from your credit when a run starts.
  • Your limit (max_cost_cents) must be at least that figure, or nothing runs.
  • Not enough credit for the hold means nothing runs and nothing is charged.

After a run

  • You pay for what the run used, never more than the figure that was held. The rest returns to your credit.
  • A failed run costs nothing.
  • A request that never started costs nothing.

Keeping spending down

  • Give each key a daily spending limit, under Limits in the console.
  • Give an AI assistant its own key, so you can see and stop its spending.

Bills and statements

Your credit, payments and statement are under Bills in the console. Prices for the other models are on the pricing page.