Concepts

Models and your access

API key and template-agent runs use Rush's models, billed per token; your own runs, in the console or an app you signed in, use your own account.

View .md

Rush runs the harness and supplies the model. Runs started with an API key or an MCP client, and runs of an agent you made for one of your users, always use Rush's models, billed to you per token: you need no model account of your own, and these runs never use one. A person's own runs, in the console or from an MCP client they signed in to Rush (a Claude.ai or ChatGPT connector), use their own model account.

Rush's models

Claude Code runs Anthropic's models and Codex OpenAI's. Both also run the other models Rush serves: Kimi (kimi-k3, kimi-k2.6), DeepSeek (deepseek-v4-pro, deepseek-v4.1-flash, deepseek-v4-flash), Grok (grok-4.7) and Muse (muse-spark-1.3, muse-wonder-1.0). These ids are Rush's own and stay the same whichever vendor serves the model, so an agent saved on one keeps working. In the console, a model that only Rush serves runs only on Free, within its $1.

JSON
{
  "agent": "codex",
  "model": "kimi-k3",
  "input": "Upgrade the lockfile and fix what breaks."
}

Past your account's first $1, each call on an API key or MCP run is paid from credits you buy up front under Billing (from $10, no paid plan needed). Auto-reload charges your default card a set amount when the balance falls under a threshold you choose. With no credits a run on Rush's models answers 402 TOKEN_LIMIT_REACHED; with credits used up, 402 CREDITS_EXHAUSTED. See Usage and billing.

Your own account

In the console, connect an account under Settings → Accounts: a Claude or ChatGPT subscription, or an Anthropic, OpenAI or OpenCode API key. On Free, a one-time $1 free credit pays for your runs, AI model included; on Pro and Max your own runs need your own account, and a card or a spend limit never changes that. Your runs pick an account in this order:

  1. Your subscription for that harness.
  2. Your API key for that harness.

04A model the harness does not list is refused

THE REQUEST"agent": "claude","model": "not-a-model"Your subscriptionClaude or ChatGPTYour API keyAnthropic or OpenAI422 MODEL_UNSUPPORTEDrefused before any sandbox starts; GET /o/{org}/agents/available lists what each harness takes
Scene. Your own console run uses your subscriptions first, then your API key. A model the harness does not list is refused before a sandbox starts.

Rush never moves a run off an account you connected. An API key or template-agent run cannot use one: a request that names account_id is refused 422 ACCOUNT_UNSUPPORTED.

Model calls on your own account are billed by your provider, not by Rush. The run's compute is still metered.

Choosing a model

GET /o/{org}/agents/available lists what your org can run: each harness, and under it each model with the fields a run takes.

JSON
{
  "harnesses": [
    {
      "name": "claude",
      "display_name": "Claude Code",
      "models": [
        {
          "name": "claude-opus-5-5",
          "display_name": "Opus 5.5",
          "effort": ["low", "medium", "high", "xhigh", "max"]
        },
        {
          "name": "claude-haiku-5-5",
          "display_name": "Haiku 5.5"
        }
      ]
    }
  ]
}
Field on a run Where its value comes from
agent A harness name: claude, codex or opencode.
model A model name listed under that harness. Leave it out for the harness default.
effort One of that model's effort values. A model with no effort list takes none.

The model name is exactly what that harness's own CLI takes: bare for Claude Code and Codex (claude-opus-5-5, gpt-5.5), provider/model for OpenCode (anthropic/claude-opus-5-5). The list is refreshed as each harness ships, and every model on it is one the sandbox's CLI knows.

Fast mode

Rush's models run at standard speed, so a session on them (every one started with an API key, and any of yours while the model trial pays for it) takes speed: "standard", the same as leaving it out, and /agents/available lists no speed. speed: "fast" is refused before any sandbox starts: 422 MODEL_UNSUPPORTED on Claude Code or Codex, 400 VALIDATION_ERROR on OpenCode, and 422 SPEED_NOT_QUALIFIED on a saved agent. OpenCode's fast models are separate ids ending in -fast. Rush's models serve neither those nor OpenCode's openai/* models, so a key's OpenCode list leaves them out; an MCP client you signed in runs on your own account and lists them all.

When a model is refused

A model that is not listed for the run's harness is refused before any sandbox starts:

JSON
{
  "error": "claude-opus-9 is not a model the claude harness lists.",
  "code": "MODEL_UNSUPPORTED"
}

with status 422. No run is created and nothing is charged. Read /agents/available again and pick a listed name.

Saved agents pin a model too. Theirs is checked when you save the agent and again on every run, so a model that leaves the list stops a saved agent's runs with a typed error instead of running something else.