Concepts

Usage and billing

Rush meters compute while a run is awake and tokens on Rush's models. Every session records its tokens and cost; limits answer with a typed code.

View .md

What a run costs comes from two places. Its compute, the sandbox the agent works in, is metered against your plan; a paid plan's price buys compute, never models. Its model calls run on Rush's models, billed per token from prepaid credits, for every run started with an API key or an MCP client and every run of an agent made from a template. On Free, your own runs in the console use a one-time $1 free credit for the AI model and compute; at $1 they pause, and you upgrade and connect your Claude or ChatGPT subscription, or an API key to keep running. Automations and Slack runs need Pro or Max. On Pro and Max the AI model is not included: your own runs use your own Claude or ChatGPT subscription, or an API key, and your provider bills those (Models). Pricing lists the plans and what each includes.

Your org pays for its plan, per member, and its owner manages it under Billing. Every member's own runs draw on one pool of cloud computer hours: each paid seat adds the plan's hours to it. Credits for API key runs are bought by the member who holds the key.

04A fifth waits in line

ONE RUNpausedcomputestopped: $0 while parkedONE KEY · max_concurrent: 4run 1run 2run 3run 4run 5 → queuedstarts as soon as a slot frees
Scene. Compute is billed while a sandbox works and stops while it is parked; a key runs at most max_concurrent sessions at once (4 by default).

What is metered

  • Compute. Measured from the sandbox's vCPU-seconds and memory GiB-seconds while it is awake. Pro and Max include cloud computer hours for the month for each member, pooled across the org, with a smaller pooled cap for any one week, and they do not carry over. Free has no hours: its $1 pays your runs' compute. Your own runs stop at the plan's hours or the $1; credits never pay for them.
  • Parked time is free. When a turn ends the sandbox parks and its meter stops. A follow-up starts it again. A session you keep for days between turns costs nothing while it waits.
  • Disk is not priced.
  • Rush's models and credits. An API key, MCP or template-agent run is paid from credits you buy under Billing (from $10, no paid plan needed) once your account's one-time $1 is used (an account made without a Free plan has none), each model call and its compute; it never uses your plan's hours. Auto-reload charges your default card (the one you made default under Billing, or your only saved card) a set amount when the balance falls under your threshold; with several cards and none made default, nothing is charged. With no credits the run answers 402 TOKEN_LIMIT_REACHED; once they are used up, 402 CREDITS_EXHAUSTED. A run already going can finish the model call it is in past $0, so the balance can read a little below zero; that amount comes off your next purchase. See Models.

Model calls on your own account are never counted toward Rush's model limits. The compute those runs use always is.

Where usage shows

Every session carries its own usage on GET /o/{org}/sessions/{session}: input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, reasoning_tokens, total_tokens, total_cost_usd, tool_calls_count and turns_count, summed across turns. The webhook for each turn also carries total_cost_usd.

total_cost_usd is the model cost of the run. On Rush's models it is what the provider billed for the run's calls, which your credits pay for. On your own account it is the cost the harness reports, which your provider bills; it is not a Rush charge. GET /o/{org}/sessions?agent=<saved agent id> lists one saved agent's sessions, such as the agent you made for one of your users, so you can add up what it cost.

In the console, Billing shows your plan, the compute you have used this period, and the spend limit.

Limits and their codes

When a plan does not cover a run, starting it or sending a follow-up answers 402 with a typed code, before any sandbox starts:

code Meaning
FREE_TRIAL_USED The one-time $1 free credit is used. To keep running, upgrade and connect your Claude or ChatGPT subscription, or an API key; a run still going pauses.
PLAN_REQUIRED The run needs Pro or Max: an automation or Slack run on Free, or any run on an account with no Free plan.
MODEL_ACCOUNT_MISSING A Pro or Max plan does not include the AI model: connect your own Claude or ChatGPT subscription, or an API key.
COMPUTE_LIMIT_REACHED The month's included compute is used.
WEEKLY_COMPUTE_LIMIT_REACHED The week's included compute is used.
SPEND_CAP_REACHED An API key run's credit spend for the period reached the spend limit you set.
PAYMENT_METHOD_REQUIRED A paid plan has no working payment method.
TOKEN_LIMIT_REACHED An API key or MCP run has no credits to pay for Rush's models.
CREDITS_EXHAUSTED The credits you bought are used up. Add more under Billing, or turn on auto-reload under Developers.

Spend limit

You set your own spend limit in the console under Developers, beside your API keys. It caps how much of your credits API key runs use in a period; once they reach it, new API key runs answer 402 SPEND_CAP_REACHED. It never stops your own runs. Clear it to remove the limit.

Concurrency

Two limits decide how many runs can be in progress at once.

  • Per API key. A key has max_concurrent: 4 by default, up to 100 when a signed-in member creates it with createApiKey. One more run is still created: it answers 202 with status: "queued" and starts, oldest first, when one of the key's slots frees. It waits in that key's own line, so your other keys and the console keep starting runs while your plan has room.
  • Per plan. Your plan also sets how many of your runs can be active at once, for each member, across the console and your keys.

A parked sandbox holds no slot, on your plan or on its key, so sessions waiting between turns count against neither. A finished run keeps its slot until its sandbox parks.

A running session also queues at most 20 follow-ups from the console or the API; one more answers 429 QUEUE_FULL.