Skip to content

Usage and limits

Estimate Substreams costs before a backfill or live consumer, and keep streams within your organization's limits.

Budget Substreams work before a large backfill or a new live consumer. Streams draw credits from your organization's balance at the rates below, and limits on new streams, open streams, and parallel workers are shared across your organization.

Current credit rates

Estimate stream costs from these billable components, then track actual consumption in Platform Usage. For GraphOps-hosted sinks, contact support about enterprise pricing.

Current rates as of Dec 4, 2026, 1:31 AM UTC.

Usage componentApplies toRate
Processed blocksDefault4,000 credits per 1,000 processed blocks
Egress bytesDefault375,000 credits per GiB

Organization limits

These limits apply to your whole organization, counted across all of its API keys, and they do not change with your plan size. Every organization starts with the defaults below. GraphOps support(opens in a new tab) can raise a limit for your organization when your workload needs more.

LimitDefaultOver the limit
Stream opens60 new streams per minutegRPC RESOURCE_EXHAUSTED with request_rate_limited. Not billed.
Concurrent streams10 open streamsA new stream is refused with gRPC RESOURCE_EXHAUSTED and stream_limit_exceeded.
Workers10 parallel workers across all streamsBackfill work waits for a free worker. The stream is not refused.
Workers per stream8 parallel workers for one streamThe stream uses at most this many workers.

Stream opens

The stream open limit counts new streams your organization starts per minute. A stream over the limit is refused with gRPC RESOURCE_EXHAUSTED, and the status message carries the GraphOps error body with the code request_rate_limited and retryAfterSeconds, the seconds to wait before opening it again. A refused stream is not billed. Messages on streams that are already open are not counted.

Concurrent streams

The concurrent stream limit caps how many streams your organization has open at once. A new stream over the limit is refused with gRPC RESOURCE_EXHAUSTED and the code stream_limit_exceeded. Close a stream to free its slot.

If GraphOps support lowers your organization's limit, streams above the new limit end within about 80 seconds with the same code. See Why an open stream ended.

Workers

Backfills run in parallel workers. Two limits apply:

  • Workers caps the parallel workers across all of your organization's streams. When every worker is busy, backfill work waits for a free one, so streams slow down instead of being refused.
  • Workers per stream caps the workers one stream uses. Send the X-Substreams-Parallel-Workers header to use fewer workers for a stream. A value above the limit does not raise it.

Control your usage

  • Bound concurrency. Cap consumer processes and reconnect loops so a restart does not open extra streams, or open streams faster than the stream open limit allows.
  • Retry with backoff. After request_rate_limited, wait for retryAfterSeconds before opening the stream again. Retry other transient failures with exponential backoff and jitter, then resume from the latest committed cursor. If a stream fails repeatedly at the same block, check the package output, module parameters, and message size.
  • Narrow the output. Choose an output module that emits only the data you store. Output volume adds to the bytes your consumer receives and processes.
  • Split large backfills. Run bounded ranges you can retry independently, and save progress after each one. Use fewer workers per stream when several backfills share your organization's workers.
  • Monitor the work. Track blocks processed, bytes out, bytes read, bytes written, stream lag, retries, and errors.

See Platform: Usage and limits for billing-window timing.

Next steps

Last updated