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

# Managing Costs

> Practical strategies for controlling spend on Wherobots, especially during initial testing and evaluation.

Use this guide to understand what drives your Wherobots bill and how to keep costs low — particularly when you're getting started, testing queries, or evaluating the platform.

## How Wherobots billing works

Wherobots charges based on **Spatial Units (SUs) consumed over time**.

The main factors in Spatial Unit consumption are:

1. **Runtime size** — Larger runtimes consume more Spatial Units per hour.
2. **Runtime duration** — The longer a runtime stays active, the more you pay.
3. **Runtime region** — Some regions have different Spatial Unit rates.

Billing starts when a runtime is fully provisioned (shown as **Status: Running** with a green dot 🟢 icon in the UI) and stops when the runtime is destroyed.

Charges are prorated to a fraction of a second.

> [!TIP]
>
> **Key takeaway**
>
> **Smaller runtime + shorter session = lower bill.** You have direct control over both.
>
> Choose your runtime size intentionally and always destroy Notebook Runtimes when you're done.

For more details on Spatial Units and how runtimes are priced, see [How is runtime usage measured?](https://docs.wherobots.com/develop/runtimes.md#how-is-runtime-usage-measured).

> [!NOTE]
>
> If you use the [Wherobots VS Code Extension](https://docs.wherobots.com/develop/agentic-tools.md) with GitHub Copilot, AI-assisted features like notebook generation and MCP server queries may count toward your GitHub Copilot usage. Check your [GitHub Copilot subscription](https://github.com/features/copilot) for any usage limits or metering that may apply.

## Cost management strategies

The following strategies will help you manage costs, especially during the early stages of exploration and development.

### Start with a Tiny or Micro runtime

When you're exploring Wherobots for the first time — writing queries, testing workflows, or confirming that your logic is correct — use the smallest runtime available:

| Runtime | Max Spatial Units / hr | Best for |
| :- | :-: | :- |
| **Micro** | 1 | Lightweight exploration, simple queries |
| **Tiny** | 5 | Initial development, testing, query validation |

These runtimes are sufficient for developing and validating queries against sample data or smaller datasets. **Only scale up** to a larger runtime (Small, Medium, etc.) once you've confirmed that your query logic is correct and you need faster execution on larger datasets.

> [!NOTE]
>
> Every Organization Edition has access to the full range of runtime sizes, except during a Professional Edition trial without a payment method. In that case, you can use Tiny, Micro, and Small General Purpose runtimes, with a 100-CPU quota. Adding a payment method unlocks the full range and raises the quota to 500 CPUs. See [Add a Payment Method](https://docs.wherobots.com/get-started/add-payment-method.md#how-the-free-trial-works).

### Destroy Notebook Runtimes when you're done

**A running Notebook Runtime consumes Spatial Units even if you're not actively using it.** This is the most common source of unexpected charges.

To avoid surprises, always destroy Notebook Runtimes when you're done with them:

1. Go to the [**Code**](https://cloud.wherobots.com/code) page in Wherobots Cloud.
2. In the **Notebook Runtimes** list, click **Destroy** (the trash icon) next to any Notebook Runtime you no longer need.

> [!WARNING]
>
> **Idle Notebook Runtimes still cost money**
>
> While Wherobots has an idle timeout (defaulting to 45 minutes), you are still charged for minimum resources while the Notebook Runtime is idle. **Always destroy Notebook Runtimes you're not using** to fully stop billing.

### Use idle timeout as a safety net, not a strategy

Wherobots lets you configure an idle timeout (15, 45, or 120 minutes) that reduces resource consumption when a Notebook Runtime sits unused. However:

* Idle timeout **does not destroy** the Notebook Runtime — it reduces but does not eliminate charges.
* Treat idle timeout as a **safety net** for those times when you forget to clean up, not as your primary cost-control measure.

### Monitor your usage

Use the [**Usage History**](https://cloud.wherobots.com/usage-history) page to see the Spatial Units each Notebook Runtime, Job Run, and SQL Session consumed, find usage spikes and long-running sessions, and review each Job Run's resource consumption. For the filters, columns, and Job Run details, see [Usage History](https://docs.wherobots.com/develop/workload-history.md).

### Scale up only when needed

Follow this progression as you move from testing to production:

```
Micro / Tiny → Small → Medium → Large → X-Large
```

| Phase | Recommended runtime | Why |
| :- | :-: | :- |
| Exploring the platform | Micro or Tiny | Lowest cost while you learn |
| Developing & testing queries | Tiny | Enough power for iterative development |
| Running on full datasets | Small or Medium | Balance of cost and performance |
| Production workloads | Size to your needs | Match runtime size to your SLA and data volume |

> [!TIP]
>
> If a Tiny runtime isn't delivering results fast enough, move up **one size at a time** rather than jumping to a large runtime.

## Quick-reference checklist

Use this checklist to keep costs under control:

* [x] **Start small** — Use Micro or Tiny runtimes during initial testing.
* [x] **Validate first** — Confirm your query logic on a small runtime before scaling up.
* [x] **Destroy when done** — Destroy Notebook Runtimes as soon as you're finished.
* [x] **Review usage** — Check the [Usage History](https://cloud.wherobots.com/usage-history) page regularly.
* [x] **Scale intentionally** — Only increase runtime size when you have a clear performance need.

**Don't forget to clean up**: Leaving a runtime idle **will incur costs** — even if you stop working after 15 minutes.

To avoid unexpected charges, always destroy Notebook Runtimes when you're done.

## Related resources

* [Runtimes](https://docs.wherobots.com/develop/runtimes.md) — Frequently asked questions about runtime sizes, Spatial Unit rates, and specifications.
* [View Your Bill](https://docs.wherobots.com/get-started/organization-management/view-your-bill.md) — How to access billing statements.
* [Monitor Workload Usage](https://docs.wherobots.com/develop/workload-history.md) — Track resource consumption.
* [Wherobots Pricing](https://wherobots.com/pricing) — Full plan comparison.


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