How Are Webhooks Priced?
Webhooks and WebSockets on Alchemy are priced based on the amount of data (bandwidth) delivered as part of each subscription. This means that pricing is determined by the size of the data transmitted during each event.
Pricing Breakdown
Per Byte Pricing: Each byte of data transmitted in a Webhook or WebSocket subscription is priced at 0.04 Compute Units (CUs).
Typical Event Consumption: A typical event in a webhook or WebSocket subscription involves roughly 1,000 bytes of data, which equates to around 40 Compute Units consumed per event.
Variability in Data Usage: The amount of data transmitted (and the corresponding CUs consumed) can vary depending on the type and complexity of the event. Larger events with more data will consume more Compute Units.
Improve Efficiency with Retries
To ensure an optimal user experience, you can implement retries in your Webhooks and WebSockets subscriptions. This can help manage occasional network issues, even if youโre not hitting rate limits. Learn more about retry strategies in our documentation here
๐ For more detailed information about Webhooks and WebSockets pricing, you can read the full breakdown in our documentation here