> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oqoqo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Runs and billing

> How Oqoqo counts runs, what the free plan covers, and how to check your balance, subscribe, or top up.

Oqoqo bills in runs, from one run balance that every member of your organization shares. Checking it is step 6 of the [setup checklist](https://docs.oqoqo.ai/setup/organization.md#setup-checklist). For plans and prices, see [Pricing](https://oqoqo.ai/pricing).

## What counts as a run

A run is one agent's attempt at one task with one treatment. An experiment launches a run for every combination of its inputs:

```text theme={null}
runs = tasks × treatments × agents × trials
```

For example, 2 tasks × 2 treatments × 1 agent × 3 trials is 12 runs, because each trial repeats the same inputs ([Experiments](https://docs.oqoqo.ai/experiments/overview.md)).

| Run | Counts? |
| - | - |
| A completed run, whether it passes or fails its rubric | Yes |
| A [Test agent](https://docs.oqoqo.ai/setup/custom-agents.md#test-agent) run for a custom agent | Yes |
| An errored or cancelled run | No |

## What runs pay for

Runs pay for running your experiments on Oqoqo, including the cloud machines. Model use isn't included. Agents and Oqoqo AI features use your own keys or subscriptions, and your [model providers](https://docs.oqoqo.ai/setup/model-providers.md) bill that use directly. Oqoqo can limit use to keep capacity fair for all organizations.

## Free plan, subscriptions, and top-ups

Every organization starts on the **free plan**, which resets its runs each month and needs no credit card.

| Kind of run | How it works |
| - | - |
| **Plan runs** | Your plan grants them each billing period. Unused plan runs don't roll over, and they expire when the plan ends. |
| **Top-up runs** | You buy them at any time. They never expire, and larger top-ups cost less per run. |

Every plan includes every feature, the dashboard, the CLI, and the plugin, with unlimited free members and unlimited projects, experiments, tasks, treatments, and tools.

## Check your run balance

> [tab] Dashboard
>
> Open **Organization settings → Usage & billing**. **New experiment** also shows how many runs a launch uses.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo quota inspect
> ```
>
> To check that a launch of a given size fits, pass `--requested-runs`. To page through the history, use `oqoqo quota ledger` ([`oqoqo quota inspect`](https://docs.oqoqo.ai/cli/billing-and-notifications#oqoqo-quota-inspect)).

> [tab] Plugin (MCP)
>
> Ask your AI assistant how many runs you have. It calls **Get the run balance** ([`inspect_quota`](https://docs.oqoqo.ai/mcp-server/tools#inspect_quota)), or **List run balance history** ([`list_quota_ledger`](https://docs.oqoqo.ai/mcp-server/tools#list_quota_ledger)) for the history.

**Usage & billing** has four sections:

| Section | What it shows |
| - | - |
| **Runs** | The balance, split into plan and top-up runs, and when plan runs reset |
| **Your plan** | The current plan and its state, **Manage billing**, and **Other plans** with **Upgrade** or **Downgrade** |
| **Top up** | Run packs to buy |
| **History** | Plan allowances, purchases, and other changes to the balance |

![Usage & billing page with the runs remaining by plan, top-up, and other runs, and when plan runs reset.](https://mintcdn.com/oqoqo/YO1ysyUx4SPwBwoz/images/screenshots/billing-light.png?fit=max\&auto=format\&n=YO1ysyUx4SPwBwoz\&q=85\&s=a3c3e1bc1dee4129cf632134ce2e5741)

## Get more runs

You buy runs and change plans only in the dashboard, because Stripe handles checkout. `oqoqo quota inspect` returns the **Usage & billing** link (`billingUrl`), but the plugin's quota tools return no billing link.

1. Open **Organization settings → Usage & billing**, or start from [Pricing](https://oqoqo.ai/pricing).
2. Choose a plan under **Your plan** for more monthly runs at a lower price per run, or an amount under **Top up** for runs that never expire.
3. Complete checkout in Stripe.

To change payment details or see invoices, select **Manage billing**. For volume pricing, email [support@oqoqo.ai](mailto:support@oqoqo.ai).

## When you don't have enough runs

Oqoqo blocks a launch that needs more runs than you have. Top up, or use fewer tasks, agents, treatments, or trials, then launch again. A [schedule](https://docs.oqoqo.ai/experiments/schedules.md) that's short of runs sends a notice, and Oqoqo pauses it if runs are still short when a launch is due.

## From the CLI and the plugin

| Task | CLI | Plugin (MCP) |
| - | - | - |
| Read the run balance and launch readiness | [`oqoqo quota inspect`](https://docs.oqoqo.ai/cli/billing-and-notifications#oqoqo-quota-inspect) | [`inspect_quota`](https://docs.oqoqo.ai/mcp-server/tools#inspect_quota) |
| Page the balance history | [`oqoqo quota ledger`](https://docs.oqoqo.ai/cli/billing-and-notifications#oqoqo-quota-ledger) | [`list_quota_ledger`](https://docs.oqoqo.ai/mcp-server/tools#list_quota_ledger) |
| Buy runs or change plan | Dashboard only. `oqoqo quota inspect` prints the **Usage & billing** link. | Dashboard only. The plugin returns no billing link. |

## Next steps

> [card] [Profile and API keys](https://docs.oqoqo.ai/setup/profile.md)
>
> Step 7: connect your subscriptions and create API keys.

> [card] [Launch an experiment](https://docs.oqoqo.ai/experiments/launch.md)
>
> See how tasks, agents, and trials add up to the run total.

> [card] [Notifications](https://docs.oqoqo.ai/setup/notifications.md)
>
> Step 8: get a notice when your run balance changes.

> [card] [FAQ](https://docs.oqoqo.ai/reference/faq.md)
>
> Read answers to common billing questions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.