---
header: Fanout
lang: en
last_updated: '2026-03-31'
url: https://docs.fastly.com/products/fanout
---

[Fastly Fanout](https://www.fastly.com/documentation/guides/concepts/real-time-messaging/fanout/) is a publish-subscribe message broker operating at the Fastly edge. It provides customers with the ability to push messages via direct connections that remain open indefinitely rather than requiring clients to poll for data using short-lived HTTPS requests.

## Prerequisites

To use Fanout you must purchase a [paid account](https://www.fastly.com/documentation/guides/account-info/billing/account-types#paid-accounts) with a contract for Fastly's services. Once purchased, it can be [enabled via API](https://www.fastly.com/documentation/reference/api/products/fanout/).

## Limitations and considerations

Keep in mind the following limitations and considerations:

- Fanout is only available for Compute services, not Delivery services. Consider using service chaining as an alternative for Delivery services.
- [Service chaining](https://www.fastly.com/documentation/guides/concepts/service-chaining/) can be used with Fanout. During configuration, the service that initially handles requests from an end user (the first service) must be a Compute service and also must be the Compute service that hands off the request to Fanout.
- Fanout is not compatible with [backend Directors](https://www.fastly.com/documentation/guides/concepts/load-balancing/#directors), [shielding](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding), or the [Fastly Next-Gen WAF](https://docs.fastly.com/products/fastly-next-gen-waf).
- Only the **Name**, **Address**, **Enable TLS**, and **Override Host** origin server settings are supported.
- Self-signed TLS certificates are not supported. TLS certificates must be signed by a public certification authority.

## Billing

> **NOTE:** Billing limits for this product may be different depending on your [account type](https://www.fastly.com/documentation/guides/account-info/billing/account-types/), if you've purchased a [packaged offering](https://www.fastly.com/package-entitlements/), or are using a [product or feature trial](https://www.fastly.com/documentation/guides/account-info/billing/about-the-products-page).

Users assigned the superuser role can purchase Fanout by enabling it on the [Products page](https://manage.fastly.com/products). Once enabled, any user on your account with the [appropriate permissions](https://www.fastly.com/documentation/guides/account-info/user-access-and-control/configuring-user-roles-and-permissions) will be able to use this product.

> **IMPORTANT:** Compute is a prerequisite for Fanout, and separate Compute charges may apply once Fanout is enabled. For more information on how Compute is billed, refer to the [Compute product documentation](https://docs.fastly.com/products/compute#billing).

We bill for Fanout based on a combination of bandwidth, connection time, and number of messages. Bandwidth is included as part of your overall delivery bandwidth rate in your monthly billing statement. Connection time is measured for each connection in usage minutes (rounded up to whole minutes) and aggregated monthly to millions of minutes. Number of messages is the sum of the total published messages received from the publish API and the total published messages sent to end users.

For more details about a product, including [pricing information](https://www.fastly.com/pricing) or for help purchasing it, contact your account manager or email [sales@fastly.com](mailto:sales@fastly.com).
