| title | Compute Units |
|---|---|
| sidebarTitle | Compute Units |
| description | Understand how Sim bills API usage using Compute Units (CUs) and how they're calculated per endpoint. |
import { DefaultChainCount } from "/snippets/default-chain-count.mdx";
Every API call costs Compute Units (CUs). Simple queries cost 1 CU. Multi-chain queries multiply by the number of chains. For example, fetching balances for 1 wallet on 3 chains = 3 CUs.
If you omit the `chain_ids` parameter, the request uses the `default` chain set, which currently includes {}+ chains and may grow as Sim adds networks. Always pass explicit `chain_ids` to keep costs predictable.| Endpoint | Type | Compute Units | Default Chains (no chain_ids) |
|---|---|---|---|
| Balances (EVM & SVM) | Chain-dependent | N compute units, where N is the number of chains processed in the chain_ids query parameter after tag expansion |
{} |
| Balances (single token sub-path) | Fixed | 1 compute unit per request. Accepts exactly one chain_ids value (single chain only) |
- |
| Collectibles | Chain-dependent | N compute units, where N is the number of chains processed in the chain_ids query parameter after tag expansion |
{} |
| DeFi Positions | Chain-dependent | 10N compute units, where N is the number of chains processed in the chain_ids query parameter after tag expansion |
6 |
| Activity | Fixed | 3 compute units per request | — |
| Transactions (EVM & SVM) | Fixed | 1 compute unit per request | — |
| Token Info | Fixed | 2 compute units per request, even though chain_ids is required |
— |
| Token Holders | Fixed | 2 compute units per request | — |
| Subscriptions | Event-based | 2 compute units per event sent to your webhook. Note that a single webhook payload can contain multiple events. | All supported EVM chains (varies by subscription type) when chain_ids is omitted |
For chain-dependent endpoints, CU equals the number of distinct chains the request processes. If you pass tags (like default, mainnet, or testnet) via chain_ids, we expand them to specific chains before computing CU. If you omit chain_ids in the Collectibles or Balances endpoints, the endpoint uses its default chain set. CU equals the size of that set at request time, currently {} for Balances and {} for Collectibles, and may change as Sim adds more chains.
For fixed endpoints, each request consumes exactly specified number of compute units regardless of how many chains you query or what parameters you provide.
Chain count is computed after we expand any tags you pass. To keep CU predictable over time, specify explicit chain_ids (EVM). If you use tags like default or mainnet, we expand them to specific chains at request time. Tags can grow as we add more networks. Pin chains explicitly to keep CU stable. See Supported Chains.
<Card title="Balances: mainnet tag">
Passing `?chain_ids=mainnet` expands to all supported mainnet chains for the endpoint. CU equals the expanded chain count.
<Card title="Activity: fixed cost">
Activity uses a fixed-cost model. Each request consumes the same CU regardless of chains queried.