Skip to main content

Solana WebSocket Billing

Updated on
May 01, 2026

Solana WebSocket Billing

As of May 1, 2026, Solana WebSocket billing has transitioned from per-message billing to metered data billing based on the uncompressed size of data delivered. This change provides more fair and transparent pricing that better reflects actual infrastructure costs and aligns with industry standards.

What Changed

AspectBefore (Per-Message Billing)After (Metered Data Billing)
Billing ModelFlat rate per messageBased on uncompressed data size
Rate20 API credits per message0.1 MB = 15 API credits
Message Size ImpactNo impact - all messages cost the sameDirectly affects cost - smaller messages cost less
Subscription Responses20 credits per responseMetered by data size (0.1 MB = 15 credits)
Unsubscribe RequestsFlat API credit costFlat API credit cost (unchanged)
Example: slotSubscribe (~100 bytes)20 credits per notification~0.015 credits per notification (99.93% reduction)

Timeline

DateWhat Changed
May 1, 2026All Solana WebSocket methods transitioned to metered billing (0.1 MB = 15 API credits) except blockSubscribe, which remains on flat-rate billing temporarily.
June 1, 2026blockSubscribe transitions to metered billing (0.1 MB = 15 API credits). All WebSocket methods now use metered billing.

Why This Change?

WebSocket message sizes vary significantly across different subscription methods. For example:

  • Small messages: slotSubscribe, signatureSubscribe, voteSubscribe typically return only a few hundred bytes per notification
  • Large messages: blockSubscribe returns full Solana blocks averaging ~4 MB each

Under the previous flat-rate billing, users of small-message methods were effectively subsidizing the infrastructure costs of large-message methods. Metered billing ensures you only pay for the data you actually receive.

Impact on Your Usage

Lower Costs for Most Users

Most users will see lower API credit usage under the new rate of 0.1 MB = 15 API credits. Methods that return small amounts of data per notification will cost less than the previous flat rate of 20 credits per message:


  • accountSubscribe
  • logsSubscribe
  • programSubscribe
  • rootSubscribe
  • signatureSubscribe
  • slotSubscribe
  • slotsUpdatesSubscribe
  • transactionSubscribe
  • voteSubscribe

These methods typically return small amounts of data per notification, resulting in much lower costs under metered billing compared to the previous flat rate of 20 credits per message.

Example: A slotSubscribe notification is typically ~100 bytes. Under metered billing, this costs approximately 0.015 API credits (compared to 20 credits previously), resulting in a 99.93% cost reduction.

blockSubscribe Considerations

blockSubscribe returns complete Solana blocks, which average around 4 MB per notification. Due to the large data size:

  • May 1 - May 31, 2026: blockSubscribe remains on the previous flat billing model
  • June 1, 2026: blockSubscribe transitions to metered billing

If you're a heavy user of blockSubscribe, consider these alternatives that may be more cost-effective for your use case:

Affected Methods

The following WebSocket subscription methods are now billed based on metered data:

MethodTypical Data SizeEffective Date
accountSubscribeSmall (~100-500 bytes)May 1, 2026
logsSubscribeSmall-Medium (~500-2000 bytes)May 1, 2026
programSubscribeSmall-Medium (~100-1000 bytes)May 1, 2026
rootSubscribeSmall (~100 bytes)May 1, 2026
signatureSubscribeSmall (~200 bytes)May 1, 2026
slotSubscribeSmall (~100 bytes)May 1, 2026
slotsUpdatesSubscribeSmall (~200-400 bytes)May 1, 2026
transactionSubscribeMedium-Large (~1-10 KB)May 1, 2026
voteSubscribeSmall (~300 bytes)May 1, 2026
blockSubscribeLarge (~4 MB)June 1, 2026

Understanding Your Usage

You can monitor your WebSocket usage in your Quicknode dashboard:

  1. Navigate to your endpoint page
  2. Click the Metrics tab
  3. View the following charts:
    • API Credits - Track total API credits consumed over time
    • Metered endpoint data - Monitor data volume for metered methods
    • Metered endpoint credits - Track credits consumed by metered WebSocket methods

Questions?

If you have any questions about WebSocket billing or need help optimizing your usage, please contact our support team.

Share this doc