A plan sets a workspace's limits, such as how many CLIs, successful generations, members, and testers it can have. Plans and prices are on the pricing page.
How plans apply to workspaces
- Your personal workspace starts on the Free plan.
- Creating another workspace needs the Pro plan. A workspace you create bills against your personal workspace's plan, so they share one set of limits.
- A workspace you were invited to uses its owner's plan.
Only owners and admins can see or change billing. Builders see the plan's name and are asked to contact an owner or admin.
See your plan and usage
Open Settings > Plan. The Plan row names the current plan. Below it, each limit shows what you have used out of what your plan allows, and Generations shows when they reset.
- Open Settings > Plan and click Compare plans.
- On the Pro card, choose Monthly or Annual.
- Click Upgrade to Pro. To go back, click Downgrade to Free and confirm.
If a payment is needed, a checkout page opens in your browser. From okibi, run okibi billing status after you finish to check the result.
- An upgrade can charge your payment method right away.
- A downgrade can be scheduled for the end of the billing period. The Plan row shows the scheduled change.
- Downgrading deletes nothing. While you are over the Free limits, new CLIs and new generations are blocked. Existing public releases stay live.
- For Enterprise, click Contact us. It isn't available from okibi.
Invoices and payment methods
In Settings > Plan, click Manage billing next to Payment, or run:
okibi billing portal --workspace acmeThe billing portal is where you update payment methods, see invoices, and change subscription details. Changing the plan and opening the portal need a login key, not a workspace-locked key.
What counts as a generation
Your plan includes a number of successful generations: Free has 5 a month, and Pro has unlimited fair-use generations. A generation counts when an agent's work succeeds. Failed and cancelled builds give theirs back.
| What you do | Generations |
|---|---|
| Build from an OpenAPI spec (a link, a file, or the example) | Free |
| Agent ready optimization after a build from a spec | 1, when its agents do any work |
| Build from docs, a repository, or a codebase | 1, which also covers that build's optimization |
The first build of a repository given a starting spec (--repo with --spec) | Free, like a build from a spec. Later builds of new code count like any repository's |
| Regenerate when the docs or code haven't changed | The spec is reused for free. Optimization counts 1 if its agents do any work |
| Write the spec again | 1 |
| A new commit on a watched branch | 1, because the agent writes the spec again from that commit |
| A change to a watched spec link | The rebuild is free. Optimization counts 1 if its agents do any work |
| A custom request | 1, unless the CLI already used a generation. A request Okibi can't make, or that asks you a question, gives it back; a cancelled one doesn't |
Accepting an improvement, or Save & build of okibi.yml | Free |
| Migrating a CLI an older generator built | Free |
| Turning Identity on or off, or registering it | Free |
| Publishing commits, the skill, the endpoint, or analytics settings | Free |
| Regenerating a CLI an older generator built | 1 |
Optimization is free when every step is already current or skipped, so no agent runs. One that stops partway without anything new gives its generation back. Once its agents have run, it counts, even if they found nothing new. Carrying your own hand edits over to new code never counts.
When a limit blocks a generation
- In the app, the CLI's page shows Plan limit reached and an Upgrade your plan link. The create form says "Your plan has no generations left."
- In okibi, the command fails with a
plan limit reachederror. - A build still ships when only its optimization is over the limit. The improvements don't run.
- A watched branch skips the rebuild and emails you. A watched spec link still rebuilds, because that rebuild is free.
To keep going, upgrade the plan or wait for generations to reset. The reset date is in Settings > Plan.
Other limits block different actions:
| Limit | What it blocks |
|---|---|
| CLIs | Creating a new CLI |
| Builders and admins, internal testers | Invites and role changes over the limit |
| Org workspaces | Creating another workspace |
| Public install links, publishing source to GitHub | Pro features, blocked on Free |
