From d76202cfc32f04e54d3ddf9b541f94252ceade14 Mon Sep 17 00:00:00 2001 From: ahokik Date: Tue, 20 Oct 2026 09:20:36 +0100 Subject: [PATCH] Free credit expires, bought credit never does (D3.15 copy, do not merge before the server ships) wallet: a new "When free credit expires" section (the date, spend order, the reminder, a session running at the moment, the API fields), the signup credit and Orca's grants named as free credit, and the API table. wallet-and-usage: Free credit and Paid credit in place of Credited. The pages that offer free credit link to the new section. check_docs refuses a typed validity, since the pricing page holds the number (D3e). Co-Authored-By: Claude Opus 5.5 --- cli/commands.mdx | 2 +- dashboard/overview.mdx | 2 +- dashboard/wallet-and-usage.mdx | 5 +++-- introduction.mdx | 2 +- kits/cram-coach.mdx | 2 +- kits/margin-check.mdx | 2 +- kits/scout.mdx | 2 +- kits/seo-helper.mdx | 2 +- plans.mdx | 2 +- scripts/check_docs.py | 1 + start-here.mdx | 2 +- wallet.mdx | 20 ++++++++++++++++---- 12 files changed, 29 insertions(+), 15 deletions(-) diff --git a/cli/commands.mdx b/cli/commands.mdx index 5cb2179..8a42cf3 100644 --- a/cli/commands.mdx +++ b/cli/commands.mdx @@ -142,7 +142,7 @@ orca keys revoke [--yes] orca usage [--days n] [--group-by model|provider|credential|session|agent] [--session id] [--meter m] orca usage events [--meter m] [--charged] # --charged: only the rows that cost something -orca billing wallet # balance, plan, period, and packs on sale +orca billing wallet # balance, free and paid credit, plan, period, packs orca billing buy pro|max|pack: [--no-open] orca billing manage [--no-open] # the billing portal ``` diff --git a/dashboard/overview.mdx b/dashboard/overview.mdx index 43945f5..67a3693 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 with a [signup credit](/wallet#where-credit-comes-from) of free Orca credit. 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 27719d5..3fc11aa 100644 --- a/dashboard/wallet-and-usage.mdx +++ b/dashboard/wallet-and-usage.mdx @@ -5,12 +5,13 @@ 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 five figures: | Figure | Meaning | | --- | --- | | **Balance** | Everything credited minus everything charged. It says "Paid work paused" when the balance is under your plan's minimum. | -| **Credited** | Purchases, grants, and signup credit | +| **Free credit** | The signup credit and credit Orca granted that is left, with the date the first of it expires. See [when free credit expires](/wallet#when-free-credit-expires). When it expires on more than one date, a **Free credit** list shows each. | +| **Paid credit** | The rest of your balance. It never expires. | | **Charged** | Platform usage, all time | | **Machine time** | Time used this period, out of what your plan includes | diff --git a/introduction.mdx b/introduction.mdx index 2d6bc61..28a7a07 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 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 with a [signup credit](/wallet#where-credit-comes-from) of free Orca credit, which [expires](/wallet#when-free-credit-expires). - **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)). diff --git a/kits/cram-coach.mdx b/kits/cram-coach.mdx index 24254b7..3df0221 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 with [free credit](/wallet#when-free-credit-expires) and no card, and every step on this page runs on it. ## What it can read diff --git a/kits/margin-check.mdx b/kits/margin-check.mdx index 48c8e9c..d46d6af 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 with [free credit](/wallet#when-free-credit-expires) and no card, and every step on this page runs on it. ## What it knows diff --git a/kits/scout.mdx b/kits/scout.mdx index 1d1fc7d..21f69f0 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 with [free credit](/wallet#when-free-credit-expires) and no card, and every step on this page runs on it. ## What you'll do diff --git a/kits/seo-helper.mdx b/kits/seo-helper.mdx index 133ecab..4040635 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 with [free credit](/wallet#when-free-credit-expires) and no card, and every step on this page runs on it, apart from DataForSEO's own charges. ## What you need diff --git a/plans.mdx b/plans.mdx index 2909052..16f327b 100644 --- a/plans.mdx +++ b/plans.mdx @@ -13,7 +13,7 @@ Each plan sets: - **Sessions at once.** - **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. Every new account starts with a [signup credit](/wallet#where-credit-comes-from), free credit that [expires](/wallet#when-free-credit-expires). Credit is bought separately; see [wallet and credit](/wallet). ## Change your plan diff --git a/scripts/check_docs.py b/scripts/check_docs.py index fb2cbae..945ef06 100644 --- a/scripts/check_docs.py +++ b/scripts/check_docs.py @@ -25,6 +25,7 @@ r"|\$\d[\d,.]* (?:of (?:Orca )?credit|minimum|pack)|(?:below|under|at least) \**\$\d" r"|\d+(?:\.\d+)?% of the price|(?:paused after|used for) \d+ minutes" r"|\d[\d,]* hours of machine time|runs \d+ sessions? at once" + r"|(?:valid for|expires? after|lasts?) \d+ (?:months?|days?)" ) diff --git a/start-here.mdx b/start-here.mdx index 0188ecc..7bb0b70 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 with [free credit](/wallet#when-free-credit-expires) and no card, and every step on this page runs on it. ## Why Orca diff --git a/wallet.mdx b/wallet.mdx index f6a6309..f967398 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. Free credit (the signup credit and credit Orca grants) expires a set time after it is given: the [pricing page](https://orcapods.ai/pricing) says how long, and the Wallet shows the date. See [when free credit expires](#when-free-credit-expires). ## What credit pays for @@ -17,11 +17,23 @@ Tokens on your own provider key (`/`) are billed by that provider. ## 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. +- **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. It is free credit, so it expires; see [when free credit expires](#when-free-credit-expires). +- **Credit from Orca.** Credit Orca grants your organization, such as porting help. It is free credit too, and the email that tells you about it gives its expiry date. - **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. +## When free credit expires + +Free credit is usable through the end of the day (UTC) a set number of calendar months after it is given; the [pricing page](https://orcapods.ai/pricing) says how many. When that day does not exist in the month, it is the month's last day: free credit given on 31 December lasts through the end of February. Credit you buy never expires, and neither do balances carried over from Orca 1.x. + +- **Free credit is spent first.** Every charge takes free credit before credit you bought, the free credit expiring soonest first. Your paid credit is never spent while free credit sits unused. +- **At the date,** whatever is left of that free credit leaves your balance, as one entry. Nothing already spent is taken back. +- **A reminder** goes to your organization's admins a week before, when at least a dollar of it is left. +- **A session running at that moment** keeps going. A charge written after the date is paid from your paid credit; if you have none, the balance can end a little below zero, and paid work pauses as in [when credit runs low](#when-credit-runs-low) until you add credit. + +The dashboard's **Wallet** shows **Free credit** with its expiry date and **Paid credit** beside your balance; `orca billing wallet` prints the same. In the API, `GET /api/billing/wallet` returns `free_credit_micro_usd`, `paid_credit_micro_usd`, `free_credit` (each live grant with `left_micro_usd` and `expires_at`, soonest first) and `expired_micro_usd`. + ## Buy credit You need the admin role. @@ -65,8 +77,8 @@ 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 and minimum balance; 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 is paused. The pricing page is built from it. | +| `GET /api/billing/wallet` | Balance, total credited and charged, free and paid credit with each free grant's expiry, what has expired, 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 and minimum balance; the signup credit; how many months free credit lasts (`granted_credit_months`, `null` when it never expires); 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 is paused. 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). Any other row has none, and its own cost is what it was charged. |