# okibi billing

> Inspect plans, manage a subscription, or open the billing portal

Generated from okibi 0.2.4. Every command also accepts `--agent`; see [Agent and CI mode](https://okibi.ai/docs/cli/agent-mode.md).

## okibi billing

Inspect plans, manage a subscription, or open the billing portal

```sh
okibi billing [flags]
okibi billing [command]
```

Flags:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--api-url` | string | https://okibi.ai | Okibi API base URL |
| `--json` | bool |  | emit JSON |
| `--no-browser` | bool |  | print approval URLs without opening a browser |
| `--workspace` | string |  | workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace) |

## okibi billing change

Change the workspace's plan using the dashboard's billing flow. The self-service plans are Free and Pro (`production` is accepted as a legacy alias). Upgrades can charge immediately; downgrades may be scheduled. Enterprise requires contacting sales. Requires --yes. If approval is needed, a checkout URL is returned; check billing status after completing it.

```sh
okibi billing change <free|pro> [flags]
```

Flags:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--interval` | string | annual | billing interval: monthly or annual |
| `--yes` | bool |  | confirm the plan change and any resulting charge |

Inherited flags:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--api-url` | string | https://okibi.ai | Okibi API base URL |
| `--json` | bool |  | emit JSON |
| `--no-browser` | bool |  | print approval URLs without opening a browser |
| `--workspace` | string |  | workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace) |

## okibi billing plans

List the dashboard's available plans and prices

```sh
okibi billing plans [flags]
```

Inherited flags:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--api-url` | string | https://okibi.ai | Okibi API base URL |
| `--json` | bool |  | emit JSON |
| `--no-browser` | bool |  | print approval URLs without opening a browser |
| `--workspace` | string |  | workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace) |

## okibi billing portal

Open billing to manage invoices, payment methods, and subscription details

```sh
okibi billing portal [flags]
```

Inherited flags:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--api-url` | string | https://okibi.ai | Okibi API base URL |
| `--json` | bool |  | emit JSON |
| `--no-browser` | bool |  | print approval URLs without opening a browser |
| `--workspace` | string |  | workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace) |

## okibi billing status

Show the current plan, scheduled change, subscriptions, and balances

```sh
okibi billing status [flags]
```

Inherited flags:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--api-url` | string | https://okibi.ai | Okibi API base URL |
| `--json` | bool |  | emit JSON |
| `--no-browser` | bool |  | print approval URLs without opening a browser |
| `--workspace` | string |  | workspace slug (or OKIBI_WORKSPACE; default: this machine's default workspace) |
