From e9debbc6a9a7b63c73fe50547689ea7e55609267 Mon Sep 17 00:00:00 2001 From: ahokik Date: Tue, 20 Oct 2026 19:00:44 +0100 Subject: [PATCH 01/11] Docs: the Free plan runs a free model; no signup credit; limits per tier (D3.16) Copy for orca-design D3.16 "The Free plan" (orca-design #131). Replaces the closed orca-docs #35. Do not merge before the server serves the new plan facts and refusals. - No signup credit anywhere: start-here, introduction, the four kit pages, dashboard overview and wallet, plans, wallet. - plans: the Free plan (free model, own provider keys, the Free price ceiling, machine time on Free, network off until credit, turn bounds, storage, withheld free use) and limits per plan, numbers on the pricing page. - wallet: what credit pays for on Free; free_model, included_hours_withheld and network_off; signup_credit_micro_usd is 0. - providers: which models Free can use, GET /api/models plan, the zero-price refusal. - troubleshooting and reference/errors: every new refusal and turn end. - Dashboard and CLI: the free model preselected on Free; orca models shows "free model" and "Pro and Max". Co-Authored-By: Claude Opus 5.5 --- cli/commands.mdx | 4 +- dashboard/agents-and-sessions.mdx | 2 +- dashboard/overview.mdx | 2 +- dashboard/wallet-and-usage.mdx | 2 +- glossary.mdx | 6 +- introduction.mdx | 4 +- kits/cram-coach.mdx | 6 +- kits/margin-check.mdx | 4 +- kits/scout.mdx | 6 +- kits/seo-helper.mdx | 4 +- plans.mdx | 106 ++++++++++++++++++++++++++---- providers.mdx | 38 +++++++++-- reference/errors.mdx | 14 ++-- reference/overview.mdx | 2 +- start-here.mdx | 8 +-- troubleshooting.mdx | 85 ++++++++++++++++++++++-- wallet.mdx | 22 +++++-- 17 files changed, 259 insertions(+), 56 deletions(-) diff --git a/cli/commands.mdx b/cli/commands.mdx index 2735e7e..54fd177 100644 --- a/cli/commands.mdx +++ b/cli/commands.mdx @@ -69,9 +69,9 @@ instructions: | reasoning: { effort: medium } ``` -In a terminal, a file with no `model` opens a picker of every model you can use, grouped by who pays. The server checks every field and the CLI prints its message. See [models and provider keys](/providers). +In a terminal, a file with no `model` opens a picker of every model you can use, grouped by who pays. On Free, the [free model](/plans#the-free-model) comes first. The server checks every field and the CLI prints its message. See [models and provider keys](/providers). -`orca models` lists the same names anywhere, including in scripts and coding agents: one line per model with its name, who pays (`orca`, or the provider whose key you saved), and OpenRouter's price for Orca credit models. `--payer orca` or `--payer anthropic` keeps one group, and `--json` prints the server's list. +`orca models` lists the same names anywhere, including in scripts and coding agents: one line per model with its name, who pays (`orca`, or the provider whose key you saved), and OpenRouter's price for Orca credit models. A `plan` column marks the free model as **free model** and, on Free, the models above the [Free price ceiling](/plans#the-free-price-ceiling) as **Pro and Max**. `--payer orca` or `--payer anthropic` keeps one group, and `--json` prints the server's list. ```bash orca models --payer orca | grep luna diff --git a/dashboard/agents-and-sessions.mdx b/dashboard/agents-and-sessions.mdx index f1e5109..5b782b2 100644 --- a/dashboard/agents-and-sessions.mdx +++ b/dashboard/agents-and-sessions.mdx @@ -9,7 +9,7 @@ An **agent** is a saved model, instructions, and tools. A **session** is one con 1. Open **Agents** and choose **Create agent**. 2. Under **Model**, choose who pays in **Provider**: **Orca credit** comes first, then every provider Orca supports. A provider whose key you have not saved is greyed out; add the key under **Settings**, **BYOK**. -3. Pick a model from that provider's list in **Model**. Ids are shown without the provider prefix, such as `openai/gpt-5.6-luna` under Orca credit. Each model shows its name and context window, and for Orca credit OpenRouter's price per million tokens in and out; the note under the field says you pay OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. You can also type a model id. See [models and provider keys](/providers). +3. Pick a model from that provider's list in **Model**. On Free, the form starts on Orca credit with the [free model](/plans#the-free-model), `cohere/north-mini-code:free`, already picked. Ids are shown without the provider prefix, such as `openai/gpt-5.6-luna` under Orca credit. Each model shows its name and context window, and for Orca credit OpenRouter's price per million tokens in and out, with **Free model** on the free model and, on Free, **Pro and Max** on models above the [Free price ceiling](/plans#the-free-price-ceiling); the note under the field says you pay OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. You can also type a model id. See [models and provider keys](/providers). 4. Optionally give it a **Name** and **Instructions**, the system prompt every session starts with. 5. Choose **Create agent**. diff --git a/dashboard/overview.mdx b/dashboard/overview.mdx index 43945f5..8c4d91b 100644 --- a/dashboard/overview.mdx +++ b/dashboard/overview.mdx @@ -7,7 +7,7 @@ The dashboard at [app.orcapods.ai](https://app.orcapods.ai) is where you create ## Sign in -Open [app.orcapods.ai](https://app.orcapods.ai) and sign in, or create an account. The first time, you choose or create your [organization](/organizations). A new account starts with a [signup credit](/wallet#where-credit-comes-from) of Orca credit. +Open [app.orcapods.ai](https://app.orcapods.ai) and sign in, or create an account. The first time, you choose or create your [organization](/organizations). A new account starts on the [Free plan](/plans#the-free-plan), with no card and no credit. On Free, a new agent starts on the [free model](/plans#the-free-model), which costs nothing. To sign out, open your avatar menu at the top right. diff --git a/dashboard/wallet-and-usage.mdx b/dashboard/wallet-and-usage.mdx index f72f583..fddaf9f 100644 --- a/dashboard/wallet-and-usage.mdx +++ b/dashboard/wallet-and-usage.mdx @@ -10,7 +10,7 @@ Open **Wallet**. It shows your plan and the current period, and four figures: | Figure | Meaning | | --- | --- | | **Balance** | Everything credited minus everything charged. It says "Paid work paused" when the balance is under your plan's minimum. It can be below zero, for example `-$1.50`, after a call [charged later](/wallet#calls-charged-later). | -| **Credited** | Purchases, grants, and signup credit | +| **Credited** | Purchases and grants, and signup credit for accounts given it before it ended | | **Charged** | Platform usage, all time | | **Machine time** | Time used this period, out of what your plan includes | diff --git a/glossary.mdx b/glossary.mdx index 899ba77..fd1b1fe 100644 --- a/glossary.mdx +++ b/glossary.mdx @@ -25,6 +25,10 @@ Terms are listed alphabetically. Each links to the page that explains it in full **Executor**: The program that connects a self-hosted machine to Orca. Orca uses the stock Codex `exec-server`. See [self-hosted executor](/guides/environments#self-hosted-environment). +**Free model**: The model Orca runs at no charge on the Free plan, within a daily share, currently `orca/openrouter/cohere/north-mini-code:free`. See [the free model](/plans#the-free-model). + +**Free price ceiling**: On Free, the highest input and output price an Orca credit model can have to run on credit. Models above it run on Orca credit on Pro and Max only. See [the Free price ceiling](/plans#the-free-price-ceiling). + **Function tool**: A tool that your application implements. When the model calls it, Orca pauses the turn until your code sends back a result. See [function tools](/guides/function-tools). **Idempotency key**: A unique value you send in the `Idempotency-Key` header so that retrying a request does not do the work twice. See [reliable session workflows](/guides/reliability). @@ -43,7 +47,7 @@ Terms are listed alphabetically. Each links to the page that explains it in full **Organization**: The account everything in Orca belongs to: agents, sessions, keys, the wallet, and the plan. Your API key acts in one organization, and you only see its resources. See [organizations and roles](/organizations). -**Plan**: Free, Pro, or Max. It sets the included machine time and how many sessions run at once. See [plans](/plans). +**Plan**: Free, Pro, or Max. It sets the included machine time, which models Orca credit pays for, and the limits on requests, turns, sessions, keys and storage. See [plans](/plans). **Provider key**: Your own API key for a model provider such as Anthropic or OpenRouter, stored in Orca so your agents can use that provider. See [models and provider keys](/providers). diff --git a/introduction.mdx b/introduction.mdx index 2d6bc61..8d29cdd 100644 --- a/introduction.mdx +++ b/introduction.mdx @@ -42,9 +42,9 @@ Orca stores all of this durably. If your application disconnects or restarts, th ## What you need -- **An Orca account.** Sign up at [app.orcapods.ai](https://app.orcapods.ai). A new account starts on the Free plan with a [signup credit](/wallet#where-credit-comes-from) of Orca credit. +- **An Orca account.** Sign up at [app.orcapods.ai](https://app.orcapods.ai). A new account starts on the [Free plan](/plans#the-free-plan), with no card and no credit. Free runs Orca's free model at no charge, any model on your own provider key, and, on credit you add, models up to the Free price ceiling. - **An Orca API key.** Create one in the dashboard under **Settings**, **API keys**. It acts for your [organization](/organizations). It is not an OpenAI key. -- **A model name**: an Orca credit model (`orca/openrouter/`), or one on your own provider key (see [models and provider keys](/providers)). +- **A model name**: an Orca credit model (`orca/openrouter/`), such as the free model `orca/openrouter/cohere/north-mini-code:free` on Free, or one on your own provider key (see [models and provider keys](/providers)). The base URL is `https://api.orcapods.ai/v1`. diff --git a/kits/cram-coach.mdx b/kits/cram-coach.mdx index a0747fb..d70a648 100644 --- a/kits/cram-coach.mdx +++ b/kits/cram-coach.mdx @@ -10,7 +10,7 @@ Orca is where it runs. Your chapter goes into a private sandbox that runs only f Each step below builds on the one before, and the first few are all you need to get your files. -**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start with free credit and no card, and every step on this page runs on it. +**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start on the [Free plan](/plans#the-free-plan), with no card and no credit. Cram Coach runs on `orca/openrouter/openai/gpt-5.6-luna`, which is paid from Orca credit, so [add credit](/wallet#buy-credit) before you give it a chapter. Its sandbox uses Free's included [machine time](/plans#machine-time-on-free). ## What it can read @@ -75,7 +75,7 @@ Check your credit: orca billing wallet ``` -`balance` is your Orca credit. The amount new accounts start with is on the [pricing page](https://orcapods.ai/pricing). +`balance` is your Orca credit. A new account starts at 0 on the [Free plan](/plans#the-free-plan): [add credit](/wallet#buy-credit) before you give Cram Coach a chapter. ## 2. Copy Cram Coach @@ -695,7 +695,7 @@ orca billing wallet # your balance and plan `orca sessions get session_...` shows one session's cost, tokens, and machine time. Do it before you delete the session. - **Model tokens** are paid from your Orca credit, since Cram Coach's model starts with `orca/`. The run in the example above cost $0.01 in tokens. A longer chapter costs more. -- **Machine time** comes from your plan, since every run has a sandbox. It counts from the sandbox's start until it goes to sleep or you delete the session, not only while Cram Coach works. Runs on the sample chapter, with the session deleted as soon as the files were saved, used one minute each. Sandboxes also need a small balance of credit, your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance). Delete each session when you have your files. +- **Machine time** comes from your plan, since every run has a sandbox. It counts from the sandbox's start until it goes to sleep or you delete the session, not only while Cram Coach works. Runs on the sample chapter, with the session deleted as soon as the files were saved, used one minute each. On Pro and Max, sandboxes also need your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance); on Free, the included time runs at any balance. Delete each session when you have your files. The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing). See [usage and wallet](/wallet#read-the-wallet-and-your-usage) for the rest. diff --git a/kits/margin-check.mdx b/kits/margin-check.mdx index 48c8e9c..17e2409 100644 --- a/kits/margin-check.mdx +++ b/kits/margin-check.mdx @@ -10,7 +10,7 @@ Orca is where it runs. Tokens cost [OpenRouter's price plus their fee](https://o Each step below builds on the one before, and you can stop after any of them. -**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start with free credit and no card, and every step on this page runs on it. +**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start on the [Free plan](/plans#the-free-plan), with no card and no credit. Margin Check runs on `orca/openrouter/openai/gpt-5.6-luna`, which is paid from Orca credit, so [add credit](/wallet#buy-credit) before you chat with it. To try it without credit, [switch the session](/providers#switch-who-pays-for-one-session) to the [free model](/plans#the-free-model) or to a model on your own provider key; answers on another model can differ from this page. ## What it knows @@ -70,7 +70,7 @@ Check your credit: orca billing wallet ``` -`balance` is your Orca credit. The amount new accounts start with is on the [pricing page](https://orcapods.ai/pricing). +`balance` is your Orca credit. A new account starts at 0 on the [Free plan](/plans#the-free-plan): [add credit](/wallet#buy-credit) before you chat with Margin Check, or switch the session to another model as above. ## 2. Copy Margin Check diff --git a/kits/scout.mdx b/kits/scout.mdx index 1d1fc7d..195c3dc 100644 --- a/kits/scout.mdx +++ b/kits/scout.mdx @@ -10,7 +10,7 @@ Orca is where it runs. An idea becomes a working agent in minutes, and that agen Each step below builds on the one before, and you can stop after any of them. -**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start with free credit and no card, and every step on this page runs on it. +**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start on the [Free plan](/plans#the-free-plan), with no card and no credit. Scout runs on `orca/openrouter/openai/gpt-5.6-luna` and searches the web, both paid from Orca credit, so [add credit](/wallet#buy-credit) before you chat with it, or run it on your own provider key ([models and provider keys](/providers)). ## What you'll do @@ -63,7 +63,7 @@ Check your credit: orca billing wallet ``` -`balance` is your Orca credit. The amount new accounts start with is on the [pricing page](https://orcapods.ai/pricing). +`balance` is your Orca credit. A new account starts at 0 on the [Free plan](/plans#the-free-plan): [add credit](/wallet#buy-credit) before you chat with Scout, or use your own provider key. ## 2. Copy Scout @@ -391,7 +391,7 @@ orca billing wallet # your balance and plan `orca sessions get session_...` shows one session's cost, tokens, and machine time. - **Model tokens and web searches** are paid from your Orca credit, since Scout's model starts with `orca/`. -- **Scout uses no machine time**, unless you give it a sandbox with `--sandbox`. Sandboxes use [machine time](/plans#machine-time) from your plan and need a small balance of credit, your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance). +- **Scout uses no machine time**, unless you give it a sandbox with `--sandbox`. Sandboxes use [machine time](/plans#machine-time) from your plan. On Pro and Max they need your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance); on Free, the included time runs at any balance. The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing). See [usage and wallet](/wallet#read-the-wallet-and-your-usage) for the rest. diff --git a/kits/seo-helper.mdx b/kits/seo-helper.mdx index 133ecab..7eff186 100644 --- a/kits/seo-helper.mdx +++ b/kits/seo-helper.mdx @@ -11,7 +11,7 @@ Orca is where it runs. Tokens cost [OpenRouter's price plus their fee](https://o Each step below builds on the one before, and you can stop after any of them. -**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start with free credit and no card, and every step on this page runs on it, apart from DataForSEO's own charges. +**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start on the [Free plan](/plans#the-free-plan), with no card and no credit. SEO Helper runs on `orca/openrouter/openai/gpt-5.6-luna`, which is paid from Orca credit, so [add credit](/wallet#buy-credit) before you chat with it, or run it on your own provider key ([models and provider keys](/providers)). DataForSEO bills its own charges. ## What you need @@ -80,7 +80,7 @@ Check your credit: orca billing wallet ``` -`balance` is your Orca credit. The amount new accounts start with is on the [pricing page](https://orcapods.ai/pricing). +`balance` is your Orca credit. A new account starts at 0 on the [Free plan](/plans#the-free-plan): [add credit](/wallet#buy-credit) before you chat with SEO Helper, or use your own provider key. ## 2. Copy SEO Helper diff --git a/plans.mdx b/plans.mdx index 9ed6887..b7d2fc2 100644 --- a/plans.mdx +++ b/plans.mdx @@ -1,20 +1,99 @@ --- title: "Plans and machine time" -description: "What Free, Pro, and Max include, how machine time is counted, and what happens at a limit." +description: "What Free, Pro, and Max include, the Free plan's free model, the limits on each plan, how machine time is counted, and what happens at a limit." --- -Every organization is on one plan. The plan sets how much sandbox time is included each period, how many sessions can run at once, and how much your organization can store. Model tokens are not part of the plan: they are paid from your [Orca credit or your own provider key](/providers). +Every organization is on one plan. The plan sets how much sandbox time is included each period, which models Orca credit can pay for, and the limits on requests, turns, sessions, keys and storage. Model tokens are not part of the plan: they are paid from your [Orca credit or your own provider key](/providers). Each plan sets: - **A price.** Free costs nothing; Pro and Max are billed monthly through Polar. - **Machine time included** in each period. -- **Extra machine time**, past the included time, at an hourly rate. Pro and Max have one; Free has none. +- **Extra machine time**, past the included time, at an hourly rate, charged to the second from your Orca credit. +- **Which models Orca credit pays for.** Any model on Pro and Max; on Free, the free model and models up to the [Free price ceiling](#the-free-price-ceiling). - **Sessions at once**, which is also how many sandboxes can run at once. -- **Storage** for your files, skills, artifacts and sandboxes that are asleep. +- **Limits** on requests, turns, sessions, API keys and storage. See [limits per plan](#limits-per-plan). - **A minimum balance** for paid work. -The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing), which is built from the numbers Orca charges with. Every new account starts with a [signup credit](/wallet#where-credit-comes-from). Credit is bought separately; see [wallet and credit](/wallet). +The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing), which is built from the numbers Orca charges with. No account starts with credit: credit is bought separately; see [wallet and credit](/wallet). + +A plan's terms hold for a whole period. When Orca changes a plan's numbers, the change applies to your organization from its next period, never in the middle of one. + +## The Free plan + +Free needs no card. It runs agents three ways: + +| Way | What it runs | Who pays | +| --- | --- | --- | +| **The free model** | Orca's free model, `orca/openrouter/cohere/north-mini-code:free` | Nobody. It runs on Orca credit at no charge, at any balance, within a daily share. | +| **Your own provider key** | Any model your OpenAI, Anthropic, OpenRouter, Vercel AI Gateway or CheaperInference key can run, at any price | You, at that provider. Orca charges nothing for the tokens. | +| **Credit you add** | Orca credit models up to the [Free price ceiling](#the-free-price-ceiling) | Your Orca credit, as on any plan | + +The most expensive models, such as Claude Fable, every Claude Opus and models priced like them, run on Orca credit on Pro and Max only, even when a Free organization has credit. On Free they run on your own key. + +On Free, the dashboard's new agent form picks the free model for you, and `orca agents create` with no model offers it first. + +### The free model + +The free model is Orca's choice: currently North Mini Code from Cohere, served through OpenRouter. Its name is in `GET /api/public/plans` under `free_model.models`, and `orca models` marks it **free model**. Orca may change it, and the pricing page always names the current one. + +- **It costs nothing.** Its calls are recorded in your usage at cost 0, whatever OpenRouter reports, and need no balance. +- **A daily share.** Each organization can make a set number of free-model calls a day, and so can each person, counted across every organization they create or work in. +- **A shared daily capacity.** All Free organizations together share one daily capacity, which can run out before the reset. +- **Both reset at 00:00 UTC.** The share and the capacity are on the [pricing page](https://orcapods.ai/pricing). The wallet shows your organization's calls today. +- **A set number of calls a turn.** A turn on the free model, its subagents included, makes at most the number of calls on the pricing page. A turn starts only when that many calls are left in your share and in the day's capacity, so the daily limits never cut a turn off halfway. A turn that reaches its last call ends `completed` with the event `orca.free_model.turn_limit`, its work kept; send a message to continue. +- **A few turns at once, across Orca.** When the free model is already running as many turns as Orca allows for all organizations together, a new turn is refused for a minute. See [troubleshooting](/troubleshooting#free-plan-and-limits). +- **Web search is not free.** A web search on the free model is charged to your Orca credit like any search, so it needs your plan's minimum balance. See [what a search costs](/providers#what-a-search-costs). +- **Free only.** Pro and Max run any model on credit and do not run the free model. +- **Your content.** The free model's calls go through OpenRouter to its provider, currently Cohere, which does not train on them and keeps them for up to 30 days. + +Other free models on OpenRouter, with ids ending in `:free`, run on your own OpenRouter key, not on Orca credit, on every plan. + +### The Free price ceiling + +On Free, Orca credit pays for a model only when its highest input price and its highest output price per million tokens are both at or under the Free price ceiling on the [pricing page](https://orcapods.ai/pricing). Highest means over every price OpenRouter lists for the model, such as a higher price for long prompts; reasoning tokens count as output, and cache prices are not compared. A model with no fixed price, such as the router `openrouter/auto`, is above the ceiling. Most mid-priced models are within it; the most expensive class is not. + +`GET /api/models` marks each Orca credit model with `plan`, and `orca models` and the dashboard's model picker show it. See [which models Free can use](/providers#which-models-free-can-use). The ceiling is checked when a turn starts, and a model above it is refused with HTTP 403 `model_not_in_plan`. + +Your own provider keys are not limited by the ceiling. + +### Machine time on Free + +- **Included time needs no balance.** While the included time lasts, a sandbox starts and runs at any balance, zero included. +- **Then paid time.** Past the included time, a sandbox keeps running while your balance is at or above the minimum, charged to the second from your credit at Free's hourly rate. Otherwise it stops: the running turn ends, the workspace is saved, and the session picks up with its files once you add credit or the next month starts. +- **A warning first.** When about 5 minutes of included time are left and your balance is under the minimum, the session gets the event `orca.compute.warning`, and the dashboard shows it. When the included time runs out, the organization's creator gets an email, once a month. +- **Network is off until you add credit.** A Free organization's sandboxes have no network access until it has bought credit once. The agent can still write and run code with what the sandbox has, but cannot install packages or reach the web from the sandbox. After the first purchase, new sandboxes follow the session's environment. The wallet shows `network_off: true` until then. +- **Free sandboxes share capacity.** Only a few Free sandboxes run at once across all of Orca, so a start can be refused for a minute when they are busy. +- **Free saves workspaces up to 100 MiB.** When a sandbox stops at the end of the included time or of your credit, a larger workspace is not saved, and the session says so. + +### A Free turn's bounds + +On Free, every turn, on any model and on your own key too, runs for at most the turn time on the [pricing page](https://orcapods.ai/pricing), and starts at most the subagents a turn the pricing page shows, fewer of them at once. A turn that reaches its time ends `completed` with the event `orca.turn.time_limit`, its work kept; send a message to continue. + +### Storage on Free + +A Free organization that has no credit can upload files and skills up to a smaller storage quota. Once it adds credit, it has Free's full storage. Both are on the [pricing page](https://orcapods.ai/pricing). + +### Free use can be withheld + +Orca can withhold the free model and the included machine time from an organization, for example when it suspects abuse. Credit you add and your own provider keys still work, and the wallet shows `included_hours_withheld: true`. If you think this is a mistake, ask in **#help** on [Orca's Discord](https://discord.gg/btTYzdzvqq). + +## Limits per plan + +Every plan has these limits. The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing) and in `GET /api/public/plans`. + +| Limit | What it counts | Past it | +| --- | --- | --- | +| Requests a minute, per organization | Every request made with the organization's keys or by its signed-in people | HTTP 429 `rate_limit_exceeded`, with a `Retry-After` header | +| Requests a minute, per key or person | Each API key and each signed-in person, on its own | The same | +| Turns a day | Turns your organization starts in a UTC day | HTTP 429 `rate_limit_exceeded` until 00:00 UTC | +| Sessions at once | Sessions with a running turn | HTTP 429 `rate_limit_exceeded`; see [sessions at once](#sessions-at-once) | +| API keys | Active API keys in the organization, device logins included | HTTP 403 `object_limit_exceeded`; revoke one to make another | +| Stored sessions | Sessions the organization keeps | HTTP 403 `object_limit_exceeded` on a new session; delete one to start another | +| Storage | Files, skills and saved sandbox workspaces | HTTP 403 `storage_quota_exceeded`; delete files, skills or sessions to free space | +| Free-model calls a day | Free only, per organization and per person; see [the free model](#the-free-model) | HTTP 429 `insufficient_quota` until 00:00 UTC | + +An organization already over a count when its plan's limit changes keeps what it has, and cannot add more until it is under the limit. Routes that need no key have their own limits per IP address; see [rate limits](/reference/overview#rate-limits). Every refusal and its way forward is in [troubleshooting](/troubleshooting#free-plan-and-limits). ## Change your plan @@ -30,7 +109,7 @@ Members see the plans but cannot change them. Machine time is the time your sessions' managed sandboxes run. Sessions with `environment: {"type": "none"}` use none. - **Every sandbox is the same machine,** the size the [pricing page](https://orcapods.ai/pricing) shows. -- **It is counted in whole minutes** while a sandbox is connected, whether the agent is working or waiting. Each minute a sandbox is running counts as one minute. +- **It is counted to the second** while a sandbox is connected, whether the agent is working or waiting. - **An idle sandbox goes to sleep** after the idle time the [pricing page](https://orcapods.ai/pricing) shows, and you can [put it to sleep](/guides/environments#put-a-sandbox-to-sleep-now) sooner. Time asleep is not counted. The sandbox wakes, with its files, the next time the session needs it. See [when a sandbox sleeps](/guides/environments#when-a-sandbox-sleeps). - **The period** is your subscription's billing period on Pro and Max, and the calendar month (UTC) on Free. Included time is counted per period and does not carry over. @@ -38,14 +117,16 @@ When the included time is used up: | Plan | What happens | | --- | --- | -| Pro, Max | Sandboxes keep running. Each extra minute is charged from your Orca credit at the plan's hourly rate. | -| Free | Sandboxes stop. A running turn ends `failed` with `usage_limit_exceeded`: "This plan's included machine hours for this period are used up". A new sandbox does not start: creating a session with one is refused with HTTP 429 `insufficient_quota` and the same message. Upgrade to keep going. | +| Pro, Max | Sandboxes keep running. Each extra second is charged from your Orca credit at the plan's hourly rate. | +| Free | Sandboxes keep running on credit while your balance is at or above the minimum, at Free's hourly rate. Otherwise they stop with the workspace saved, and a running turn ends `failed` with `usage_limit_exceeded` and `param: "included_hours"`. Add credit to continue now, or wait for the next month. See [machine time on Free](#machine-time-on-free). | + +Orca checks once a minute, so a sandbox can run up to a minute past the line before it stops; those seconds are charged at the plan's rate. The dashboard's **Wallet** page shows the time used in this period next to what the plan includes. ## Sessions at once -**Sessions at once** is how many of your organization's sessions can have a turn running at the same time. Idle sessions do not count, so you can keep as many conversations open as you like. +**Sessions at once** is how many of your organization's sessions can have a turn running at the same time. Idle sessions do not count, so you can keep as many conversations open as your plan's stored sessions allow. Orca checks it when a turn starts. If the limit is already reached, the message is refused with HTTP 429 `rate_limit_exceeded`: "Your plan runs N sessions at once", with your plan's number. Nothing is lost: send the message again when another session's turn ends, or upgrade. @@ -61,7 +142,7 @@ Each plan has a storage limit, on the [pricing page](https://orcapods.ai/pricing - **At the limit,** an upload, a new skill or skill version, a kit copy with skills, and a new sandbox are refused with HTTP 403 `storage_quota_exceeded`: "Your organization stores X of its Y. Delete files, skills or sessions to free space." - **Your sessions keep working.** A sandbox's workspace is always saved when it goes to sleep, and a sandbox that is asleep still wakes, even past the limit. Delete files, skills or sessions you no longer need to make room. -- **Uploads need credit.** While paid work is paused, a file or skill upload is refused with HTTP 429 `insufficient_quota`: "Out of Orca credit: add credit to upload files". Copying a kit needs no credit. +- **Uploads need credit.** While paid work is paused, a file or skill upload is refused with HTTP 429 `insufficient_quota`: "Out of Orca credit: add credit to upload files". On Free, uploads within a [smaller quota](#storage-on-free) need no credit. Copying a kit needs no credit. When Orca's own storage is nearly full, uploads, skill uploads, kit copies and new sandboxes are refused for a while with HTTP 503 `storage_unavailable` and `Retry-After: 300`: "Orca's storage is nearly full. Try again later." Sandboxes that are asleep still wake. @@ -78,15 +159,14 @@ These are the same on every plan: | Skills | 50 | | Skill versions | 20 for each skill | | Files | 1,000 | -| Active API keys | 100 | -One more is refused with HTTP 403 `object_limit_exceeded`, such as "Your organization has 100 agents, the most it can keep. Delete one to make another." For keys, revoke one. A [kit](/kits) copy that would pass a limit copies nothing. +One more is refused with HTTP 403 `object_limit_exceeded`, such as "Your organization has 100 agents, the most it can keep. Delete one to make another." Active API keys and stored sessions differ by plan; see [limits per plan](#limits-per-plan). A [kit](/kits) copy that would pass a limit copies nothing. An agent's `instructions` can be at most 256 KiB, and its `tools` at most 256 KiB as JSON. More is refused with HTTP 400 `invalid_request`, with `param` naming the field: "Instructions can be at most 256 KiB". This applies when you create or update an agent, and to an inline agent in a new session. ## Paid work needs a minimum balance -Even included machine time needs Orca credit in the wallet. When your balance is below your plan's **minimum balance** (on the [pricing page](https://orcapods.ai/pricing), and in the wallet as `min_balance_micro_usd`), Orca pauses paid work: model calls and web searches on Orca credit, and managed sandboxes. A turn on an Orca credit model, or in a session with a managed sandbox, is then refused. A managed sandbox does not start or wake, and file and skill uploads are refused. Turns on your own provider key in a session without a sandbox keep working, their web searches included. See [wallet and credit](/wallet#when-credit-runs-low). +When your balance is below your plan's **minimum balance** (on the [pricing page](https://orcapods.ai/pricing), and in the wallet as `min_balance_micro_usd`), Orca pauses paid work: model calls and web searches on Orca credit, and managed sandboxes. On Pro and Max that includes the plan's included machine time. On Free it does not: the free model and Free's included machine time run at any balance, and only the time past it is paid work. A turn that needs paid work is then refused, and a managed sandbox that needs it does not start or wake. File and skill uploads are refused too, except on Free within its [smaller storage quota](#storage-on-free). Turns on your own provider key in a session without a sandbox keep working, their web searches included. See [wallet and credit](/wallet#when-credit-runs-low). ## Schedules diff --git a/providers.mdx b/providers.mdx index 2abc107..987e35d 100644 --- a/providers.mdx +++ b/providers.mdx @@ -9,7 +9,7 @@ Every agent needs a model, and its `model` field says where the model runs and w | --- | --- | --- | | **`model` looks like** | `orca/openrouter/`, such as `orca/openrouter/anthropic/claude-sonnet-4.5` | `/`, such as `anthropic/claude-sonnet-4-5` or `openrouter/anthropic/claude-sonnet-4.5` | | **Runs on** | OpenRouter, with Orca's key | That provider, with your key | -| **Who pays** | Your Orca credit: OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup | You, at that provider | +| **Who pays** | Your Orca credit: OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. On Free, the [free model](#which-models-free-can-use) costs nothing. | You, at that provider | | **Setup** | None | Store your provider key in Orca once | | **Find model names** | `client.models.list()` | That provider's catalog | @@ -38,13 +38,16 @@ for model in client.models.list().data: {"payer": "orca_credit", "provider": "openrouter", "label": "Orca credit", "available": true, "models": [{"id": "orca/openrouter/openai/gpt-5.6-luna", "name": "OpenAI: GPT-5.6 Luna", "context_length": 400000, - "input_micro_usd_per_million": 200000, "output_micro_usd_per_million": 1200000}]}, + "input_micro_usd_per_million": 200000, "output_micro_usd_per_million": 1200000, + "plan": "within_ceiling"}]}, {"payer": "own_key", "provider": "openai", "label": "OpenAI", "available": true, "models": [{"id": "openai/gpt-5.6-luna"}]} ] } ``` +Each Orca credit model's `plan` says whether your organization's plan can run it; see [which models Free can use](#which-models-free-can-use). + Prices are in micro-USD (millionths of a dollar) per million tokens, as OpenRouter publishes them, and `null` where OpenRouter has no fixed price. They are shown for choosing a model; the charge is always what OpenRouter reports for the call. When a call ends without OpenRouter reporting its cost, such as a call you cancel, a stream cut short or a restart on Orca's side, Orca charges it later from OpenRouter's own record of that call, usually within minutes, never from an estimate. Web search on Orca credit is charged the same way. Orca reads each list at most every 10 minutes and keeps the last good copy; a group whose list cannot be read has `available: false` and no models. ## What Orca credit costs @@ -53,6 +56,32 @@ Each call on Orca credit is charged what OpenRouter charges for it, including it A web search on an Orca credit model is charged too; see [what a search costs](#what-a-search-costs). +## Which models Free can use + +On the [Free plan](/plans#the-free-plan), an organization runs: + +| Model | On Free | On Pro and Max | +| --- | --- | --- | +| Orca's free model, `orca/openrouter/cohere/north-mini-code:free` | At no charge, at any balance, within a [daily share](/plans#the-free-model) | Not offered | +| Any model on your own provider key, `/` | Yes, at any price | Yes | +| An Orca credit model within the [Free price ceiling](/plans#the-free-price-ceiling) | On credit you add | Yes | +| An Orca credit model above the ceiling, such as Claude Fable or Claude Opus | No: Pro and Max only, even with credit | Yes | +| Any other free model on Orca credit (an `orca/openrouter/` id ending in `:free`, or `orca/openrouter/openrouter/free`) | No | No | + +Bring your own provider key for anything the plan does not cover: a model on your own key is never limited by the ceiling, and every `:free` model on OpenRouter runs on your own OpenRouter key under its OpenRouter id, such as `openrouter/cohere/north-mini-code:free`. + +`GET /api/models` gives each Orca credit model a `plan`, for your organization's plan: + +| `plan` | Meaning | +| --- | --- | +| `free` | The free model. Free only. | +| `within_ceiling` | Runs on Orca credit on every plan. | +| `pro_and_max` | Above the Free price ceiling: runs on Orca credit on Pro and Max only. | + +Free models other than Orca's are left out of the Orca credit group. `orca models` shows **free model** and **Pro and Max** beside the models they apply to, and so does the dashboard's model picker. On Free, the dashboard's new agent form picks the free model for you, and `orca agents create` with no model offers it first. + +An agent or a kit can name a model your plan does not run, such as a kit made with `orca/openrouter/openai/gpt-5.6-luna`, which runs on credit. On Free with no credit, its first message is refused with the ways on: [switch that session](#switch-who-pays-for-one-session) to the free model or to a model on your own key, add a key, or add credit or upgrade. See [troubleshooting](/troubleshooting#free-plan-and-limits). + ## Connect a provider Provider management is an **Orca extension** under `/api/providers`, outside the OpenAI `/v1` surface. Use ordinary authenticated HTTP requests, not `client.beta.agents` methods, at `https://api.orcapods.ai` without `/v1`. Setting and removing a key needs the [admin role](/organizations#roles); in the dashboard it is **BYOK** under **Settings**, a page titled Providers. @@ -104,11 +133,12 @@ Every save checks the model: creating or updating an agent (HTTP 400 on `model`) - the name has no provider part, or uses `orca/` with any provider but OpenRouter; - it names your own key for a provider where you have none: "Add your Anthropic key in Settings, Providers, or choose an Orca credit model". When OpenRouter offers the same name, the message gives its Orca credit name instead: "Add your Anthropic key in Settings, Providers, or use orca/openrouter/anthropic/claude-sonnet-4.5 for Orca credit"; - the provider does not list the model: "Anthropic does not offer the model …"; +- it is a free model on Orca credit other than Orca's free model: "Orca credit runs only Orca's free model at no charge. Run other free models on your own OpenRouter key."; - with your key saved, it is OpenRouter's name for a model the provider lists under another id, such as `anthropic/claude-sonnet-4.5`: the message names `orca/openrouter/anthropic/claude-sonnet-4.5` for Orca credit, `openrouter/anthropic/claude-sonnet-4.5` with your OpenRouter key, or the provider's own id with its key. When a provider's list cannot be read, the agent is saved unchecked and the response carries an `Orca-Warning` header saying so. Nothing else changes in the response. -A turn checks your key again when it starts. Nothing ever falls back from your key to Orca credit, or from Orca credit to your key. +A turn checks your key again when it starts, and on Free it checks the model against the [Free plan](/plans#the-free-plan) too. Nothing ever falls back from your key to Orca credit, or from Orca credit to your key. ## Check capability limits @@ -125,7 +155,7 @@ A turn checks your key again when it starts. Nothing ever falls back from your k | Model | How it searches | Who pays | | --- | --- | --- | -| `orca/openrouter/` | OpenRouter's web plugin | Your Orca credit | +| `orca/openrouter/` | OpenRouter's web plugin | Your Orca credit, on the free model too | | `openrouter/` | OpenRouter's web plugin | You, on your OpenRouter key | | `openai/` | OpenAI's Responses web search | You, on your OpenAI key | | `anthropic/` | Anthropic's web search tool | You, on your Anthropic key | diff --git a/reference/errors.mdx b/reference/errors.mdx index 66cd5ac..1b153f3 100644 --- a/reference/errors.mdx +++ b/reference/errors.mdx @@ -13,15 +13,15 @@ When a request fails, Orca returns an HTTP error status and a JSON body in the s | --- | --- | --- | | `400 Bad Request` | Invalid field, unsupported configuration, malformed event input or cursor; agent `instructions` or `tools` over [256 KiB](/plans#how-many-you-can-keep) | `invalid_request` | | `401 Unauthorized` | Missing, invalid, or revoked bearer key | `invalid_api_key` | -| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind | `permission_denied`, `organization_required`, `storage_quota_exceeded`, `object_limit_exceeded` | +| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on Free, a model above the [Free price ceiling](/plans#the-free-price-ceiling) ("This model needs Pro or Max."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | | `404 Not Found` | Missing resource (including resources outside the caller's scope) | `not_found` | | `409 Conflict` | Conflicting state or incompatible environment use; a kit copy whose name is taken, or whose kit changed since its review | `conflict`, `name_taken`, `kit_changed` | | `410 Gone` | A withdrawn kit, or a route from Orca 1.x ("This CLI is too old for Orca. Run orca update.") | `kit_withdrawn`, `cli_outdated` | | `413 Payload Too Large` | Request exceeds a supported size limit, such as an upload over 512 MiB ("File exceeds 512 MiB") | `invalid_request` | -| `429 Too Many Requests` | Too many requests a minute, too many [event streams or uploads open at once](/reference/overview#rate-limits), or your plan's [sessions](/plans#sessions-at-once) or [sandboxes at once](/plans#sandboxes-at-once) are all running; out of Orca credit, which also stops new sandboxes and uploads | `rate_limit_exceeded`, `insufficient_quota` | +| `429 Too Many Requests` | Too many requests a minute or turns a day for your [plan](/plans#limits-per-plan), too many [event streams or uploads open at once](/reference/overview#rate-limits), your plan's [sessions](/plans#sessions-at-once) or [sandboxes at once](/plans#sandboxes-at-once) are all running, or the free model or Free sandboxes are busy across Orca (retry after `Retry-After`); out of Orca credit, which also stops new sandboxes and uploads, or a [Free plan](/plans#the-free-plan) refusal with a `param`: `free_plan`, `free_model_daily`, `free_model_capacity` or `included_hours` | `rate_limit_exceeded`, `insufficient_quota` | | `500 Internal Server Error` | Operation could not be completed | `server_error` | | `502 Bad Gateway` | Downstream failure | `server_error` | -| `503 Service Unavailable` | Sandbox capacity is full, your balance could not be read ("Orca could not read your credit balance. Try again in a moment."), Orca is receiving too many uploads, Orca's storage is nearly full ("Orca's storage is nearly full. Try again later."), or too many CLI sign-ins are waiting. Retry after `Retry-After`. | `sandbox_capacity`, `balance_unavailable`, `server_busy`, `storage_unavailable`, `device_login_unavailable` | +| `503 Service Unavailable` | Orca's free model is not available right now (`free_model_unavailable`), sandbox capacity is full, your balance could not be read ("Orca could not read your credit balance. Try again in a moment."), Orca is receiving too many uploads, Orca's storage is nearly full ("Orca's storage is nearly full. Try again later."), or too many CLI sign-ins are waiting. Retry after `Retry-After`. | `free_model_unavailable`, `sandbox_capacity`, `balance_unavailable`, `server_busy`, `storage_unavailable`, `device_login_unavailable` | The envelope uses `type: "server_error"` for 5xx and `type: "invalid_request_error"` for client errors. `param` can identify an invalid request field; do not parse English messages as stable machine codes. Framework-level errors are normalized to the same envelope but may use generic codes. Other HTTP failures can occur; inspect the actual status and body. Do not automatically retry a validation error. For uncertain mutation outcomes, use an `Idempotency-Key` (one nonempty value, at most 512 bytes) and retry with the same request; the server supports idempotency on mutations, including session event submission. A mismatched replay can conflict. @@ -29,17 +29,21 @@ An established [SSE stream](/reference/events) can carry an `error` event instea ## Turn errors -A turn that fails carries `error.code` and `error.message`, and, when credit ran out, `error.param` naming whose: +A turn that fails carries `error.code` and `error.message`, and, when a credit or a plan limit ran out, `error.param` naming which: | `code` | `param` | Meaning | | --- | --- | --- | | `usage_limit_exceeded` | `orca_credit` | Your Orca credit ran out. Add credit, then continue the session. | | `usage_limit_exceeded` | `provider_quota` | Your own provider account is out of credits or over its billing limit. | -| `usage_limit_exceeded` | none | "This plan's included machine hours for this period are used up" (Free plan). See [plans](/plans#machine-time). | +| `usage_limit_exceeded` | `included_hours` | Free's included machine time for this month is used up and the organization has no credit. The workspace is saved. Add credit, or wait for the next month. See [machine time on Free](/plans#machine-time-on-free). | +| `usage_limit_exceeded` | `free_model_capacity` | The free model's daily capacity across Orca ran out during the turn. It resets at 00:00 UTC. | +| `usage_limit_exceeded` | `orca_suspended` | Work for this organization is suspended. Ask on [Orca's Discord](https://discord.gg/btTYzdzvqq). | | `server_error` | none | "Orca credit is temporarily unavailable": Orca's own OpenRouter account refused the call. Retry later. | | `internal_error` | none | "Orca could not read your credit balance. Try again in a moment." Orca could not check your balance before a call on Orca credit. Send the message again in a moment; your credit is not the problem. | | `request_timeout` | none | "Model request failed: no response from the provider for 10 minutes". Send the message again. | +Two Free plan turn ends are not failures: a turn ends `completed` with the event `orca.free_model.turn_limit` at the free model's calls for a turn, or `orca.turn.time_limit` at Free's turn time. See [Free plan and limits](/troubleshooting#free-plan-and-limits). + Nothing switches who pays on its own. A message refused at admission for lack of credit is HTTP 429 `insufficient_quota`: "Out of Orca credit: add credit, then continue the session". See [when credit runs low](/wallet#when-credit-runs-low). ## Uncertain mutation outcomes diff --git a/reference/overview.mdx b/reference/overview.mdx index acfe9d8..491f586 100644 --- a/reference/overview.mdx +++ b/reference/overview.mdx @@ -71,7 +71,7 @@ Orca implements the OpenAI Agents API. The [OpenAI Agent API quickstart](https:/ ## Rate limits -Each key can make 300 requests a minute, and each organization 600. Past that, requests return HTTP 429 `rate_limit_exceeded`, "Rate limit reached. Retry after N seconds.", with a `Retry-After` header. Your plan also limits how many [sessions run at once](/plans#sessions-at-once). +Each plan sets how many requests a minute an organization can make, and each key or signed-in person in it; the numbers are on the [pricing page](https://orcapods.ai/pricing). Past that, requests return HTTP 429 `rate_limit_exceeded`, "Rate limit reached. Retry after N seconds.", with a `Retry-After` header. Your plan also limits [turns a day, sessions at once, API keys and stored sessions](/plans#limits-per-plan). Routes that need no key, such as the public plans and kits pages and `orca login`, allow 120 requests a minute from one IP address. An IPv6 address counts with the rest of its `/64`. diff --git a/start-here.mdx b/start-here.mdx index d2c0c6c..4c83a59 100644 --- a/start-here.mdx +++ b/start-here.mdx @@ -8,7 +8,7 @@ Orca runs AI agents for you in the cloud. You describe an agent once: a model, i In about ten minutes you'll have a research agent of your own that looks things up and cites its sources, give it a sandbox to work in, and then hand the controls to your coding agent and your own code. -**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start with free credit and no card, and every step on this page runs on it. +**No account yet?** [Sign up](https://app.orcapods.ai/sign-up) first. New accounts start on the [Free plan](/plans#the-free-plan), with no card and no credit. Scout runs on `orca/openrouter/openai/gpt-5.6-luna` and searches the web, both paid from Orca credit, so [add credit](/wallet#buy-credit) before step 3, or run Scout on your own provider key ([models and provider keys](/providers)). On Free, the dashboard starts new agents on the [free model](/plans#the-free-model), which costs nothing. ## Why Orca @@ -85,7 +85,7 @@ Check your credit: orca billing wallet ``` -`balance` is your Orca credit. The amount new accounts start with is on the [pricing page](https://orcapods.ai/pricing). +`balance` is your Orca credit. A new account starts at 0 on the [Free plan](/plans#the-free-plan): [add credit](/wallet#buy-credit) before step 3, or use your own provider key. ## 2. Get your first agent @@ -409,9 +409,9 @@ orca billing wallet # your balance and plan - **Model tokens and web searches** on an Orca credit model are paid from your credit. On your own provider key, that provider bills you. - **Sessions without a sandbox use no machine time.** On this page, only step 4 used any. -- **Sandboxes use [machine time](/plans#machine-time)** from your plan. They also need a small balance of Orca credit, your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance), since the agent's model calls in the sandbox run on credit too. Delete a sandbox session when you are done with it. +- **Sandboxes use [machine time](/plans#machine-time)** from your plan. On Pro and Max they need your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance); on Free, the included time runs at any balance, and time past it needs the minimum. Delete a sandbox session when you are done with it. -The numbers for each plan, the signup credit, and the minimum balance are on the [pricing page](https://orcapods.ai/pricing). See [usage and wallet](/wallet#read-the-wallet-and-your-usage) for the rest. +The numbers for each plan, the Free plan's free model and price ceiling, and the minimum balance are on the [pricing page](https://orcapods.ai/pricing). See [usage and wallet](/wallet#read-the-wallet-and-your-usage) for the rest. Keep Scout if you like it. To remove everything this page made instead, delete Scout's sessions, then Scout, then the key. Deleting an agent does not delete its sessions. diff --git a/troubleshooting.mdx b/troubleshooting.mdx index 9c85e6f..e8b1956 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -26,12 +26,12 @@ Check that the URL is `https://api.orcapods.ai/v1`, spelled exactly, with `https "This action requires the admin role". Setting provider keys, writing vaults and credentials, buying credit, and changing the plan need an admin. Ask an admin of your organization, or have them change your role. See [organizations and roles](/organizations). -"Your plan runs N sessions at once": your organization already has as many sessions with a running turn as your plan allows. Send the message again when one ends, or [upgrade](/plans#sessions-at-once). "Rate limit reached. Retry after N seconds." means too many requests in a minute; wait that long, as the `Retry-After` header says. +"Your plan runs N sessions at once": your organization already has as many sessions with a running turn as your plan allows. Send the message again when one ends, or [upgrade](/plans#sessions-at-once). "Rate limit reached. Retry after N seconds." means too many requests in a minute for your plan, from your organization or from one key or person; wait that long, as the `Retry-After` header says. See [limits per plan](/plans#limits-per-plan). The free model, turns a day and Free sandboxes have their own 429s, under [Free plan and limits](#free-plan-and-limits). "Too many event streams open: 32 at once per key or person. Close one and retry." (or "64 at once per organization"): close streams you no longer read. See [how many streams](/guides/streaming#how-many-streams). "Too many uploads at once: 2 per organization. Retry when one finishes.": wait for an upload to finish, then send the next. -"Out of Orca credit: add credit, then continue the session". Your balance is under your plan's minimum balance, so paid work is paused: turns on Orca credit models or with a managed sandbox are refused, and a running sandbox goes to sleep with its files kept. [Add credit](/wallet#buy-credit), or use a model on your own key in a session without a sandbox. +"Out of Orca credit: add credit, then continue the session". Your balance is under your plan's minimum balance, so paid work is paused: turns on Orca credit models or with a managed sandbox are refused, and a running sandbox goes to sleep with its files kept. [Add credit](/wallet#buy-credit), or use a model on your own key in a session without a sandbox. On Free, the free model keeps working; a 429 `insufficient_quota` with a `param` such as `free_plan` is under [Free plan and limits](#free-plan-and-limits). "The server is receiving too many uploads right now. Retry in a few seconds." Orca is receiving many uploads at once, from all organizations. Nothing is wrong with your file: retry after the `Retry-After` seconds. @@ -67,6 +67,82 @@ Some settings are not available with every provider. `GET /api/providers` lists +## Free plan and limits + +Each entry is a refusal or a turn end from the [Free plan](/plans#the-free-plan) or the [limits per plan](/plans#limits-per-plan), with its way forward. The numbers in the messages are your plan's, on the [pricing page](https://orcapods.ai/pricing). + + + +"This model needs Pro or Max." On Free, Orca credit runs only the free model and models within the [Free price ceiling](/plans#the-free-price-ceiling), and this agent's model, or the model the session was switched to, is above it or has no fixed price. The turn did not start and nothing was charged. + +[Switch the session](/providers#switch-who-pays-for-one-session) to the free model (`orca/openrouter/cohere/north-mini-code:free`) or to a model within the ceiling (`orca models` marks the ones that need **Pro and Max**), run the model on your own provider key, or [upgrade](/plans#change-your-plan). + + +"On Free, this agent's model runs on credit." The agent's model is an Orca credit model other than the free model, and your balance is under the minimum. This is common after copying a kit, since kits name models that run on credit. + +Switch this session to the free model: **Switch to the free model** in the dashboard, or `POST /api/sessions/{session_id}/model` with `{"model": "orca/openrouter/cohere/north-mini-code:free"}` (see [switch who pays](/providers#switch-who-pays-for-one-session)). Or add your own provider key in **Settings**, **Providers**, or [add credit](/wallet#buy-credit) or [upgrade](/plans#change-your-plan). + + +"Your organization has used today's N free-model calls. They reset at 00:00 UTC." Your organization used its daily share of the free model, or you did across the organizations you work in. Nothing was charged. + +Wait for 00:00 UTC, add your own OpenRouter key and run the model on it, or [add credit](/wallet#buy-credit) to use another model. + + +"Free model capacity is used up for today. It resets at 00:00 UTC." All Free organizations together used the free model's daily capacity, before your own share ran out. A turn already running finishes on the calls it set aside when it started. Rarely, if OpenRouter refuses anyway, a running turn ends `failed` with `usage_limit_exceeded` and the same `param`, its work kept. + +Wait for 00:00 UTC, add your own OpenRouter key, or [upgrade](/plans#change-your-plan). + + +"Orca's free model is not available right now." OpenRouter withdrew the free model or started charging for it, so Orca does not run it. You are never charged for it. Orca is told, and the pricing page names the free model once it is replaced. + +Add your own OpenRouter key, or [add credit](/wallet#buy-credit) to use another model. + + +"The free model is busy. Try again in a minute, or add your own OpenRouter key." The free model is running as many turns at once as Orca allows for all organizations together. Send the message again after the `Retry-After` seconds, or run the model on your own OpenRouter key. + +A second turn from your own organization while one runs gets "Your plan runs N sessions at once" instead; see [sessions at once](/plans#sessions-at-once). + + +The turn ends `completed` with the event `orca.free_model.turn_limit`: "This turn reached the free model's N calls. Send a message to continue." A turn on the free model, its subagents included, makes at most that many model calls. Its work is kept. + +Send a message, such as "Continue", to start the next turn. For longer turns, use a model on your own key or on credit. + + +The turn ends `completed` with the event `orca.turn.time_limit`: "This turn reached Free's N minutes. Send a message to continue." On Free, every turn has a time limit, on your own key too. Its work is kept. + +Send a message to continue, or [upgrade](/plans#change-your-plan): Pro and Max have no turn time limit. + + +"Your plan runs N turns a day. More at 00:00 UTC, or upgrade." Your organization started its plan's turns for this UTC day. `Retry-After` gives the seconds until 00:00 UTC. + +Wait for 00:00 UTC, or [upgrade](/plans#change-your-plan). + + +A running turn ends `failed` with `usage_limit_exceeded` and `param: "included_hours"`, and a new sandbox start is refused with HTTP 429 `insufficient_quota` and the same `param`: Free's included machine time for this month is used up and the organization has no credit. The sandbox stopped and its workspace is saved, unless it was larger than Free keeps; the message says which. + +[Add credit](/wallet#buy-credit) to continue now: the sandbox runs on at Free's hourly rate, charged to the second. Or wait for the 1st of the month (UTC), or [upgrade](/plans#change-your-plan). See [machine time on Free](/plans#machine-time-on-free). + + +"Free machine time is busy right now. Try again in a few minutes, or upgrade." Only a few Free sandboxes run at once across all of Orca, and they are all running. Start or wake the sandbox again after the `Retry-After` seconds, use a session without a sandbox, or [upgrade](/plans#change-your-plan). + + +"Your organization keeps N sessions, the most it can on Free. Delete one to start another." Your organization keeps as many sessions as its plan allows. Delete sessions you no longer need (`orca sessions delete `, or `client.beta.agents.sessions.delete(session_id)`), or [upgrade](/plans#change-your-plan). Deleting a session deletes its artifacts. + +The same code on a new API key means the organization has as many active keys as its plan allows: revoke one under **Settings**, **API keys**. + + +The agent cannot install packages or reach the web from its sandbox. A Free organization's sandboxes have no network until it buys credit for the first time; the session's environment says so, and the wallet shows `network_off: true`. + +[Add credit](/wallet#buy-credit) once; sandboxes started after that follow the session's environment. Or give the agent what it needs as [files](/guides/files-and-artifacts). + + +"Orca credit runs only Orca's free model at no charge. Run other free models on your own OpenRouter key." Use the free model, `orca/openrouter/cohere/north-mini-code:free`, or run the other model on your own OpenRouter key as `openrouter/`. See [which models Free can use](/providers#which-models-free-can-use). + + +"Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq" Orca suspended paid work, the free model and the included machine time for this organization. A running turn ends with `usage_limit_exceeded` and `param: "orca_suspended"`. Ask in **#help** on [Orca's Discord](https://discord.gg/btTYzdzvqq). + + + ## Turns @@ -109,10 +185,7 @@ On hosted Orca, `self_hosted` environments are coming soon, and `network.access: Only with an Orca server you run yourself. `workspace_directory` must be an absolute path with no symbolic links in it. On macOS `/tmp` is a symlink; use the real path. -HTTP 429 `insufficient_quota` means the sandbox could not run a minute: your balance is below the [minimum](/plans#paid-work-needs-a-minimum-balance), or on Free the included machine time is used up. HTTP 429 `rate_limit_exceeded` means your plan's [sandboxes at once](/plans#sandboxes-at-once) are running: wait for an idle one to go to sleep, put one to sleep now with `orca sessions sleep `, or delete a session you no longer need. HTTP 403 `storage_quota_exceeded` means your organization is at its [storage limit](/plans#storage): delete files, skills or sessions. - - -"This plan's included machine hours for this period are used up": a Free plan has used its included machine time (on the [pricing page](https://orcapods.ai/pricing)). Upgrade to Pro or Max, or wait for the next month. See [plans](/plans#machine-time). +HTTP 429 `insufficient_quota` means the sandbox could not run a minute: your balance is below the [minimum](/plans#paid-work-needs-a-minimum-balance), or on Free the included machine time is used up and the organization has no credit (`param` `included_hours`, under [Free plan and limits](#free-plan-and-limits)). HTTP 429 `rate_limit_exceeded` means your plan's [sandboxes at once](/plans#sandboxes-at-once) are running: wait for an idle one to go to sleep, put one to sleep now with `orca sessions sleep `, or delete a session you no longer need. HTTP 403 `storage_quota_exceeded` means your organization is at its [storage limit](/plans#storage): delete files, skills or sessions. diff --git a/wallet.mdx b/wallet.mdx index 3e13b72..7362d21 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -15,12 +15,13 @@ Each organization has one **wallet** of Orca credit. Your balance is everything Tokens on your own provider key (`/`) are billed by that provider. Orca charges nothing for them. +The [free model](/plans#the-free-model) on Free costs nothing and needs no credit. On Free, credit pays only for Orca credit models within the [Free price ceiling](/plans#the-free-price-ceiling), their web searches and the free model's, and machine time past the included time. Models above the ceiling run on Orca credit on Pro and Max only. + ## Where credit comes from -- **Signup credit.** A new account starts with the signup credit on the [pricing page](https://orcapods.ai/pricing). It is given once per person: a second organization you create starts with none. - **Credit packs.** An admin buys a pack. Each pack's processing fee is taken from the pack; the [pricing page](https://orcapods.ai/pricing) gives the fee and what a pack adds after it. The packs on sale, with the credit each adds and its fee, are listed on the dashboard's **Wallet** page and by `orca billing wallet`. -Plans do not add credit. A plan's included machine time is not a second balance. +No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given is ordinary credit in their wallet and pays under the same rules, including the Free price ceiling. ## Buy credit @@ -51,12 +52,13 @@ curl --fail-with-body -X POST "$ORCA_ORIGIN/api/billing/checkout" \ ## When credit runs low -Orca pauses **paid work** when your balance is below your plan's **minimum balance**, on the [pricing page](https://orcapods.ai/pricing) and in the wallet as `min_balance_micro_usd`. Paid work is model calls and web searches on Orca credit, and managed sandboxes, including their included machine time. +Orca pauses **paid work** when your balance is below your plan's **minimum balance**, on the [pricing page](https://orcapods.ai/pricing) and in the wallet as `min_balance_micro_usd`. Paid work is model calls and web searches on Orca credit, and managed sandboxes, including their included machine time on Pro and Max. On Free, the free model and the included machine time are not paid work: they run at any balance. - **A new message** that needs paid work is refused with HTTP 429 `insufficient_quota`: "Out of Orca credit: add credit, then continue the session". - **A new sandbox**, or waking one that is asleep, is refused the same way, and so is a file or skill upload: "Out of Orca credit: add credit to upload files". - **A running turn** that reaches the minimum ends `failed` with `usage_limit_exceeded` and `param: "orca_credit"`. The conversation is saved. A managed sandbox goes to sleep with its files kept. - **Turns on your own provider key** in a session without a sandbox keep working. +- **On Free**, a message to an agent whose model runs on credit is refused with HTTP 429 `insufficient_quota` and `param: "free_plan"`: "On Free, this agent's model runs on credit." The message offers three ways on: switch the session to the free model, add your own provider key in **Settings**, **Providers**, or add credit or upgrade. A call on Orca credit whose cost OpenRouter did not report when it ended, such as a call you cancel, a session deleted mid-reply, a stream cut short or a restart on Orca's side, is charged later from OpenRouter's own record of that call, usually within minutes and at most an hour after it, never from an estimate. Its charge is dated by the call and shows in your usage as **Charged later**. Until it arrives, the call still counts among the paid calls your organization can have running at once, so with several calls cancelled in a row a new call may wait a moment for its turn. Because the charge arrives after the call, it can take your balance below the minimum or below zero; paid work is then paused until credit brings the balance back to the minimum, and a top-up pays what is below zero first. @@ -68,11 +70,21 @@ The dashboard shows this as **Out of Orca credit** on the turn, with **Add credi | Route | Returns | | --- | --- | -| `GET /api/billing/wallet` | Balance, total credited and charged, the minimum balance, `paid_work_paused`, your plan and period, included and used machine time, and every field of `GET /api/public/plans` | -| `GET /api/public/plans` | Every plan fact, with no key needed: each plan's price, included machine time, extra machine time rate, sessions at once, minimum balance and storage limit (`stored_bytes`); the signup credit; OpenRouter's fee (`openrouter_fee_bps`); the processing fee and the packs on sale; the machine; and `idle_seconds`, how long a sandbox idles before it goes to sleep. The pricing page is built from it. | +| `GET /api/billing/wallet` | Balance, total credited and charged, the minimum balance, `paid_work_paused`, your plan and period, included and used machine time, the fields below, and every field of `GET /api/public/plans` | +| `GET /api/public/plans` | Every plan fact, with no key needed: each plan's price, included machine time, extra machine time rate, sessions at once, minimum balance and storage limit (`stored_bytes`); the Free price ceiling and the [limits per plan](/plans#limits-per-plan); the free model with its share and daily capacity (`free_model`); OpenRouter's fee (`openrouter_fee_bps`); the processing fee and the packs on sale; the machine; and `idle_seconds`, how long a sandbox idles before it goes to sleep. The pricing page is built from it. | | `GET /api/usage` | Totals per meter for a period (30 days by default, or `start` and `end` in Unix seconds), a `series` over time (below), and totals grouped by `model`, `provider`, `credential`, `session`, or `agent` with `group_by`. With `group_by`, `group_costs` gives each key's cost across every meter; they add up to the period's `cost_micro_usd`. `session=` narrows it to one session. | | `GET /api/usage/events` | The newest usage rows, each with its cost. Filter with `meter`, or `charged=true` for only the rows that cost something; page with `limit` and `after`. A row at cost 0 whose money is on another row of the same operation has `charged_on`: `call` when its call's row carries the money (a token row), `search` when the search's row does (the search's tool call, or its call when the whole cost is on the search), `late` when the operation was [charged later](#calls-charged-later) and its `late_charges` row does (every row of that call or search, its call or search row included). Any other row has none, and its own cost is what it was charged. Each row also has `charge_for`: on a `late_charges` row, the id of the row it charges; `null` on every other row. | +The wallet's Free plan fields: + +| Field | Meaning | +| --- | --- | +| `free_model` | On Free, `{calls_today, calls_per_day, available}`: your organization's free-model calls today, its share, and whether the free model can start a turn now. `null` on Pro and Max. | +| `included_hours_withheld` | `true` when Orca has withheld Free's included machine time and the free model from this organization. Credit you add and your own keys still work. See [free use can be withheld](/plans#free-use-can-be-withheld). | +| `network_off` | `true` while a Free organization's sandboxes have no network, until it buys credit for the first time. See [machine time on Free](/plans#machine-time-on-free). | + +`signup_credit_micro_usd` in `GET /api/public/plans` is always 0 and will be removed. Do not read it. + Money is in micro-USD (millionths of a dollar). Every member can read the wallet and usage. `balance_micro_usd` can be negative after a [late charge](#calls-charged-later); paid work stays paused until credit brings it back to `min_balance_micro_usd`. `series` is the period's usage over time: `{"interval": "hour" | "day", "points": [{"start", "meter", "quantity", "cost_micro_usd"}]}`. The server picks the interval from the period: `hour` for up to 2 days, `day` for up to 366 days, and `series` is `null` for a longer period. Each point's `start` is its bucket's start in Unix seconds, a UTC hour or a UTC day; a row is in the bucket that holds its `window_start`. Every bucket of the period is there for every meter, at zero when nothing was used, so each meter's points add up to its totals. The first and last buckets are cut by the period. From 3ba861dbdfc45ef8a79fc89110975ec1715e8b61 Mon Sep 17 00:00:00 2001 From: ahokik Date: Tue, 20 Oct 2026 19:31:33 +0100 Subject: [PATCH 02/11] Docs: Free network unlocks on credit bought or granted; the [Orca] line; credit request on Discord (D3.16 approved, F32, F44) Network wording is the design's exact line on plans, troubleshooting and wallet. The wallet's network_off becomes network {off, message}, and credit_request {message, url} is added. Grants are at Orca's discretion under the Terms, section 6. Co-Authored-By: Claude Opus 5.5 --- plans.mdx | 2 +- troubleshooting.mdx | 12 +++++++++--- wallet.mdx | 5 ++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/plans.mdx b/plans.mdx index b7d2fc2..5e1e321 100644 --- a/plans.mdx +++ b/plans.mdx @@ -62,7 +62,7 @@ Your own provider keys are not limited by the ceiling. - **Included time needs no balance.** While the included time lasts, a sandbox starts and runs at any balance, zero included. - **Then paid time.** Past the included time, a sandbox keeps running while your balance is at or above the minimum, charged to the second from your credit at Free's hourly rate. Otherwise it stops: the running turn ends, the workspace is saved, and the session picks up with its files once you add credit or the next month starts. - **A warning first.** When about 5 minutes of included time are left and your balance is under the minimum, the session gets the event `orca.compute.warning`, and the dashboard shows it. When the included time runs out, the organization's creator gets an email, once a month. -- **Network is off until you add credit.** A Free organization's sandboxes have no network access until it has bought credit once. The agent can still write and run code with what the sandbox has, but cannot install packages or reach the web from the sandbox. After the first purchase, new sandboxes follow the session's environment. The wallet shows `network_off: true` until then. +- **Network is off until your organization has credit.** "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)." Credit your organization buys, or credit Orca grants it, turns the network on for the sandboxes it starts from then on, and it stays on; signup credit that earlier accounts were given does not. Until then the agent can still write and run code with what the sandbox has, but cannot install packages or reach the internet. A network command that fails ends its output with that line, prefixed `[Orca] `; the session gets the event `orca.network.off` when such a sandbox starts; and `orca billing wallet` and the wallet's `network` field show it. See [troubleshooting](/troubleshooting#free-plan-and-limits). - **Free sandboxes share capacity.** Only a few Free sandboxes run at once across all of Orca, so a start can be refused for a minute when they are busy. - **Free saves workspaces up to 100 MiB.** When a sandbox stops at the end of the included time or of your credit, a larger workspace is not saved, and the session says so. diff --git a/troubleshooting.mdx b/troubleshooting.mdx index e8b1956..b0a7672 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -130,10 +130,16 @@ A running turn ends `failed` with `usage_limit_exceeded` and `param: "included_h The same code on a new API key means the organization has as many active keys as its plan allows: revoke one under **Settings**, **API keys**. - -The agent cannot install packages or reach the web from its sandbox. A Free organization's sandboxes have no network until it buys credit for the first time; the session's environment says so, and the wallet shows `network_off: true`. + +"Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)." -[Add credit](/wallet#buy-credit) once; sandboxes started after that follow the session's environment. Or give the agent what it needs as [files](/guides/files-and-artifacts). +On Free, a sandbox has no network until your organization has credit, bought or granted. A command that fails for lack of network, such as `pip install` or `curl`, keeps the system's own error, and its output ends with one more line: + +```text +[Orca] Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq). +``` + +The session also gets the event `orca.network.off` when the sandbox starts, and `orca billing wallet` shows the same line. [Add credit](/wallet#buy-credit), or write to us on [Discord](https://discord.gg/btTYzdzvqq); sandboxes started after that follow the session's environment. Until then, give the agent what it needs as [files](/guides/files-and-artifacts). "Orca credit runs only Orca's free model at no charge. Run other free models on your own OpenRouter key." Use the free model, `orca/openrouter/cohere/north-mini-code:free`, or run the other model on your own OpenRouter key as `openrouter/`. See [which models Free can use](/providers#which-models-free-can-use). diff --git a/wallet.mdx b/wallet.mdx index 7362d21..c185dad 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -21,6 +21,8 @@ The [free model](/plans#the-free-model) on Free costs nothing and needs no credi - **Credit packs.** An admin buys a pack. Each pack's processing fee is taken from the pack; the [pricing page](https://orcapods.ai/pricing) gives the fee and what a pack adds after it. The packs on sale, with the credit each adds and its fee, are listed on the dashboard's **Wallet** page and by `orca billing wallet`. +On Free: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." Whether Orca grants credit, how much and for how long is at its discretion, under section 6 of the [Terms of Service](https://orcapods.ai/terms). + No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given is ordinary credit in their wallet and pays under the same rules, including the Free price ceiling. ## Buy credit @@ -81,7 +83,8 @@ The wallet's Free plan fields: | --- | --- | | `free_model` | On Free, `{calls_today, calls_per_day, available}`: your organization's free-model calls today, its share, and whether the free model can start a turn now. `null` on Pro and Max. | | `included_hours_withheld` | `true` when Orca has withheld Free's included machine time and the free model from this organization. Credit you add and your own keys still work. See [free use can be withheld](/plans#free-use-can-be-withheld). | -| `network_off` | `true` while a Free organization's sandboxes have no network, until it buys credit for the first time. See [machine time on Free](/plans#machine-time-on-free). | +| `network` | `{"off": true, "message": "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)."}` while a Free organization's sandboxes have no network, and `{"off": false}` once it has credit, bought or granted. `orca billing wallet` prints the same line. See [machine time on Free](/plans#machine-time-on-free). | +| `credit_request` | On Free, `{message, url}`: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." and the Discord link. | `signup_credit_micro_usd` in `GET /api/public/plans` is always 0 and will be removed. Do not read it. From d4985b296d332f01e4f5817981d139a950e62bf7 Mon Sep 17 00:00:00 2001 From: ahokik Date: Tue, 20 Oct 2026 19:37:26 +0100 Subject: [PATCH 03/11] Docs: granted credit expires, paid credit never does (D3.16 F47, folded from D3.15) wallet: granted and paid credit, the spend order, expiry, the 15-day email, the CLI lines and the API fields. plans links it; the dashboard wallet's Granted credit and Paid credit figures and grant list; the CLI wallet lines; glossary entries. Replaces closed orca-docs #34. Co-Authored-By: Claude Opus 5.5 --- cli/commands.mdx | 2 +- dashboard/wallet-and-usage.mdx | 6 +++++- glossary.mdx | 4 ++++ plans.mdx | 2 +- wallet.mdx | 37 +++++++++++++++++++++++++++++++--- 5 files changed, 45 insertions(+), 6 deletions(-) diff --git a/cli/commands.mdx b/cli/commands.mdx index 54fd177..787adb8 100644 --- a/cli/commands.mdx +++ b/cli/commands.mdx @@ -161,7 +161,7 @@ orca billing buy pro|max|pack: [--no-open] orca billing manage [--no-open] # the billing portal ``` -`orca usage` charts one meter (`--meter`, `model_tokens` by default) from the server's series: by the hour for `--days 1` or `2`, by the day up to 366 days, captioned **Hourly (UTC)** or **Daily (UTC)** as on the dashboard. A longer window has no chart. `orca usage --group-by` shows each key's tokens and its cost across every meter. In `orca usage events`, a row whose money is on another row says where: a token row reads `on its call` (its call's row carries it), a web search's tool call reads `on its search`, and every row of a call charged later reads `Charged later`, its money on its `late_charges` row (see [calls charged later](/wallet#calls-charged-later)). `orca usage` lists `late_charges` like any meter. When the balance is below zero, `orca billing wallet` adds "Your balance is below zero. Paid work resumes when credit brings it to ``." Web searches are counted in `searches`, the searches the provider ran, not tool calls; see [what is counted](/providers#what-is-counted). +`orca usage` charts one meter (`--meter`, `model_tokens` by default) from the server's series: by the hour for `--days 1` or `2`, by the day up to 366 days, captioned **Hourly (UTC)** or **Daily (UTC)** as on the dashboard. A longer window has no chart. `orca usage --group-by` shows each key's tokens and its cost across every meter. In `orca usage events`, a row whose money is on another row says where: a token row reads `on its call` (its call's row carries it), a web search's tool call reads `on its search`, and every row of a call charged later reads `Charged later`, its money on its `late_charges` row (see [calls charged later](/wallet#calls-charged-later)). `orca usage` lists `late_charges` like any meter. `orca billing wallet` prints one line per grant of credit, such as `granted credit $12.40 left of $20.00, expires 4 Dec 2026`, and one for what you bought, such as `paid credit $18.20 (never expires)`; see [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). When the balance is below zero, `orca billing wallet` adds "Your balance is below zero. Paid work resumes when credit brings it to ``." Web searches are counted in `searches`, the searches the provider ran, not tool calls; see [what is counted](/providers#what-is-counted). `billing buy` and `billing manage` need the admin role. They print the Polar link and open it in a browser. See [wallet and credit](/wallet) and [plans](/plans). diff --git a/dashboard/wallet-and-usage.mdx b/dashboard/wallet-and-usage.mdx index fddaf9f..fdfe412 100644 --- a/dashboard/wallet-and-usage.mdx +++ b/dashboard/wallet-and-usage.mdx @@ -5,15 +5,19 @@ description: "Check your balance and machine time, buy credit, change your plan, ## Check your balance -Open **Wallet**. It shows your plan and the current period, and four figures: +Open **Wallet**. It shows your plan and the current period, and these figures: | Figure | Meaning | | --- | --- | | **Balance** | Everything credited minus everything charged. It says "Paid work paused" when the balance is under your plan's minimum. It can be below zero, for example `-$1.50`, after a call [charged later](/wallet#calls-charged-later). | | **Credited** | Purchases and grants, and signup credit for accounts given it before it ended | +| **Granted credit** | Credit Orca granted that is left now, with when it expires: "Expires 4 Dec 2026", or "First $5.00 expires 4 Dec 2026" when grants have several dates. It is used before paid credit. | +| **Paid credit** | Credit you bought that is left now: "Never expires" | | **Charged** | Platform usage, all time | | **Machine time** | Time used this period, out of what your plan includes | +Under **Granted credit**, the page lists each grant with something left: the amount left of the amount granted, the day it was granted, and the day it expires. Whatever is left of a grant at expiry is removed, and your organization's admins get an email 15 days before. See [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). + When the balance is under your plan's minimum balance, the page says "Paid work is paused" and asks you to add credit. When it is below zero, the page adds "Your balance is below zero. Paid work resumes when credit brings it to ``.", with your plan's minimum balance as the amount. See [when credit runs low](/wallet#when-credit-runs-low). ## Buy credit diff --git a/glossary.mdx b/glossary.mdx index fd1b1fe..2ef1e36 100644 --- a/glossary.mdx +++ b/glossary.mdx @@ -31,6 +31,8 @@ Terms are listed alphabetically. Each links to the page that explains it in full **Function tool**: A tool that your application implements. When the model calls it, Orca pauses the turn until your code sends back a result. See [function tools](/guides/function-tools). +**Granted credit**: Orca credit that Orca added at no charge. Each grant expires on a date set when it is granted, and granted credit is used before paid credit. See [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). + **Idempotency key**: A unique value you send in the `Idempotency-Key` header so that retrying a request does not do the work twice. See [reliable session workflows](/guides/reliability). **Item**: One entry in a session's saved history: a message, a tool call, a tool result, a command, and so on. See [how Orca works](/concepts#items-the-saved-history). @@ -47,6 +49,8 @@ Terms are listed alphabetically. Each links to the page that explains it in full **Organization**: The account everything in Orca belongs to: agents, sessions, keys, the wallet, and the plan. Your API key acts in one organization, and you only see its resources. See [organizations and roles](/organizations). +**Paid credit**: Orca credit you bought. It never expires. See [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). + **Plan**: Free, Pro, or Max. It sets the included machine time, which models Orca credit pays for, and the limits on requests, turns, sessions, keys and storage. See [plans](/plans). **Provider key**: Your own API key for a model provider such as Anthropic or OpenRouter, stored in Orca so your agents can use that provider. See [models and provider keys](/providers). diff --git a/plans.mdx b/plans.mdx index 5e1e321..b5f3126 100644 --- a/plans.mdx +++ b/plans.mdx @@ -15,7 +15,7 @@ Each plan sets: - **Limits** on requests, turns, sessions, API keys and storage. See [limits per plan](#limits-per-plan). - **A minimum balance** for paid work. -The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing), which is built from the numbers Orca charges with. No account starts with credit: credit is bought separately; see [wallet and credit](/wallet). +The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing), which is built from the numbers Orca charges with. No account starts with credit: credit is bought separately; see [wallet and credit](/wallet). Credit you buy never expires; credit Orca grants does, see [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). A plan's terms hold for a whole period. When Orca changes a plan's numbers, the change applies to your organization from its next period, never in the middle of one. diff --git a/wallet.mdx b/wallet.mdx index c185dad..4fc6eea 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -3,7 +3,7 @@ title: "Wallet and credit" description: "What Orca credit pays for, how to buy it, what happens when it runs low, and how to read your usage." --- -Each organization has one **wallet** of Orca credit. Your balance is everything credited minus everything charged. Credit never expires. +Each organization has one **wallet** of Orca credit. Your balance is everything credited minus everything charged. Credit you buy never expires; credit Orca grants does, on a date set when it is granted. See [granted credit and paid credit](#granted-credit-and-paid-credit). ## What credit pays for @@ -19,11 +19,42 @@ The [free model](/plans#the-free-model) on Free costs nothing and needs no credi ## Where credit comes from -- **Credit packs.** An admin buys a pack. Each pack's processing fee is taken from the pack; the [pricing page](https://orcapods.ai/pricing) gives the fee and what a pack adds after it. The packs on sale, with the credit each adds and its fee, are listed on the dashboard's **Wallet** page and by `orca billing wallet`. +- **Credit packs.** Paid credit: it never expires. An admin buys a pack. Each pack's processing fee is taken from the pack; the [pricing page](https://orcapods.ai/pricing) gives the fee and what a pack adds after it. The packs on sale, with the credit each adds and its fee, are listed on the dashboard's **Wallet** page and by `orca billing wallet`. On Free: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." Whether Orca grants credit, how much and for how long is at its discretion, under section 6 of the [Terms of Service](https://orcapods.ai/terms). -No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given is ordinary credit in their wallet and pays under the same rules, including the Free price ceiling. +No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given pays under the same rules, including the Free price ceiling. + +## Granted credit and paid credit + +Your balance has two parts: + +- **Paid credit** is credit you bought. It never expires. +- **Granted credit** is credit Orca added at no charge, at its discretion under section 6 of the [Terms of Service](https://orcapods.ai/terms). Each grant has an expiry date, set when it is granted and never moved. The date comes from the grant's reason, by default (`grant_expiry_months` in `GET /api/public/plans`), or is set for that grant. You can use a grant until the end of the day before its `expires_at` (UTC). + +How they are spent: + +- **Granted credit is used first**, the grant that expires soonest first, so your paid credit is kept. A [late charge](#calls-charged-later) follows the same order at the moment it is written. +- **At expiry, whatever is left of a grant is removed.** It shows in the wallet as `expired_micro_usd`. Paid credit is never touched. +- **An email goes to your organization's admins 15 days before** a grant expires, once per grant, with the amount left. None is sent when nothing is left. + +Granted credit pays for the same things as paid credit, on Free within the [Free price ceiling](/plans#the-free-price-ceiling). + +The wallet shows each grant with the amount left and its date. In the dashboard, **Wallet** shows the **Granted credit** and **Paid credit** figures and lists each grant. `orca billing wallet` prints one line per grant and one for paid credit: + +```text +granted credit $12.40 left of $20.00, expires 4 Dec 2026 +paid credit $18.20 (never expires) +``` + +`GET /api/billing/wallet` returns: + +| Field | Meaning | +| --- | --- | +| `granted_credit_micro_usd` | Granted credit left now | +| `paid_credit_micro_usd` | Paid credit: the balance minus granted credit. It never expires. | +| `granted_credit` | Each grant with something left, soonest expiry first: `[{grant_reason, granted_micro_usd, left_micro_usd, granted_at, expires_at}]`, times in Unix seconds | +| `expired_micro_usd` | Granted credit removed at expiry, in total | ## Buy credit From 8ad99ec2e2c51f5abbed0a3dc4649c236a970579 Mon Sep 17 00:00:00 2001 From: ahokik Date: Tue, 20 Oct 2026 19:49:54 +0100 Subject: [PATCH 04/11] Docs: earlier signup credit expires as granted credit (D3.16 F47a, decided (a)) Co-Authored-By: Claude Opus 5.5 --- wallet.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wallet.mdx b/wallet.mdx index 4fc6eea..d2fe4f0 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -23,7 +23,7 @@ The [free model](/plans#the-free-model) on Free costs nothing and needs no credi On Free: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." Whether Orca grants credit, how much and for how long is at its discretion, under section 6 of the [Terms of Service](https://orcapods.ai/terms). -No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given pays under the same rules, including the Free price ceiling. +No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given pays under the same rules, including the Free price ceiling, and expires as [granted credit](#granted-credit-and-paid-credit). ## Granted credit and paid credit @@ -40,6 +40,8 @@ How they are spent: Granted credit pays for the same things as paid credit, on Free within the [Free price ceiling](/plans#the-free-price-ceiling). +Signup credit that earlier accounts received is treated as granted credit: it expires 2 months after this change went live, with the same email 15 days before, and appears in the wallet's granted credit list. + The wallet shows each grant with the amount left and its date. In the dashboard, **Wallet** shows the **Granted credit** and **Paid credit** figures and lists each grant. `orca billing wallet` prints one line per grant and one for paid credit: ```text @@ -53,7 +55,7 @@ paid credit $18.20 (never expires) | --- | --- | | `granted_credit_micro_usd` | Granted credit left now | | `paid_credit_micro_usd` | Paid credit: the balance minus granted credit. It never expires. | -| `granted_credit` | Each grant with something left, soonest expiry first: `[{grant_reason, granted_micro_usd, left_micro_usd, granted_at, expires_at}]`, times in Unix seconds | +| `granted_credit` | Each grant with something left, soonest expiry first: `[{kind, grant_reason, granted_micro_usd, left_micro_usd, granted_at, expires_at}]`, times in Unix seconds. `kind` is `grant`, or `signup` for signup credit an earlier account received. | | `expired_micro_usd` | Granted credit removed at expiry, in total | ## Buy credit From 4454815e67b8a86dbd0cfe1df1db34deea443f4d Mon Sep 17 00:00:00 2001 From: ahokik Date: Wed, 21 Oct 2026 03:14:09 +0100 Subject: [PATCH 05/11] Docs: D3.16 amendments A4 and A5, the free model on every plan and its off switch A4: plans, providers, glossary, introduction, the CLI and dashboard pages say Pro and Max run the free model too, each plan with its own daily share in one capacity shared across Orca; a web search on it counts as one of its calls; new agents start on it on Free only. The wallet table names free_model_today (amendment A2), served on every plan with a share. A5: plans, troubleshooting and the error reference give the off switch's 503 free_model_unavailable message ("Orca's free model is off right now.") and the 403 model_not_in_plan message for a plan with no share, in the server's words. Rebased on main (D6.7 sleep, D6.8 storage and limits): the Storage, sandboxes at once and how many you can keep sections keep main's text, API keys move to the per-plan limits, and Free's uploads without credit are noted. Co-Authored-By: Claude Opus 5.5 --- cli/commands.mdx | 2 +- dashboard/agents-and-sessions.mdx | 2 +- dashboard/wallet-and-usage.mdx | 2 ++ glossary.mdx | 2 +- introduction.mdx | 2 +- plans.mdx | 12 +++++++----- providers.mdx | 4 ++-- reference/errors.mdx | 4 ++-- troubleshooting.mdx | 10 +++++++--- wallet.mdx | 6 +++--- 10 files changed, 27 insertions(+), 19 deletions(-) diff --git a/cli/commands.mdx b/cli/commands.mdx index 787adb8..ed624a4 100644 --- a/cli/commands.mdx +++ b/cli/commands.mdx @@ -71,7 +71,7 @@ reasoning: { effort: medium } In a terminal, a file with no `model` opens a picker of every model you can use, grouped by who pays. On Free, the [free model](/plans#the-free-model) comes first. The server checks every field and the CLI prints its message. See [models and provider keys](/providers). -`orca models` lists the same names anywhere, including in scripts and coding agents: one line per model with its name, who pays (`orca`, or the provider whose key you saved), and OpenRouter's price for Orca credit models. A `plan` column marks the free model as **free model** and, on Free, the models above the [Free price ceiling](/plans#the-free-price-ceiling) as **Pro and Max**. `--payer orca` or `--payer anthropic` keeps one group, and `--json` prints the server's list. +`orca models` lists the same names anywhere, including in scripts and coding agents: one line per model with its name, who pays (`orca`, or the provider whose key you saved), and OpenRouter's price for Orca credit models. A `plan` column marks the free model as **free model**, on every plan, and, on Free, the models above the [Free price ceiling](/plans#the-free-price-ceiling) as **Pro and Max**. `--payer orca` or `--payer anthropic` keeps one group, and `--json` prints the server's list. ```bash orca models --payer orca | grep luna diff --git a/dashboard/agents-and-sessions.mdx b/dashboard/agents-and-sessions.mdx index 5b782b2..72fe27d 100644 --- a/dashboard/agents-and-sessions.mdx +++ b/dashboard/agents-and-sessions.mdx @@ -9,7 +9,7 @@ An **agent** is a saved model, instructions, and tools. A **session** is one con 1. Open **Agents** and choose **Create agent**. 2. Under **Model**, choose who pays in **Provider**: **Orca credit** comes first, then every provider Orca supports. A provider whose key you have not saved is greyed out; add the key under **Settings**, **BYOK**. -3. Pick a model from that provider's list in **Model**. On Free, the form starts on Orca credit with the [free model](/plans#the-free-model), `cohere/north-mini-code:free`, already picked. Ids are shown without the provider prefix, such as `openai/gpt-5.6-luna` under Orca credit. Each model shows its name and context window, and for Orca credit OpenRouter's price per million tokens in and out, with **Free model** on the free model and, on Free, **Pro and Max** on models above the [Free price ceiling](/plans#the-free-price-ceiling); the note under the field says you pay OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. You can also type a model id. See [models and provider keys](/providers). +3. Pick a model from that provider's list in **Model**. On Free, the form starts on Orca credit with the [free model](/plans#the-free-model), `cohere/north-mini-code:free`, already picked. Ids are shown without the provider prefix, such as `openai/gpt-5.6-luna` under Orca credit. Each model shows its name and context window, and for Orca credit OpenRouter's price per million tokens in and out, with **Free model** on the free model, on every plan, and, on Free, **Pro and Max** on models above the [Free price ceiling](/plans#the-free-price-ceiling); the note under the field says you pay OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. You can also type a model id. See [models and provider keys](/providers). 4. Optionally give it a **Name** and **Instructions**, the system prompt every session starts with. 5. Choose **Create agent**. diff --git a/dashboard/wallet-and-usage.mdx b/dashboard/wallet-and-usage.mdx index fdfe412..169410d 100644 --- a/dashboard/wallet-and-usage.mdx +++ b/dashboard/wallet-and-usage.mdx @@ -18,6 +18,8 @@ Open **Wallet**. It shows your plan and the current period, and these figures: Under **Granted credit**, the page lists each grant with something left: the amount left of the amount granted, the day it was granted, and the day it expires. Whatever is left of a grant at expiry is removed, and your organization's admins get an email 15 days before. See [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). +On every plan with a [free-model](/plans#the-free-model) share, the page shows "Free model today:" with your organization's free-model calls today out of its share, except while Orca has the free model turned off. + When the balance is under your plan's minimum balance, the page says "Paid work is paused" and asks you to add credit. When it is below zero, the page adds "Your balance is below zero. Paid work resumes when credit brings it to ``.", with your plan's minimum balance as the amount. See [when credit runs low](/wallet#when-credit-runs-low). ## Buy credit diff --git a/glossary.mdx b/glossary.mdx index 2ef1e36..f5f0e0a 100644 --- a/glossary.mdx +++ b/glossary.mdx @@ -25,7 +25,7 @@ Terms are listed alphabetically. Each links to the page that explains it in full **Executor**: The program that connects a self-hosted machine to Orca. Orca uses the stock Codex `exec-server`. See [self-hosted executor](/guides/environments#self-hosted-environment). -**Free model**: The model Orca runs at no charge on the Free plan, within a daily share, currently `orca/openrouter/cohere/north-mini-code:free`. See [the free model](/plans#the-free-model). +**Free model**: The model Orca runs at no charge on every plan, within a daily share, currently `orca/openrouter/cohere/north-mini-code:free`. See [the free model](/plans#the-free-model). **Free price ceiling**: On Free, the highest input and output price an Orca credit model can have to run on credit. Models above it run on Orca credit on Pro and Max only. See [the Free price ceiling](/plans#the-free-price-ceiling). diff --git a/introduction.mdx b/introduction.mdx index 8d29cdd..a5d91ec 100644 --- a/introduction.mdx +++ b/introduction.mdx @@ -42,7 +42,7 @@ Orca stores all of this durably. If your application disconnects or restarts, th ## What you need -- **An Orca account.** Sign up at [app.orcapods.ai](https://app.orcapods.ai). A new account starts on the [Free plan](/plans#the-free-plan), with no card and no credit. Free runs Orca's free model at no charge, any model on your own provider key, and, on credit you add, models up to the Free price ceiling. +- **An Orca account.** Sign up at [app.orcapods.ai](https://app.orcapods.ai). A new account starts on the [Free plan](/plans#the-free-plan), with no card and no credit. Free runs Orca's free model at no charge, any model on your own provider key, and, on credit you add, models up to the Free price ceiling. Pro and Max run the free model too. - **An Orca API key.** Create one in the dashboard under **Settings**, **API keys**. It acts for your [organization](/organizations). It is not an OpenAI key. - **A model name**: an Orca credit model (`orca/openrouter/`), such as the free model `orca/openrouter/cohere/north-mini-code:free` on Free, or one on your own provider key (see [models and provider keys](/providers)). diff --git a/plans.mdx b/plans.mdx index b5f3126..d53b409 100644 --- a/plans.mdx +++ b/plans.mdx @@ -10,7 +10,7 @@ Each plan sets: - **A price.** Free costs nothing; Pro and Max are billed monthly through Polar. - **Machine time included** in each period. - **Extra machine time**, past the included time, at an hourly rate, charged to the second from your Orca credit. -- **Which models Orca credit pays for.** Any model on Pro and Max; on Free, the free model and models up to the [Free price ceiling](#the-free-price-ceiling). +- **Which models Orca credit pays for.** The [free model](#the-free-model) on every plan, at no charge. Any other model on Pro and Max; on Free, models up to the [Free price ceiling](#the-free-price-ceiling). - **Sessions at once**, which is also how many sandboxes can run at once. - **Limits** on requests, turns, sessions, API keys and storage. See [limits per plan](#limits-per-plan). - **A minimum balance** for paid work. @@ -39,12 +39,14 @@ The free model is Orca's choice: currently North Mini Code from Cohere, served t - **It costs nothing.** Its calls are recorded in your usage at cost 0, whatever OpenRouter reports, and need no balance. - **A daily share.** Each organization can make a set number of free-model calls a day, and so can each person, counted across every organization they create or work in. -- **A shared daily capacity.** All Free organizations together share one daily capacity, which can run out before the reset. +- **A shared daily capacity.** All organizations, on every plan, together share one daily capacity, which can run out before the reset. - **Both reset at 00:00 UTC.** The share and the capacity are on the [pricing page](https://orcapods.ai/pricing). The wallet shows your organization's calls today. - **A set number of calls a turn.** A turn on the free model, its subagents included, makes at most the number of calls on the pricing page. A turn starts only when that many calls are left in your share and in the day's capacity, so the daily limits never cut a turn off halfway. A turn that reaches its last call ends `completed` with the event `orca.free_model.turn_limit`, its work kept; send a message to continue. - **A few turns at once, across Orca.** When the free model is already running as many turns as Orca allows for all organizations together, a new turn is refused for a minute. See [troubleshooting](/troubleshooting#free-plan-and-limits). -- **Web search is not free.** A web search on the free model is charged to your Orca credit like any search, so it needs your plan's minimum balance. See [what a search costs](/providers#what-a-search-costs). -- **Free only.** Pro and Max run any model on credit and do not run the free model. +- **Web search is not free.** A web search on the free model is charged to your Orca credit like any search, so it needs your plan's minimum balance, and it counts as one of the free model's calls. See [what a search costs](/providers#what-a-search-costs). +- **On every plan.** Pro and Max run the free model too, at no charge and at any balance, each with its own daily share per organization and per person on the [pricing page](https://orcapods.ai/pricing), in the same daily capacity. New agents start on it on Free only; on Pro and Max, pick it in the model list, where it is marked **Free model**. +- **A plan can have no share.** On a plan whose daily share is none, a turn on the free model is refused with HTTP 403 `model_not_in_plan`: "Orca's free model is not part of this plan. Switch this session to another model, or run it on your own OpenRouter key." +- **Orca can turn it off.** When Orca turns the free model off, it is off on every plan at once: a turn on it, and saving an agent on it, are refused with HTTP 503 `free_model_unavailable`: "Orca's free model is off right now. Switch this session to another model, add your own OpenRouter key, or add credit." A turn already running finishes. While it is off, `GET /api/models` and `GET /api/public/plans` list no free model, and the wallet's `free_model_today.available` is `false`. Your own OpenRouter key still runs `:free` models. - **Your content.** The free model's calls go through OpenRouter to its provider, currently Cohere, which does not train on them and keeps them for up to 30 days. Other free models on OpenRouter, with ids ending in `:free`, run on your own OpenRouter key, not on Orca credit, on every plan. @@ -91,7 +93,7 @@ Every plan has these limits. The numbers for each plan are on the [pricing page] | API keys | Active API keys in the organization, device logins included | HTTP 403 `object_limit_exceeded`; revoke one to make another | | Stored sessions | Sessions the organization keeps | HTTP 403 `object_limit_exceeded` on a new session; delete one to start another | | Storage | Files, skills and saved sandbox workspaces | HTTP 403 `storage_quota_exceeded`; delete files, skills or sessions to free space | -| Free-model calls a day | Free only, per organization and per person; see [the free model](#the-free-model) | HTTP 429 `insufficient_quota` until 00:00 UTC | +| Free-model calls a day | Every plan, per organization and per person; see [the free model](#the-free-model) | HTTP 429 `insufficient_quota` until 00:00 UTC | An organization already over a count when its plan's limit changes keeps what it has, and cannot add more until it is under the limit. Routes that need no key have their own limits per IP address; see [rate limits](/reference/overview#rate-limits). Every refusal and its way forward is in [troubleshooting](/troubleshooting#free-plan-and-limits). diff --git a/providers.mdx b/providers.mdx index 987e35d..1b109ea 100644 --- a/providers.mdx +++ b/providers.mdx @@ -62,7 +62,7 @@ On the [Free plan](/plans#the-free-plan), an organization runs: | Model | On Free | On Pro and Max | | --- | --- | --- | -| Orca's free model, `orca/openrouter/cohere/north-mini-code:free` | At no charge, at any balance, within a [daily share](/plans#the-free-model) | Not offered | +| Orca's free model, `orca/openrouter/cohere/north-mini-code:free` | At no charge, at any balance, within a [daily share](/plans#the-free-model) | The same | | Any model on your own provider key, `/` | Yes, at any price | Yes | | An Orca credit model within the [Free price ceiling](/plans#the-free-price-ceiling) | On credit you add | Yes | | An Orca credit model above the ceiling, such as Claude Fable or Claude Opus | No: Pro and Max only, even with credit | Yes | @@ -74,7 +74,7 @@ Bring your own provider key for anything the plan does not cover: a model on you | `plan` | Meaning | | --- | --- | -| `free` | The free model. Free only. | +| `free` | The free model, at no charge, on every plan with a daily share. While Orca has it turned off, no model is marked `free`. | | `within_ceiling` | Runs on Orca credit on every plan. | | `pro_and_max` | Above the Free price ceiling: runs on Orca credit on Pro and Max only. | diff --git a/reference/errors.mdx b/reference/errors.mdx index 1b153f3..becc19c 100644 --- a/reference/errors.mdx +++ b/reference/errors.mdx @@ -13,7 +13,7 @@ When a request fails, Orca returns an HTTP error status and a JSON body in the s | --- | --- | --- | | `400 Bad Request` | Invalid field, unsupported configuration, malformed event input or cursor; agent `instructions` or `tools` over [256 KiB](/plans#how-many-you-can-keep) | `invalid_request` | | `401 Unauthorized` | Missing, invalid, or revoked bearer key | `invalid_api_key` | -| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on Free, a model above the [Free price ceiling](/plans#the-free-price-ceiling) ("This model needs Pro or Max."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | +| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on Free, a model above the [Free price ceiling](/plans#the-free-price-ceiling) ("This model needs Pro or Max."), or on any plan with no free-model share, the [free model](/plans#the-free-model) ("Orca's free model is not part of this plan."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | | `404 Not Found` | Missing resource (including resources outside the caller's scope) | `not_found` | | `409 Conflict` | Conflicting state or incompatible environment use; a kit copy whose name is taken, or whose kit changed since its review | `conflict`, `name_taken`, `kit_changed` | | `410 Gone` | A withdrawn kit, or a route from Orca 1.x ("This CLI is too old for Orca. Run orca update.") | `kit_withdrawn`, `cli_outdated` | @@ -21,7 +21,7 @@ When a request fails, Orca returns an HTTP error status and a JSON body in the s | `429 Too Many Requests` | Too many requests a minute or turns a day for your [plan](/plans#limits-per-plan), too many [event streams or uploads open at once](/reference/overview#rate-limits), your plan's [sessions](/plans#sessions-at-once) or [sandboxes at once](/plans#sandboxes-at-once) are all running, or the free model or Free sandboxes are busy across Orca (retry after `Retry-After`); out of Orca credit, which also stops new sandboxes and uploads, or a [Free plan](/plans#the-free-plan) refusal with a `param`: `free_plan`, `free_model_daily`, `free_model_capacity` or `included_hours` | `rate_limit_exceeded`, `insufficient_quota` | | `500 Internal Server Error` | Operation could not be completed | `server_error` | | `502 Bad Gateway` | Downstream failure | `server_error` | -| `503 Service Unavailable` | Orca's free model is not available right now (`free_model_unavailable`), sandbox capacity is full, your balance could not be read ("Orca could not read your credit balance. Try again in a moment."), Orca is receiving too many uploads, Orca's storage is nearly full ("Orca's storage is nearly full. Try again later."), or too many CLI sign-ins are waiting. Retry after `Retry-After`. | `free_model_unavailable`, `sandbox_capacity`, `balance_unavailable`, `server_busy`, `storage_unavailable`, `device_login_unavailable` | +| `503 Service Unavailable` | Orca's free model is not available right now, or Orca has turned it off on every plan ("Orca's free model is off right now.") (`free_model_unavailable`), sandbox capacity is full, your balance could not be read ("Orca could not read your credit balance. Try again in a moment."), Orca is receiving too many uploads, Orca's storage is nearly full ("Orca's storage is nearly full. Try again later."), or too many CLI sign-ins are waiting. Retry after `Retry-After`. | `free_model_unavailable`, `sandbox_capacity`, `balance_unavailable`, `server_busy`, `storage_unavailable`, `device_login_unavailable` | The envelope uses `type: "server_error"` for 5xx and `type: "invalid_request_error"` for client errors. `param` can identify an invalid request field; do not parse English messages as stable machine codes. Framework-level errors are normalized to the same envelope but may use generic codes. Other HTTP failures can occur; inspect the actual status and body. Do not automatically retry a validation error. For uncertain mutation outcomes, use an `Idempotency-Key` (one nonempty value, at most 512 bytes) and retry with the same request; the server supports idempotency on mutations, including session event submission. A mismatched replay can conflict. diff --git a/troubleshooting.mdx b/troubleshooting.mdx index b0a7672..41a7822 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -69,13 +69,15 @@ Some settings are not available with every provider. `GET /api/providers` lists ## Free plan and limits -Each entry is a refusal or a turn end from the [Free plan](/plans#the-free-plan) or the [limits per plan](/plans#limits-per-plan), with its way forward. The numbers in the messages are your plan's, on the [pricing page](https://orcapods.ai/pricing). +Each entry is a refusal or a turn end from the [Free plan](/plans#the-free-plan) or the [limits per plan](/plans#limits-per-plan), with its way forward. The free model's entries apply on every plan, since Pro and Max run it too. The numbers in the messages are your plan's, on the [pricing page](https://orcapods.ai/pricing). "This model needs Pro or Max." On Free, Orca credit runs only the free model and models within the [Free price ceiling](/plans#the-free-price-ceiling), and this agent's model, or the model the session was switched to, is above it or has no fixed price. The turn did not start and nothing was charged. [Switch the session](/providers#switch-who-pays-for-one-session) to the free model (`orca/openrouter/cohere/north-mini-code:free`) or to a model within the ceiling (`orca models` marks the ones that need **Pro and Max**), run the model on your own provider key, or [upgrade](/plans#change-your-plan). + +"Orca's free model is not part of this plan. Switch this session to another model, or run it on your own OpenRouter key." On any plan, the session's model is the free model and your plan has no free-model share. [Switch the session](/providers#switch-who-pays-for-one-session) to another model, or run the model on your own OpenRouter key as `openrouter/`. "On Free, this agent's model runs on credit." The agent's model is an Orca credit model other than the free model, and your balance is under the minimum. This is common after copying a kit, since kits name models that run on credit. @@ -88,14 +90,16 @@ Switch this session to the free model: **Switch to the free model** in the dashb Wait for 00:00 UTC, add your own OpenRouter key and run the model on it, or [add credit](/wallet#buy-credit) to use another model. -"Free model capacity is used up for today. It resets at 00:00 UTC." All Free organizations together used the free model's daily capacity, before your own share ran out. A turn already running finishes on the calls it set aside when it started. Rarely, if OpenRouter refuses anyway, a running turn ends `failed` with `usage_limit_exceeded` and the same `param`, its work kept. +"Free model capacity is used up for today. It resets at 00:00 UTC." All organizations together, on every plan, used the free model's daily capacity, before your own share ran out. A turn already running finishes on the calls it set aside when it started. Rarely, if OpenRouter refuses anyway, a running turn ends `failed` with `usage_limit_exceeded` and the same `param`, its work kept. Wait for 00:00 UTC, add your own OpenRouter key, or [upgrade](/plans#change-your-plan). "Orca's free model is not available right now." OpenRouter withdrew the free model or started charging for it, so Orca does not run it. You are never charged for it. Orca is told, and the pricing page names the free model once it is replaced. -Add your own OpenRouter key, or [add credit](/wallet#buy-credit) to use another model. +"Orca's free model is off right now. Switch this session to another model, add your own OpenRouter key, or add credit." Orca has turned the free model off, on every plan. Saving an agent on it is refused the same way. A turn already running finishes. + +On any plan: [switch the session](/providers#switch-who-pays-for-one-session) to another model, add your own OpenRouter key, or [add credit](/wallet#buy-credit) to use another model. "The free model is busy. Try again in a minute, or add your own OpenRouter key." The free model is running as many turns at once as Orca allows for all organizations together. Send the message again after the `Retry-After` seconds, or run the model on your own OpenRouter key. diff --git a/wallet.mdx b/wallet.mdx index d2fe4f0..b76eacf 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -15,7 +15,7 @@ Each organization has one **wallet** of Orca credit. Your balance is everything Tokens on your own provider key (`/`) are billed by that provider. Orca charges nothing for them. -The [free model](/plans#the-free-model) on Free costs nothing and needs no credit. On Free, credit pays only for Orca credit models within the [Free price ceiling](/plans#the-free-price-ceiling), their web searches and the free model's, and machine time past the included time. Models above the ceiling run on Orca credit on Pro and Max only. +The [free model](/plans#the-free-model) costs nothing and needs no credit, on every plan. On Free, credit pays only for Orca credit models within the [Free price ceiling](/plans#the-free-price-ceiling), their web searches and the free model's, and machine time past the included time. Models above the ceiling run on Orca credit on Pro and Max only. ## Where credit comes from @@ -110,11 +110,11 @@ The dashboard shows this as **Out of Orca credit** on the turn, with **Add credi | `GET /api/usage` | Totals per meter for a period (30 days by default, or `start` and `end` in Unix seconds), a `series` over time (below), and totals grouped by `model`, `provider`, `credential`, `session`, or `agent` with `group_by`. With `group_by`, `group_costs` gives each key's cost across every meter; they add up to the period's `cost_micro_usd`. `session=` narrows it to one session. | | `GET /api/usage/events` | The newest usage rows, each with its cost. Filter with `meter`, or `charged=true` for only the rows that cost something; page with `limit` and `after`. A row at cost 0 whose money is on another row of the same operation has `charged_on`: `call` when its call's row carries the money (a token row), `search` when the search's row does (the search's tool call, or its call when the whole cost is on the search), `late` when the operation was [charged later](#calls-charged-later) and its `late_charges` row does (every row of that call or search, its call or search row included). Any other row has none, and its own cost is what it was charged. Each row also has `charge_for`: on a `late_charges` row, the id of the row it charges; `null` on every other row. | -The wallet's Free plan fields: +The wallet's free model and Free plan fields: | Field | Meaning | | --- | --- | -| `free_model` | On Free, `{calls_today, calls_per_day, available}`: your organization's free-model calls today, its share, and whether the free model can start a turn now. `null` on Pro and Max. | +| `free_model_today` | On every plan with a free-model share, `{calls_today, calls_per_day, available}`: your organization's free-model calls today, its share, and whether the free model can start a turn now. `available` is `false` while Orca has the free model turned off. `null` on a plan with no share. (`free_model`, from the plan facts, names the free models.) | | `included_hours_withheld` | `true` when Orca has withheld Free's included machine time and the free model from this organization. Credit you add and your own keys still work. See [free use can be withheld](/plans#free-use-can-be-withheld). | | `network` | `{"off": true, "message": "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)."}` while a Free organization's sandboxes have no network, and `{"off": false}` once it has credit, bought or granted. `orca billing wallet` prints the same line. See [machine time on Free](/plans#machine-time-on-free). | | `credit_request` | On Free, `{message, url}`: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." and the Discord link. | From bb5ef71829af1a70d4a18c71dd3049c1577895ab Mon Sep 17 00:00:00 2001 From: ahokik Date: Wed, 21 Oct 2026 10:44:09 +0100 Subject: [PATCH 06/11] Docs: D3.16 A6 (6), (32): the free-model capacity and daily refusal texts troubleshooting.mdx: free_model_capacity quotes the server's message and its way on, add your own OpenRouter key or add credit; "or upgrade" goes, since every plan shares the capacity. free_model_daily gives the three texts by the limit that refused: the organization's share, the person's share, or fewer calls left than a turn sets aside. Co-Authored-By: Claude Opus 5.5 --- troubleshooting.mdx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/troubleshooting.mdx b/troubleshooting.mdx index 41a7822..decc041 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -85,14 +85,18 @@ Each entry is a refusal or a turn end from the [Free plan](/plans#the-free-plan) Switch this session to the free model: **Switch to the free model** in the dashboard, or `POST /api/sessions/{session_id}/model` with `{"model": "orca/openrouter/cohere/north-mini-code:free"}` (see [switch who pays](/providers#switch-who-pays-for-one-session)). Or add your own provider key in **Settings**, **Providers**, or [add credit](/wallet#buy-credit) or [upgrade](/plans#change-your-plan). -"Your organization has used today's N free-model calls. They reset at 00:00 UTC." Your organization used its daily share of the free model, or you did across the organizations you work in. Nothing was charged. +The message names the limit that refused. Nothing was charged. + +- "Your organization has used today's N free-model calls. They reset at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model." Your organization used its daily share of the free model. +- "You have used today's N free-model calls. They reset at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model." You used your own daily share, counted across the organizations you work in. +- "A free-model turn sets aside N calls, and M of today's are left. They reset at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model." Neither share is used up, but fewer calls are left than a turn sets aside when it starts, counting the calls that turns already running hold. Wait for 00:00 UTC, add your own OpenRouter key and run the model on it, or [add credit](/wallet#buy-credit) to use another model. -"Free model capacity is used up for today. It resets at 00:00 UTC." All organizations together, on every plan, used the free model's daily capacity, before your own share ran out. A turn already running finishes on the calls it set aside when it started. Rarely, if OpenRouter refuses anyway, a running turn ends `failed` with `usage_limit_exceeded` and the same `param`, its work kept. +"Free model capacity is used up for today. It resets at 00:00 UTC. Add your own OpenRouter key, or add credit to use another model." All organizations together, on every plan, used the free model's daily capacity, before your own share ran out. A turn already running finishes on the calls it set aside when it started. Rarely, if OpenRouter refuses anyway, a running turn ends `failed` with `usage_limit_exceeded` and the same `param`, its work kept. -Wait for 00:00 UTC, add your own OpenRouter key, or [upgrade](/plans#change-your-plan). +Wait for 00:00 UTC, add your own OpenRouter key, or [add credit](/wallet#buy-credit) to use another model. Every plan shares this capacity, so upgrading does not add to it. "Orca's free model is not available right now." OpenRouter withdrew the free model or started charging for it, so Orca does not run it. You are never charged for it. Orca is told, and the pricing page names the free model once it is replaced. From d92cbf612082a5b4148e9d6333515eeb86f6f925 Mon Sep 17 00:00:00 2001 From: ahokik Date: Wed, 21 Oct 2026 10:44:09 +0100 Subject: [PATCH 07/11] Docs: D3.16 A6 (1), (2), (4), (26), (28): sleep reasons, sandbox events, the wallet's network - reference/overview.mdx: last_sleep.reason gains suspended and network_on; last_sleep.outcome names discarded (F37, A1), which the discard event points to; last_sleep.message is also set for those sleeps and for a workspace near Free's size. - troubleshooting.mdx: a new accordion for a Free session's new, empty sandbox (orca.sandbox.discarded) and the near-limit warning (orca.sandbox.workspace_near_limit, size_bytes, limit_bytes); organization_suspended covers sandbox starts and uploads and the suspended sleep; the network accordion says a running sandbox gets the network after its next sleep (network_on) and quotes the wallet line. - plans.mdx: machine time on Free says the same in one line each. - wallet.mdx: the network field's third shape, with sandboxes_without_network and its message. - reference/errors.mdx: the 403 row names starts and uploads for a suspended organization, with its message. Co-Authored-By: Claude Opus 5.5 --- plans.mdx | 4 ++-- reference/errors.mdx | 2 +- reference/overview.mdx | 6 +++--- troubleshooting.mdx | 9 ++++++++- wallet.mdx | 2 +- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/plans.mdx b/plans.mdx index d53b409..b5dd265 100644 --- a/plans.mdx +++ b/plans.mdx @@ -64,9 +64,9 @@ Your own provider keys are not limited by the ceiling. - **Included time needs no balance.** While the included time lasts, a sandbox starts and runs at any balance, zero included. - **Then paid time.** Past the included time, a sandbox keeps running while your balance is at or above the minimum, charged to the second from your credit at Free's hourly rate. Otherwise it stops: the running turn ends, the workspace is saved, and the session picks up with its files once you add credit or the next month starts. - **A warning first.** When about 5 minutes of included time are left and your balance is under the minimum, the session gets the event `orca.compute.warning`, and the dashboard shows it. When the included time runs out, the organization's creator gets an email, once a month. -- **Network is off until your organization has credit.** "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)." Credit your organization buys, or credit Orca grants it, turns the network on for the sandboxes it starts from then on, and it stays on; signup credit that earlier accounts were given does not. Until then the agent can still write and run code with what the sandbox has, but cannot install packages or reach the internet. A network command that fails ends its output with that line, prefixed `[Orca] `; the session gets the event `orca.network.off` when such a sandbox starts; and `orca billing wallet` and the wallet's `network` field show it. See [troubleshooting](/troubleshooting#free-plan-and-limits). +- **Network is off until your organization has credit.** "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)." Credit your organization buys, or credit Orca grants it, turns the network on for the sandboxes it starts from then on, and it stays on; a sandbox already running without it goes to sleep at its next idle moment and wakes with the network; signup credit that earlier accounts were given does not. Until then the agent can still write and run code with what the sandbox has, but cannot install packages or reach the internet. A network command that fails ends its output with that line, prefixed `[Orca] `; the session gets the event `orca.network.off` when such a sandbox starts; and `orca billing wallet` and the wallet's `network` field show it. See [troubleshooting](/troubleshooting#free-plan-and-limits). - **Free sandboxes share capacity.** Only a few Free sandboxes run at once across all of Orca, so a start can be refused for a minute when they are busy. -- **Free saves workspaces up to 100 MiB.** When a sandbox stops at the end of the included time or of your credit, a larger workspace is not saved, and the session says so. +- **Free saves workspaces up to 100 MiB.** When a sandbox stops at the end of the included time or of your credit, or for a suspension, a larger workspace is not saved: the session gets the event `orca.sandbox.discarded`, and its next message starts a new, empty sandbox. A sleep that saves a workspace near that size warns with the event `orca.sandbox.workspace_near_limit`. See [a new, empty sandbox](/troubleshooting#free-plan-and-limits). ### A Free turn's bounds diff --git a/reference/errors.mdx b/reference/errors.mdx index becc19c..116d538 100644 --- a/reference/errors.mdx +++ b/reference/errors.mdx @@ -13,7 +13,7 @@ When a request fails, Orca returns an HTTP error status and a JSON body in the s | --- | --- | --- | | `400 Bad Request` | Invalid field, unsupported configuration, malformed event input or cursor; agent `instructions` or `tools` over [256 KiB](/plans#how-many-you-can-keep) | `invalid_request` | | `401 Unauthorized` | Missing, invalid, or revoked bearer key | `invalid_api_key` | -| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on Free, a model above the [Free price ceiling](/plans#the-free-price-ceiling) ("This model needs Pro or Max."), or on any plan with no free-model share, the [free model](/plans#the-free-model) ("Orca's free model is not part of this plan."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | +| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on Free, a model above the [Free price ceiling](/plans#the-free-price-ceiling) ("This model needs Pro or Max."), or on any plan with no free-model share, the [free model](/plans#the-free-model) ("Orca's free model is not part of this plan."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended, on a sandbox start or an upload too ("Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq") | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | | `404 Not Found` | Missing resource (including resources outside the caller's scope) | `not_found` | | `409 Conflict` | Conflicting state or incompatible environment use; a kit copy whose name is taken, or whose kit changed since its review | `conflict`, `name_taken`, `kit_changed` | | `410 Gone` | A withdrawn kit, or a route from Orca 1.x ("This CLI is too old for Orca. Run orca update.") | `kit_withdrawn`, `cli_outdated` | diff --git a/reference/overview.mdx b/reference/overview.mdx index 491f586..fc85f5e 100644 --- a/reference/overview.mdx +++ b/reference/overview.mdx @@ -132,9 +132,9 @@ These routes are Orca's own, outside the OpenAI Agents API. They live at `https: | `state` | `awake`, `going_to_sleep`, `asleep`, `waking`, or `none` when the session has no managed sandbox (no environment, a self-hosted one, or one that failed to start). | | `environment_id` | The session's environment, `null` when `state` is `none`. On `/v1` its `status` reads `disconnected` while asleep and `pending` while waking. | | `last_sleep` | The last time the sandbox went to sleep, or tried to, since it last woke; `null` if it has not. | -| `last_sleep.reason` | Why it went to sleep: `requested` (someone put it to sleep), `idle` (the idle time passed), or `out_of_credit`, `hours_used_up` or `unpriced` (Orca stopped its machine time; see [when credit runs low](/wallet#when-credit-runs-low)). More reasons may be added; show one you do not know as asleep. | -| `last_sleep.outcome` | `null` while going to sleep, then `asleep`, or why it stayed awake: `too_large` (its files are too large to save), `failed` or `interrupted` (a message or a file request reached it first, or the server restarted). | -| `last_sleep.message` | For an outcome other than `asleep`, a message to show the user. | +| `last_sleep.reason` | Why it went to sleep: `requested` (someone put it to sleep), `idle` (the idle time passed), `out_of_credit`, `hours_used_up` or `unpriced` (Orca stopped its machine time; see [when credit runs low](/wallet#when-credit-runs-low)), `suspended` (Orca suspended work for the organization: "Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq"), or `network_on` (a Free sandbox that started without the network, now that its organization has credit, so that its next start has it; see [machine time on Free](/plans#machine-time-on-free)). More reasons may be added; show one you do not know as asleep. | +| `last_sleep.outcome` | `null` while going to sleep, then `asleep`, or why it stayed awake: `too_large` (its files are too large to save), `failed` or `interrupted` (a message or a file request reached it first, or the server restarted); or, on Free, `discarded`: a workspace Orca could not save when it stopped the sandbox was not kept, `state` reads `none`, and the next message starts a new, empty sandbox. | +| `last_sleep.message` | A message to show the user: for an outcome other than `asleep`, for a `suspended` or `network_on` sleep, and for a Free workspace saved near the size Free keeps. | The POST takes an empty body or `{}`. It returns as soon as the sandbox starts going to sleep; poll the GET to see it finish. diff --git a/troubleshooting.mdx b/troubleshooting.mdx index decc041..a20b681 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -130,6 +130,11 @@ A running turn ends `failed` with `usage_limit_exceeded` and `param: "included_h [Add credit](/wallet#buy-credit) to continue now: the sandbox runs on at Free's hourly rate, charged to the second. Or wait for the 1st of the month (UTC), or [upgrade](/plans#change-your-plan). See [machine time on Free](/plans#machine-time-on-free). + +"This session has a new sandbox. The last workspace was larger than the 100 MiB Free keeps, so it was not saved." (or "This session has a new sandbox. The last workspace could not be saved."). When a Free sandbox stops because the included time or your credit ran out, or because the organization is suspended, a workspace larger than Free keeps, or one whose save failed, is not kept. The session gets the event `orca.sandbox.discarded` at once, and again before the turn of its next message, which starts a new, empty sandbox: the environment's setup runs again, and the conversation stays. Until then, `GET /api/sessions/{session_id}/sandbox` reads `state` `none` and `last_sleep.outcome` `discarded`. + +A sleep that saves a Free workspace at or above 80% of that size warns first, with the event `orca.sandbox.workspace_near_limit` (with `size_bytes` and `limit_bytes`) and the same message in `last_sleep.message`: "This workspace is N MiB of the 100 MiB Free keeps. Over 100 MiB it is not saved when the sandbox sleeps, and the next message starts an empty sandbox. Delete files in /workspace to stay under it." Delete files in `/workspace`, or keep what matters as [files](/guides/files-and-artifacts). + "Free machine time is busy right now. Try again in a few minutes, or upgrade." Only a few Free sandboxes run at once across all of Orca, and they are all running. Start or wake the sandbox again after the `Retry-After` seconds, use a session without a sandbox, or [upgrade](/plans#change-your-plan). @@ -148,12 +153,14 @@ On Free, a sandbox has no network until your organization has credit, bought or ``` The session also gets the event `orca.network.off` when the sandbox starts, and `orca billing wallet` shows the same line. [Add credit](/wallet#buy-credit), or write to us on [Discord](https://discord.gg/btTYzdzvqq); sandboxes started after that follow the session's environment. Until then, give the agent what it needs as [files](/guides/files-and-artifacts). + +A sandbox already running without the network gets it after its next sleep: once your organization has credit, it goes to sleep at once if no turn is running, or when the running turn ends, and `GET /api/sessions/{session_id}/sandbox` reads `last_sleep.reason` `network_on`, with "The sandbox slept so that its next start has the network, now that your organization has credit." Its next message wakes it with the network. Until then, the wallet's `network` field counts such sandboxes and says "Your organization has credit, so the network is on. A running sandbox that started without it gets it after its next sleep." "Orca credit runs only Orca's free model at no charge. Run other free models on your own OpenRouter key." Use the free model, `orca/openrouter/cohere/north-mini-code:free`, or run the other model on your own OpenRouter key as `openrouter/`. See [which models Free can use](/providers#which-models-free-can-use). -"Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq" Orca suspended paid work, the free model and the included machine time for this organization. A running turn ends with `usage_limit_exceeded` and `param: "orca_suspended"`. Ask in **#help** on [Orca's Discord](https://discord.gg/btTYzdzvqq). +"Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq" Orca suspended paid work, the free model and the included machine time for this organization. Starting or waking a sandbox and uploading a file are refused with this 403. A running turn ends with `usage_limit_exceeded` and `param: "orca_suspended"`, and its sandbox goes to sleep: `GET /api/sessions/{session_id}/sandbox` reads `last_sleep.reason` `suspended`, with the same message. Ask in **#help** on [Orca's Discord](https://discord.gg/btTYzdzvqq). diff --git a/wallet.mdx b/wallet.mdx index b76eacf..89a7b78 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -116,7 +116,7 @@ The wallet's free model and Free plan fields: | --- | --- | | `free_model_today` | On every plan with a free-model share, `{calls_today, calls_per_day, available}`: your organization's free-model calls today, its share, and whether the free model can start a turn now. `available` is `false` while Orca has the free model turned off. `null` on a plan with no share. (`free_model`, from the plan facts, names the free models.) | | `included_hours_withheld` | `true` when Orca has withheld Free's included machine time and the free model from this organization. Credit you add and your own keys still work. See [free use can be withheld](/plans#free-use-can-be-withheld). | -| `network` | `{"off": true, "message": "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)."}` while a Free organization's sandboxes have no network, and `{"off": false}` once it has credit, bought or granted. `orca billing wallet` prints the same line. See [machine time on Free](/plans#machine-time-on-free). | +| `network` | `{"off": true, "message": "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)."}` while a Free organization's sandboxes have no network, and `{"off": false}` once it has credit, bought or granted. While a sandbox that started without the network is still running, `{"off": false, "sandboxes_without_network": 1, "message": "Your organization has credit, so the network is on. A running sandbox that started without it gets it after its next sleep."}`, with the count of such sandboxes. `orca billing wallet` prints the message. See [machine time on Free](/plans#machine-time-on-free). | | `credit_request` | On Free, `{message, url}`: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." and the Discord link. | `signup_credit_micro_usd` in `GET /api/public/plans` is always 0 and will be removed. Do not read it. From cfe580341e951f3ae90df575ed17da698ad1b2c0 Mon Sep 17 00:00:00 2001 From: ahokik Date: Wed, 21 Oct 2026 14:45:31 +0100 Subject: [PATCH 08/11] D3.16 copy review r1 docs 1, 2, 3, 5: terms can change at once, the busy answer per organization, Free's unsaved workspace, network off on Free 1: plans.mdx no longer says a change waits for the next period (A7 (1)). 2: troubleshooting's busy entry and plans' free-model bullet say an organization runs one free-model turn at a time on every plan (A6 (18)); the sessions-at-once refusal is Free's only. 3: plans' storage section names Free's workspace size as the exception to a saved workspace. 5: guides/environments.mdx says Free has no network until the organization has credit (F32). Co-Authored-By: Claude Opus 5.5 --- guides/environments.mdx | 2 ++ plans.mdx | 6 +++--- troubleshooting.mdx | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/guides/environments.mdx b/guides/environments.mdx index 5bb3288..dad5c91 100644 --- a/guides/environments.mdx +++ b/guides/environments.mdx @@ -78,6 +78,8 @@ The sandbox's internet access is set by `network.access`. If you do not set it, On hosted Orca, choose `disabled` or `enabled`. This setting only controls commands the agent runs **inside the sandbox**. Model calls and MCP tool calls are made by the Orca server and are not affected. +On Free, a sandbox has no network, whatever `network.access` asks, until your organization has credit, bought or granted: "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)." See [machine time on Free](/plans#machine-time-on-free). + ### Configure the sandbox Besides `files` and `network`, a managed environment accepts: diff --git a/plans.mdx b/plans.mdx index b5dd265..3e1b759 100644 --- a/plans.mdx +++ b/plans.mdx @@ -17,7 +17,7 @@ Each plan sets: The numbers for each plan are on the [pricing page](https://orcapods.ai/pricing), which is built from the numbers Orca charges with. No account starts with credit: credit is bought separately; see [wallet and credit](/wallet). Credit you buy never expires; credit Orca grants does, see [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). -A plan's terms hold for a whole period. When Orca changes a plan's numbers, the change applies to your organization from its next period, never in the middle of one. +A plan's terms usually hold for a whole period; Orca can apply a change at once, as it did when the Free plan changed. ## The Free plan @@ -42,7 +42,7 @@ The free model is Orca's choice: currently North Mini Code from Cohere, served t - **A shared daily capacity.** All organizations, on every plan, together share one daily capacity, which can run out before the reset. - **Both reset at 00:00 UTC.** The share and the capacity are on the [pricing page](https://orcapods.ai/pricing). The wallet shows your organization's calls today. - **A set number of calls a turn.** A turn on the free model, its subagents included, makes at most the number of calls on the pricing page. A turn starts only when that many calls are left in your share and in the day's capacity, so the daily limits never cut a turn off halfway. A turn that reaches its last call ends `completed` with the event `orca.free_model.turn_limit`, its work kept; send a message to continue. -- **A few turns at once, across Orca.** When the free model is already running as many turns as Orca allows for all organizations together, a new turn is refused for a minute. See [troubleshooting](/troubleshooting#free-plan-and-limits). +- **One turn at a time per organization, a few across Orca.** On every plan, an organization runs one free-model turn at a time. When your organization's turn is running, or the free model is already running as many turns as Orca allows for all organizations together, a new turn is refused for a minute. See [troubleshooting](/troubleshooting#free-plan-and-limits). - **Web search is not free.** A web search on the free model is charged to your Orca credit like any search, so it needs your plan's minimum balance, and it counts as one of the free model's calls. See [what a search costs](/providers#what-a-search-costs). - **On every plan.** Pro and Max run the free model too, at no charge and at any balance, each with its own daily share per organization and per person on the [pricing page](https://orcapods.ai/pricing), in the same daily capacity. New agents start on it on Free only; on Pro and Max, pick it in the model list, where it is marked **Free model**. - **A plan can have no share.** On a plan whose daily share is none, a turn on the free model is refused with HTTP 403 `model_not_in_plan`: "Orca's free model is not part of this plan. Switch this session to another model, or run it on your own OpenRouter key." @@ -143,7 +143,7 @@ Before a sandbox starts or wakes, Orca also checks what it checks each minute a Each plan has a storage limit, on the [pricing page](https://orcapods.ai/pricing) and in `GET /api/public/plans` as `stored_bytes`. It counts your uploaded files, skill versions, artifacts, and the saved workspaces of sandboxes that are asleep. - **At the limit,** an upload, a new skill or skill version, a kit copy with skills, and a new sandbox are refused with HTTP 403 `storage_quota_exceeded`: "Your organization stores X of its Y. Delete files, skills or sessions to free space." -- **Your sessions keep working.** A sandbox's workspace is always saved when it goes to sleep, and a sandbox that is asleep still wakes, even past the limit. Delete files, skills or sessions you no longer need to make room. +- **Your sessions keep working.** A sandbox's workspace is saved when it goes to sleep, and a sandbox that is asleep still wakes, even past the limit. On Free, a workspace larger than Free keeps is the exception: it is not saved; see [machine time on Free](#machine-time-on-free). Delete files, skills or sessions you no longer need to make room. - **Uploads need credit.** While paid work is paused, a file or skill upload is refused with HTTP 429 `insufficient_quota`: "Out of Orca credit: add credit to upload files". On Free, uploads within a [smaller quota](#storage-on-free) need no credit. Copying a kit needs no credit. When Orca's own storage is nearly full, uploads, skill uploads, kit copies and new sandboxes are refused for a while with HTTP 503 `storage_unavailable` and `Retry-After: 300`: "Orca's storage is nearly full. Try again later." Sandboxes that are asleep still wake. diff --git a/troubleshooting.mdx b/troubleshooting.mdx index a20b681..cf9f434 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -106,9 +106,9 @@ Wait for 00:00 UTC, add your own OpenRouter key, or [add credit](/wallet#buy-cre On any plan: [switch the session](/providers#switch-who-pays-for-one-session) to another model, add your own OpenRouter key, or [add credit](/wallet#buy-credit) to use another model. -"The free model is busy. Try again in a minute, or add your own OpenRouter key." The free model is running as many turns at once as Orca allows for all organizations together. Send the message again after the `Retry-After` seconds, or run the model on your own OpenRouter key. +"The free model is busy. Try again in a minute, or add your own OpenRouter key." On every plan, it means one of two things: your organization already has a free-model turn running, since an organization runs one at a time, or the free model is running as many turns at once as Orca allows for all organizations together. Send the message again after the `Retry-After` seconds, or run the model on your own OpenRouter key. -A second turn from your own organization while one runs gets "Your plan runs N sessions at once" instead; see [sessions at once](/plans#sessions-at-once). +On Free, a turn in a second session while one runs is refused first by the plan's sessions at once, with "Your plan runs N sessions at once"; see [sessions at once](/plans#sessions-at-once). The turn ends `completed` with the event `orca.free_model.turn_limit`: "This turn reached the free model's N calls. Send a message to continue." A turn on the free model, its subagents included, makes at most that many model calls. Its work is kept. From 90aa801b68a87fe9eee13858f956844cc60276cc Mon Sep 17 00:00:00 2001 From: ahokik Date: Wed, 21 Oct 2026 15:06:56 +0100 Subject: [PATCH 09/11] D3.16 copy review r1 docs 4: Free's workspace limit points at snapshot_max_bytes in GET /api/public/plans, no typed MiB Co-Authored-By: Claude Opus 5.5 --- plans.mdx | 2 +- troubleshooting.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plans.mdx b/plans.mdx index 3e1b759..cff30b2 100644 --- a/plans.mdx +++ b/plans.mdx @@ -66,7 +66,7 @@ Your own provider keys are not limited by the ceiling. - **A warning first.** When about 5 minutes of included time are left and your balance is under the minimum, the session gets the event `orca.compute.warning`, and the dashboard shows it. When the included time runs out, the organization's creator gets an email, once a month. - **Network is off until your organization has credit.** "Network is off on Free sandboxes until your organization has credit. Add credit, or write to us on Discord (https://discord.gg/btTYzdzvqq)." Credit your organization buys, or credit Orca grants it, turns the network on for the sandboxes it starts from then on, and it stays on; a sandbox already running without it goes to sleep at its next idle moment and wakes with the network; signup credit that earlier accounts were given does not. Until then the agent can still write and run code with what the sandbox has, but cannot install packages or reach the internet. A network command that fails ends its output with that line, prefixed `[Orca] `; the session gets the event `orca.network.off` when such a sandbox starts; and `orca billing wallet` and the wallet's `network` field show it. See [troubleshooting](/troubleshooting#free-plan-and-limits). - **Free sandboxes share capacity.** Only a few Free sandboxes run at once across all of Orca, so a start can be refused for a minute when they are busy. -- **Free saves workspaces up to 100 MiB.** When a sandbox stops at the end of the included time or of your credit, or for a suspension, a larger workspace is not saved: the session gets the event `orca.sandbox.discarded`, and its next message starts a new, empty sandbox. A sleep that saves a workspace near that size warns with the event `orca.sandbox.workspace_near_limit`. See [a new, empty sandbox](/troubleshooting#free-plan-and-limits). +- **Free saves workspaces up to a size limit**, in `GET /api/public/plans` as Free's `snapshot_max_bytes`. When a sandbox stops at the end of the included time or of your credit, or for a suspension, a larger workspace is not saved: the session gets the event `orca.sandbox.discarded`, and its next message starts a new, empty sandbox. A sleep that saves a workspace near that size warns with the event `orca.sandbox.workspace_near_limit`. See [a new, empty sandbox](/troubleshooting#free-plan-and-limits). ### A Free turn's bounds diff --git a/troubleshooting.mdx b/troubleshooting.mdx index cf9f434..9328c14 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -131,9 +131,9 @@ A running turn ends `failed` with `usage_limit_exceeded` and `param: "included_h [Add credit](/wallet#buy-credit) to continue now: the sandbox runs on at Free's hourly rate, charged to the second. Or wait for the 1st of the month (UTC), or [upgrade](/plans#change-your-plan). See [machine time on Free](/plans#machine-time-on-free). -"This session has a new sandbox. The last workspace was larger than the 100 MiB Free keeps, so it was not saved." (or "This session has a new sandbox. The last workspace could not be saved."). When a Free sandbox stops because the included time or your credit ran out, or because the organization is suspended, a workspace larger than Free keeps, or one whose save failed, is not kept. The session gets the event `orca.sandbox.discarded` at once, and again before the turn of its next message, which starts a new, empty sandbox: the environment's setup runs again, and the conversation stays. Until then, `GET /api/sessions/{session_id}/sandbox` reads `state` `none` and `last_sleep.outcome` `discarded`. +"This session has a new sandbox. The last workspace was larger than the L MiB Free keeps, so it was not saved." (or "This session has a new sandbox. The last workspace could not be saved."). When a Free sandbox stops because the included time or your credit ran out, or because the organization is suspended, a workspace larger than Free keeps, or one whose save failed, is not kept. The session gets the event `orca.sandbox.discarded` at once, and again before the turn of its next message, which starts a new, empty sandbox: the environment's setup runs again, and the conversation stays. Until then, `GET /api/sessions/{session_id}/sandbox` reads `state` `none` and `last_sleep.outcome` `discarded`. -A sleep that saves a Free workspace at or above 80% of that size warns first, with the event `orca.sandbox.workspace_near_limit` (with `size_bytes` and `limit_bytes`) and the same message in `last_sleep.message`: "This workspace is N MiB of the 100 MiB Free keeps. Over 100 MiB it is not saved when the sandbox sleeps, and the next message starts an empty sandbox. Delete files in /workspace to stay under it." Delete files in `/workspace`, or keep what matters as [files](/guides/files-and-artifacts). +A sleep that saves a Free workspace at or above 80% of that size warns first, with the event `orca.sandbox.workspace_near_limit` (with `size_bytes` and `limit_bytes`) and the same message in `last_sleep.message`: "This workspace is N MiB of the L MiB Free keeps. Over L MiB it is not saved when the sandbox sleeps, and the next message starts an empty sandbox. Delete files in /workspace to stay under it." L is Free's `snapshot_max_bytes` in `GET /api/public/plans`, in MiB. Delete files in `/workspace`, or keep what matters as [files](/guides/files-and-artifacts). "Free machine time is busy right now. Try again in a few minutes, or upgrade." Only a few Free sandboxes run at once across all of Orca, and they are all running. Start or wake the sandbox again after the `Retry-After` seconds, use a session without a sandbox, or [upgrade](/plans#change-your-plan). From 0f8c9262f174880fef2bd438bc02a35b8aacddf1 Mon Sep 17 00:00:00 2001 From: ahokik Date: Thu, 22 Oct 2026 10:13:04 +0100 Subject: [PATCH 10/11] Plans: the free model's availability is not guaranteed; add credit or your own OpenRouter key Co-Authored-By: Claude Opus 5.5 --- plans.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/plans.mdx b/plans.mdx index cff30b2..65c230d 100644 --- a/plans.mdx +++ b/plans.mdx @@ -40,6 +40,7 @@ The free model is Orca's choice: currently North Mini Code from Cohere, served t - **It costs nothing.** Its calls are recorded in your usage at cost 0, whatever OpenRouter reports, and need no balance. - **A daily share.** Each organization can make a set number of free-model calls a day, and so can each person, counted across every organization they create or work in. - **A shared daily capacity.** All organizations, on every plan, together share one daily capacity, which can run out before the reset. +- **Availability is not guaranteed.** The free model runs on OpenRouter's free tier, and OpenRouter limits how much of it Orca can use, so it can stop answering before your share or the day's capacity runs out. When that happens, [add credit](/wallet) and switch to an Orca credit model, or [add your own OpenRouter key](/providers#connect-a-provider). - **Both reset at 00:00 UTC.** The share and the capacity are on the [pricing page](https://orcapods.ai/pricing). The wallet shows your organization's calls today. - **A set number of calls a turn.** A turn on the free model, its subagents included, makes at most the number of calls on the pricing page. A turn starts only when that many calls are left in your share and in the day's capacity, so the daily limits never cut a turn off halfway. A turn that reaches its last call ends `completed` with the event `orca.free_model.turn_limit`, its work kept; send a message to continue. - **One turn at a time per organization, a few across Orca.** On every plan, an organization runs one free-model turn at a time. When your organization's turn is running, or the free model is already running as many turns as Orca allows for all organizations together, a new turn is refused for a minute. See [troubleshooting](/troubleshooting#free-plan-and-limits). From 32d44bd79a65482cbeed040c4ab3833fcfca99e9 Mon Sep 17 00:00:00 2001 From: ahokik Date: Thu, 22 Oct 2026 14:56:05 +0100 Subject: [PATCH 11/11] Free has no price ceiling: credit runs any Orca credit model on every plan (the user, 2026-10-22, via orca-2-prod) Removes the Free price ceiling section from plans.mdx and every link to it, the ceiling rows in providers#which-models-free-can-use and the pro_and_max plan value, the 'This model needs Pro or Max' troubleshooting entry and 403 row, the glossary term, and ceiling wording in wallet, introduction, start-here, the dashboard and cli pages. The free model's availability bullet is unchanged. Co-Authored-By: Claude Opus 5.5 --- cli/commands.mdx | 2 +- dashboard/agents-and-sessions.mdx | 2 +- glossary.mdx | 2 -- introduction.mdx | 2 +- plans.mdx | 16 ++++------------ providers.mdx | 10 ++++------ reference/errors.mdx | 2 +- start-here.mdx | 2 +- troubleshooting.mdx | 6 +----- wallet.mdx | 8 ++++---- 10 files changed, 18 insertions(+), 34 deletions(-) diff --git a/cli/commands.mdx b/cli/commands.mdx index ed624a4..2d00534 100644 --- a/cli/commands.mdx +++ b/cli/commands.mdx @@ -71,7 +71,7 @@ reasoning: { effort: medium } In a terminal, a file with no `model` opens a picker of every model you can use, grouped by who pays. On Free, the [free model](/plans#the-free-model) comes first. The server checks every field and the CLI prints its message. See [models and provider keys](/providers). -`orca models` lists the same names anywhere, including in scripts and coding agents: one line per model with its name, who pays (`orca`, or the provider whose key you saved), and OpenRouter's price for Orca credit models. A `plan` column marks the free model as **free model**, on every plan, and, on Free, the models above the [Free price ceiling](/plans#the-free-price-ceiling) as **Pro and Max**. `--payer orca` or `--payer anthropic` keeps one group, and `--json` prints the server's list. +`orca models` lists the same names anywhere, including in scripts and coding agents: one line per model with its name, who pays (`orca`, or the provider whose key you saved), and OpenRouter's price for Orca credit models. A `plan` column marks the free model as **free model**, on every plan. `--payer orca` or `--payer anthropic` keeps one group, and `--json` prints the server's list. ```bash orca models --payer orca | grep luna diff --git a/dashboard/agents-and-sessions.mdx b/dashboard/agents-and-sessions.mdx index 72fe27d..5296730 100644 --- a/dashboard/agents-and-sessions.mdx +++ b/dashboard/agents-and-sessions.mdx @@ -9,7 +9,7 @@ An **agent** is a saved model, instructions, and tools. A **session** is one con 1. Open **Agents** and choose **Create agent**. 2. Under **Model**, choose who pays in **Provider**: **Orca credit** comes first, then every provider Orca supports. A provider whose key you have not saved is greyed out; add the key under **Settings**, **BYOK**. -3. Pick a model from that provider's list in **Model**. On Free, the form starts on Orca credit with the [free model](/plans#the-free-model), `cohere/north-mini-code:free`, already picked. Ids are shown without the provider prefix, such as `openai/gpt-5.6-luna` under Orca credit. Each model shows its name and context window, and for Orca credit OpenRouter's price per million tokens in and out, with **Free model** on the free model, on every plan, and, on Free, **Pro and Max** on models above the [Free price ceiling](/plans#the-free-price-ceiling); the note under the field says you pay OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. You can also type a model id. See [models and provider keys](/providers). +3. Pick a model from that provider's list in **Model**. On Free, the form starts on Orca credit with the [free model](/plans#the-free-model), `cohere/north-mini-code:free`, already picked. Ids are shown without the provider prefix, such as `openai/gpt-5.6-luna` under Orca credit. Each model shows its name and context window, and for Orca credit OpenRouter's price per million tokens in and out, with **Free model** on the free model, on every plan; the note under the field says you pay OpenRouter's price plus [their fee](https://orcapods.ai/pricing), with no Orca markup. You can also type a model id. See [models and provider keys](/providers). 4. Optionally give it a **Name** and **Instructions**, the system prompt every session starts with. 5. Choose **Create agent**. diff --git a/glossary.mdx b/glossary.mdx index f5f0e0a..42e8936 100644 --- a/glossary.mdx +++ b/glossary.mdx @@ -27,8 +27,6 @@ Terms are listed alphabetically. Each links to the page that explains it in full **Free model**: The model Orca runs at no charge on every plan, within a daily share, currently `orca/openrouter/cohere/north-mini-code:free`. See [the free model](/plans#the-free-model). -**Free price ceiling**: On Free, the highest input and output price an Orca credit model can have to run on credit. Models above it run on Orca credit on Pro and Max only. See [the Free price ceiling](/plans#the-free-price-ceiling). - **Function tool**: A tool that your application implements. When the model calls it, Orca pauses the turn until your code sends back a result. See [function tools](/guides/function-tools). **Granted credit**: Orca credit that Orca added at no charge. Each grant expires on a date set when it is granted, and granted credit is used before paid credit. See [granted credit and paid credit](/wallet#granted-credit-and-paid-credit). diff --git a/introduction.mdx b/introduction.mdx index a5d91ec..477f523 100644 --- a/introduction.mdx +++ b/introduction.mdx @@ -42,7 +42,7 @@ Orca stores all of this durably. If your application disconnects or restarts, th ## What you need -- **An Orca account.** Sign up at [app.orcapods.ai](https://app.orcapods.ai). A new account starts on the [Free plan](/plans#the-free-plan), with no card and no credit. Free runs Orca's free model at no charge, any model on your own provider key, and, on credit you add, models up to the Free price ceiling. Pro and Max run the free model too. +- **An Orca account.** Sign up at [app.orcapods.ai](https://app.orcapods.ai). A new account starts on the [Free plan](/plans#the-free-plan), with no card and no credit. Free runs Orca's free model at no charge, any model on your own provider key, and, on credit you add, any Orca credit model. Pro and Max run the free model too. - **An Orca API key.** Create one in the dashboard under **Settings**, **API keys**. It acts for your [organization](/organizations). It is not an OpenAI key. - **A model name**: an Orca credit model (`orca/openrouter/`), such as the free model `orca/openrouter/cohere/north-mini-code:free` on Free, or one on your own provider key (see [models and provider keys](/providers)). diff --git a/plans.mdx b/plans.mdx index 65c230d..d39aff2 100644 --- a/plans.mdx +++ b/plans.mdx @@ -3,14 +3,14 @@ title: "Plans and machine time" description: "What Free, Pro, and Max include, the Free plan's free model, the limits on each plan, how machine time is counted, and what happens at a limit." --- -Every organization is on one plan. The plan sets how much sandbox time is included each period, which models Orca credit can pay for, and the limits on requests, turns, sessions, keys and storage. Model tokens are not part of the plan: they are paid from your [Orca credit or your own provider key](/providers). +Every organization is on one plan. The plan sets how much sandbox time is included each period, the free model's daily share, and the limits on requests, turns, sessions, keys and storage. Model tokens are not part of the plan: they are paid from your [Orca credit or your own provider key](/providers). Each plan sets: - **A price.** Free costs nothing; Pro and Max are billed monthly through Polar. - **Machine time included** in each period. - **Extra machine time**, past the included time, at an hourly rate, charged to the second from your Orca credit. -- **Which models Orca credit pays for.** The [free model](#the-free-model) on every plan, at no charge. Any other model on Pro and Max; on Free, models up to the [Free price ceiling](#the-free-price-ceiling). +- **The free model's daily share.** The [free model](#the-free-model) runs on every plan at no charge, within a daily share. - **Sessions at once**, which is also how many sandboxes can run at once. - **Limits** on requests, turns, sessions, API keys and storage. See [limits per plan](#limits-per-plan). - **A minimum balance** for paid work. @@ -27,9 +27,9 @@ Free needs no card. It runs agents three ways: | --- | --- | --- | | **The free model** | Orca's free model, `orca/openrouter/cohere/north-mini-code:free` | Nobody. It runs on Orca credit at no charge, at any balance, within a daily share. | | **Your own provider key** | Any model your OpenAI, Anthropic, OpenRouter, Vercel AI Gateway or CheaperInference key can run, at any price | You, at that provider. Orca charges nothing for the tokens. | -| **Credit you add** | Orca credit models up to the [Free price ceiling](#the-free-price-ceiling) | Your Orca credit, as on any plan | +| **Credit you add** | Any Orca credit model | Your Orca credit, as on any plan | -The most expensive models, such as Claude Fable, every Claude Opus and models priced like them, run on Orca credit on Pro and Max only, even when a Free organization has credit. On Free they run on your own key. +With credit, a Free organization runs the same Orca credit models as Pro and Max. What Free limits is machine time, sessions and turns, the network and the free model's share: see [limits per plan](#limits-per-plan). On Free, the dashboard's new agent form picks the free model for you, and `orca agents create` with no model offers it first. @@ -52,14 +52,6 @@ The free model is Orca's choice: currently North Mini Code from Cohere, served t Other free models on OpenRouter, with ids ending in `:free`, run on your own OpenRouter key, not on Orca credit, on every plan. -### The Free price ceiling - -On Free, Orca credit pays for a model only when its highest input price and its highest output price per million tokens are both at or under the Free price ceiling on the [pricing page](https://orcapods.ai/pricing). Highest means over every price OpenRouter lists for the model, such as a higher price for long prompts; reasoning tokens count as output, and cache prices are not compared. A model with no fixed price, such as the router `openrouter/auto`, is above the ceiling. Most mid-priced models are within it; the most expensive class is not. - -`GET /api/models` marks each Orca credit model with `plan`, and `orca models` and the dashboard's model picker show it. See [which models Free can use](/providers#which-models-free-can-use). The ceiling is checked when a turn starts, and a model above it is refused with HTTP 403 `model_not_in_plan`. - -Your own provider keys are not limited by the ceiling. - ### Machine time on Free - **Included time needs no balance.** While the included time lasts, a sandbox starts and runs at any balance, zero included. diff --git a/providers.mdx b/providers.mdx index 1b109ea..3deb77b 100644 --- a/providers.mdx +++ b/providers.mdx @@ -64,21 +64,19 @@ On the [Free plan](/plans#the-free-plan), an organization runs: | --- | --- | --- | | Orca's free model, `orca/openrouter/cohere/north-mini-code:free` | At no charge, at any balance, within a [daily share](/plans#the-free-model) | The same | | Any model on your own provider key, `/` | Yes, at any price | Yes | -| An Orca credit model within the [Free price ceiling](/plans#the-free-price-ceiling) | On credit you add | Yes | -| An Orca credit model above the ceiling, such as Claude Fable or Claude Opus | No: Pro and Max only, even with credit | Yes | +| Any paid Orca credit model | On credit you add | Yes | | Any other free model on Orca credit (an `orca/openrouter/` id ending in `:free`, or `orca/openrouter/openrouter/free`) | No | No | -Bring your own provider key for anything the plan does not cover: a model on your own key is never limited by the ceiling, and every `:free` model on OpenRouter runs on your own OpenRouter key under its OpenRouter id, such as `openrouter/cohere/north-mini-code:free`. +Bring your own provider key to run a model without Orca credit: every `:free` model on OpenRouter runs on your own OpenRouter key under its OpenRouter id, such as `openrouter/cohere/north-mini-code:free`. `GET /api/models` gives each Orca credit model a `plan`, for your organization's plan: | `plan` | Meaning | | --- | --- | | `free` | The free model, at no charge, on every plan with a daily share. While Orca has it turned off, no model is marked `free`. | -| `within_ceiling` | Runs on Orca credit on every plan. | -| `pro_and_max` | Above the Free price ceiling: runs on Orca credit on Pro and Max only. | +| `within_ceiling` | Every other Orca credit model: runs on Orca credit on every plan. | -Free models other than Orca's are left out of the Orca credit group. `orca models` shows **free model** and **Pro and Max** beside the models they apply to, and so does the dashboard's model picker. On Free, the dashboard's new agent form picks the free model for you, and `orca agents create` with no model offers it first. +Free models other than Orca's are left out of the Orca credit group. `orca models` shows **free model** beside Orca's free model, and so does the dashboard's model picker. On Free, the dashboard's new agent form picks the free model for you, and `orca agents create` with no model offers it first. An agent or a kit can name a model your plan does not run, such as a kit made with `orca/openrouter/openai/gpt-5.6-luna`, which runs on credit. On Free with no credit, its first message is refused with the ways on: [switch that session](#switch-who-pays-for-one-session) to the free model or to a model on your own key, add a key, or add credit or upgrade. See [troubleshooting](/troubleshooting#free-plan-and-limits). diff --git a/reference/errors.mdx b/reference/errors.mdx index 116d538..cf4fc14 100644 --- a/reference/errors.mdx +++ b/reference/errors.mdx @@ -13,7 +13,7 @@ When a request fails, Orca returns an HTTP error status and a JSON body in the s | --- | --- | --- | | `400 Bad Request` | Invalid field, unsupported configuration, malformed event input or cursor; agent `instructions` or `tools` over [256 KiB](/plans#how-many-you-can-keep) | `invalid_request` | | `401 Unauthorized` | Missing, invalid, or revoked bearer key | `invalid_api_key` | -| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on Free, a model above the [Free price ceiling](/plans#the-free-price-ceiling) ("This model needs Pro or Max."), or on any plan with no free-model share, the [free model](/plans#the-free-model) ("Orca's free model is not part of this plan."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended, on a sandbox start or an upload too ("Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq") | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | +| `403 Forbidden` | Your role does not allow this ("This action requires the admin role"), or a dashboard request has no organization; on any plan with no free-model share, the [free model](/plans#the-free-model) ("Orca's free model is not part of this plan."); your organization is at its plan's [storage limit](/plans#storage), or keeps [the most it can](/plans#how-many-you-can-keep) of a kind, or its plan's count of [stored sessions or API keys](/plans#limits-per-plan); your organization is suspended, on a sandbox start or an upload too ("Work for this organization is suspended. Ask on Discord: https://discord.gg/btTYzdzvqq") | `permission_denied`, `organization_required`, `model_not_in_plan`, `storage_quota_exceeded`, `object_limit_exceeded`, `organization_suspended` | | `404 Not Found` | Missing resource (including resources outside the caller's scope) | `not_found` | | `409 Conflict` | Conflicting state or incompatible environment use; a kit copy whose name is taken, or whose kit changed since its review | `conflict`, `name_taken`, `kit_changed` | | `410 Gone` | A withdrawn kit, or a route from Orca 1.x ("This CLI is too old for Orca. Run orca update.") | `kit_withdrawn`, `cli_outdated` | diff --git a/start-here.mdx b/start-here.mdx index fb7b956..c94df14 100644 --- a/start-here.mdx +++ b/start-here.mdx @@ -419,7 +419,7 @@ orca billing wallet # your balance and plan - **Sessions without a sandbox use no machine time.** On this page, only step 4 used any. - **Sandboxes use [machine time](/plans#machine-time)** from your plan. On Pro and Max they need your plan's [minimum balance](/plans#paid-work-needs-a-minimum-balance); on Free, the included time runs at any balance, and time past it needs the minimum. Delete a sandbox session when you are done with it. -The numbers for each plan, the Free plan's free model and price ceiling, and the minimum balance are on the [pricing page](https://orcapods.ai/pricing). See [usage and wallet](/wallet#read-the-wallet-and-your-usage) for the rest. +The numbers for each plan, the Free plan's free model, and the minimum balance are on the [pricing page](https://orcapods.ai/pricing). See [usage and wallet](/wallet#read-the-wallet-and-your-usage) for the rest. Keep Scout if you like it. To remove everything this page made instead, delete Scout's sessions, then Scout, then the key. Deleting an agent does not delete its sessions. diff --git a/troubleshooting.mdx b/troubleshooting.mdx index 9328c14..e899403 100644 --- a/troubleshooting.mdx +++ b/troubleshooting.mdx @@ -73,11 +73,7 @@ Each entry is a refusal or a turn end from the [Free plan](/plans#the-free-plan) -"This model needs Pro or Max." On Free, Orca credit runs only the free model and models within the [Free price ceiling](/plans#the-free-price-ceiling), and this agent's model, or the model the session was switched to, is above it or has no fixed price. The turn did not start and nothing was charged. - -[Switch the session](/providers#switch-who-pays-for-one-session) to the free model (`orca/openrouter/cohere/north-mini-code:free`) or to a model within the ceiling (`orca models` marks the ones that need **Pro and Max**), run the model on your own provider key, or [upgrade](/plans#change-your-plan). - -"Orca's free model is not part of this plan. Switch this session to another model, or run it on your own OpenRouter key." On any plan, the session's model is the free model and your plan has no free-model share. [Switch the session](/providers#switch-who-pays-for-one-session) to another model, or run the model on your own OpenRouter key as `openrouter/`. +"Orca's free model is not part of this plan. Switch this session to another model, or run it on your own OpenRouter key." On any plan, the session's model is the free model and your plan has no free-model share. The turn did not start and nothing was charged. [Switch the session](/providers#switch-who-pays-for-one-session) to another model, or run the model on your own OpenRouter key as `openrouter/`. "On Free, this agent's model runs on credit." The agent's model is an Orca credit model other than the free model, and your balance is under the minimum. This is common after copying a kit, since kits name models that run on credit. diff --git a/wallet.mdx b/wallet.mdx index 89a7b78..11ae5f9 100644 --- a/wallet.mdx +++ b/wallet.mdx @@ -15,7 +15,7 @@ Each organization has one **wallet** of Orca credit. Your balance is everything Tokens on your own provider key (`/`) are billed by that provider. Orca charges nothing for them. -The [free model](/plans#the-free-model) costs nothing and needs no credit, on every plan. On Free, credit pays only for Orca credit models within the [Free price ceiling](/plans#the-free-price-ceiling), their web searches and the free model's, and machine time past the included time. Models above the ceiling run on Orca credit on Pro and Max only. +The [free model](/plans#the-free-model) costs nothing and needs no credit, on every plan. On Free, credit pays for Orca credit models, as on Pro and Max, their web searches and the free model's, and machine time past the included time. ## Where credit comes from @@ -23,7 +23,7 @@ The [free model](/plans#the-free-model) costs nothing and needs no credit, on ev On Free: "Need more to try Orca? Write to us on Discord (https://discord.gg/btTYzdzvqq)." Whether Orca grants credit, how much and for how long is at its discretion, under section 6 of the [Terms of Service](https://orcapods.ai/terms). -No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given pays under the same rules, including the Free price ceiling, and expires as [granted credit](#granted-credit-and-paid-credit). +No account starts with credit, and plans do not add credit. A plan's included machine time is not a second balance. Signup credit that earlier accounts were given pays under the same rules and expires as [granted credit](#granted-credit-and-paid-credit). ## Granted credit and paid credit @@ -38,7 +38,7 @@ How they are spent: - **At expiry, whatever is left of a grant is removed.** It shows in the wallet as `expired_micro_usd`. Paid credit is never touched. - **An email goes to your organization's admins 15 days before** a grant expires, once per grant, with the amount left. None is sent when nothing is left. -Granted credit pays for the same things as paid credit, on Free within the [Free price ceiling](/plans#the-free-price-ceiling). +Granted credit pays for the same things as paid credit, on every plan. Signup credit that earlier accounts received is treated as granted credit: it expires 2 months after this change went live, with the same email 15 days before, and appears in the wallet's granted credit list. @@ -106,7 +106,7 @@ The dashboard shows this as **Out of Orca credit** on the turn, with **Add credi | Route | Returns | | --- | --- | | `GET /api/billing/wallet` | Balance, total credited and charged, the minimum balance, `paid_work_paused`, your plan and period, included and used machine time, the fields below, and every field of `GET /api/public/plans` | -| `GET /api/public/plans` | Every plan fact, with no key needed: each plan's price, included machine time, extra machine time rate, sessions at once, minimum balance and storage limit (`stored_bytes`); the Free price ceiling and the [limits per plan](/plans#limits-per-plan); the free model with its share and daily capacity (`free_model`); OpenRouter's fee (`openrouter_fee_bps`); the processing fee and the packs on sale; the machine; and `idle_seconds`, how long a sandbox idles before it goes to sleep. The pricing page is built from it. | +| `GET /api/public/plans` | Every plan fact, with no key needed: each plan's price, included machine time, extra machine time rate, sessions at once, minimum balance and storage limit (`stored_bytes`); the [limits per plan](/plans#limits-per-plan); the free model with its share and daily capacity (`free_model`); OpenRouter's fee (`openrouter_fee_bps`); the processing fee and the packs on sale; the machine; and `idle_seconds`, how long a sandbox idles before it goes to sleep. The pricing page is built from it. | | `GET /api/usage` | Totals per meter for a period (30 days by default, or `start` and `end` in Unix seconds), a `series` over time (below), and totals grouped by `model`, `provider`, `credential`, `session`, or `agent` with `group_by`. With `group_by`, `group_costs` gives each key's cost across every meter; they add up to the period's `cost_micro_usd`. `session=` narrows it to one session. | | `GET /api/usage/events` | The newest usage rows, each with its cost. Filter with `meter`, or `charged=true` for only the rows that cost something; page with `limit` and `after`. A row at cost 0 whose money is on another row of the same operation has `charged_on`: `call` when its call's row carries the money (a token row), `search` when the search's row does (the search's tool call, or its call when the whole cost is on the search), `late` when the operation was [charged later](#calls-charged-later) and its `late_charges` row does (every row of that call or search, its call or search row included). Any other row has none, and its own cost is what it was charged. Each row also has `charge_for`: on a `late_charges` row, the id of the row it charges; `null` on every other row. |