Azure Web PubSub 定价

使用 Websocket 和发布-订阅模式轻松生成实时消息传送 Web 应用程序

Azure Web PubSub service is a fully-managed service that allows developers to focus on building real-time web experiences without worrying about capacity provisioning, reliable connections, scaling, encryption or authentication. The service makes it easier to deliver experiences such as chat, live broadcasting, and IoT dashboards.



Web PubSub service is currently available in Free and Standard tiers. These tiers are differentiated by the number of concurrent connections, messages and maximum units allowed.

The following table summarizes the difference between the two tiers:

Free Standard
Concurrent Connections per Unit 20 1,000
Messages / Unit / Day 20,000 unlimited (free for the first 1,000,000 messages)
Price / Unit / Day Free $-
Max Units 1 100

Additional Messages:

Additional messages may be purchased for the Standard tier.

Messages $- per million messages
*1 million messages is equivalent to 2GB outbound traffic

Azure 定价和购买选项


获取 Azure 定价演练。了解你的云解决方案的定价、学习成本优化并请求自定义建议。



通过 Azure 网站、Microsoft 代表或 Azure 合作伙伴购买 Azure 服务。



Azure Web PubSub 详细信息

详细了解 Azure Web PubSub 特性和功能。


估计每月使用任何 Azure 产品组合应产生的费用。


查看技术教程、视频和更多 Azure Web PubSub 资源。


  • The instance usage for billing depends on the actual time (seconds) the instance is used per day. For example, if the instance is created and used 12 hours in a specific day, the billing will be $0.805 (1* $1.61 Unit/Day * 12 hours / 24 hours) in this day.
  • For billing purpose, only outbound messages from Azure Web PubSub service are counted. Ping messages between clients and servers are ignored. Message sent into the service is inbound message. Message sent out of the service is outbound message. Traffic is calculated in bytes.
  • For billing purpose, the messages larger than 2 KB are counted as multiple messages of 2 KB each, and the messages less than 2KB are accumulated together. For example, imagine that there are 100 million outbound messages and 0.1 KB each. In this case, the billing will be $10 (100 million * 0.1KB / 2KB * $1 per million messages).
  • There are server connections and client connections with Azure Web PubSub service. By default, each application server starts with five initial connections per hub, and each client has one client connection.

与销售专家交谈,演练 Azure 定价情况。了解你的云解决方案的定价。

获取免费云服务和价值 $200 的赠金来探索 Azure 30 天。