Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

Update documentation for new usage tracking and cloud features

Dane Schneider0730b2618019
diff --git a/docs/docs/cli-reference.md b/docs/docs/cli-reference.md
index 63ca6b98..855c3d98 100644
--- a/docs/docs/cli-reference.md
+++ b/docs/docs/cli-reference.md
@@ -827,18 +827,38 @@ Show the billing settings page.
plandex billing
```
-### credits
+### usage
-Show your current credits balance.
+Show Plandex Cloud current balance and usage report. Includes recent spend, amount saved by input caching, a breakdown of spend by plan, category, and model, and a log of individual transactions with the `--log` flag.
-```bash
-plandex credits
-```
-
-### usage
+Defaults to showing usage for the current session if you're using the REPL. Otherwise, defaults to showing usage for the day so far.
-Show the credits usage log, including all model calls and responses.
+Requires **Integrated Models** mode.
```bash
plandex usage
```
+
+`--today`: Show usage for the day so far.
+
+`--month`: Show usage for the current billing month.
+
+`--plan`: Show usage for the current plan.
+
+`--log`: Show a log of individual transactions. Defaults to showing the log for the current session if you're using the REPL. Otherwise, defaults to showing the log for the day so far. Works with `--today`, `--month`, and `--plan` flags.
+
+Flags for `usage --log`:
+
+`--debits`: Show only debits in the log.
+
+`--purchases`: Show only purchases in the log.
+
+`--page-size/-s`: Number of transactions to display per page.
+
+`--page/-p`: Page number to display.
+
+
+
+
+
+
diff --git a/docs/docs/hosting/cloud.md b/docs/docs/hosting/cloud.md
index 303c1d3a..88296ad7 100644
--- a/docs/docs/hosting/cloud.md
+++ b/docs/docs/hosting/cloud.md
@@ -43,9 +43,36 @@ Here you can switch billing modes, view your current plan, manage your billing d
If you're using **Integrated Models Mode**, you can use the billing settings page to view your credits balance, purchase credits, and configure auto-recharge settings to automatically add credits to your account when your balance gets too low. You can also set a monthly budget and an email notification threshold.
-You can also see your credits balance in the terminal with `plandex credits`.
+### `usage` command
-You can see a full history of your usage that includes every model call and response with `plandex usage`.
+You can see your current balance and a report on recent usage with `plandex usage` (`\usage` in the REPL):
+
+```bash
+plandex usage
+```
+
+You can see a log of individual transactions that includes every model call with `plandex usage --log`:
+
+```bash
+plandex usage --log
+```
+
+In the Plandex REPL, `usage` defaults to showing usage for the current REPL session. Otherwise, it defaults to showing usage for the day so far.
+
+You can use the `--today` flag to show usage for the day so far. You can use the `--month` flag to show usage for the current billing month. You can use the `--plan` flag to show usage for the current plan.
+
+```bash
+plandex usage --today # show usage for the day so far
+plandex usage --month # show usage for the current billing month
+plandex usage --plan # show usage for the current plan
+```
+
+You can use the `--debits` flag to show only debits in the log. You can use the `--purchases` flag to show only purchases in the log.
+
+```bash
+plandex usage --log --debits --month # show only debits for the current billing month
+plandex usage --log --purchases --today # show only purchases for the day so far
+```
## Privacy / Data Retention
diff --git a/docs/docs/quick-start.md b/docs/docs/quick-start.md
index 01390109..fbe3b31a 100644
--- a/docs/docs/quick-start.md
+++ b/docs/docs/quick-start.md
@@ -19,7 +19,7 @@ Note that Windows is supported via [WSL](https://learn.microsoft.com/en-us/windo
| Option | Description |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| **Plandex Cloud (Integrated Models)** | • No separate accounts or API keys.<br/>• Easy multi-device usage.<br/>• Centralized billing and budgeting.<br/>• Quickest way to [get started.](https://app.plandex.ai/start?modelsMode=integrated) |
+| **Plandex Cloud (Integrated Models)** | • No separate accounts or API keys.<br/>• Easy multi-device usage.<br/>• Centralized billing, budgeting, usage tracking, and cost reporting.<br/>• Quickest way to [get started.](https://app.plandex.ai/start?modelsMode=integrated) |
| **Plandex Cloud (BYO API Key)** | • Use Plandex Cloud with your own [OpenRouter.ai](https://openrouter.ai) and [OpenAI](https://platform.openai.com) keys.<br/> |
| **Self-hosted/Local Mode** | • Run Plandex locally with Docker or host on your own server.<br/>• Use your own [OpenRouter.ai](https://openrouter.ai) and [OpenAI](https://platform.openai.com) keys.<br/>• Follow the [local-mode quickstart](./hosting/self-hosting/local-mode-quickstart.md) to get started. |