Azure vs Heroku: pricing compared
The same workloads priced on Azure and Heroku with the cheapest plan that fits on each. Heroku is cheaper in 8 of 10 scenarios. Prices come from each provider's published, dated price sheet - see the Azure price sheet and the Heroku price sheet.
Monthly cost by workload
| Workload | Azure | Heroku | Cheaper |
|---|---|---|---|
| Small app (1M req/mo) | $14.43 | $14.15 * | Heroku (2% less) |
| Growing (20M req/mo) | $397 | $408 * | Azure (3% less) |
| At scale (200M req/mo) | $3,465 * | $2,330 * | Heroku (33% less) |
| Modern SaaS Starter | $13.67 | $14.00 * | Azure (2% less) |
| Video Streaming App | $575 | $42.35 * | Heroku (93% less) |
| High-Scale E-Commerce | $1,346 | $453 * | Heroku (66% less) |
| Serverless Mobile Backend | $42.63 | $12.25 * | Heroku (71% less) |
| AI RAG Chatbot | $989 | $989 * | Heroku (0% less) |
| Big Data Pipeline | $126 | $79.85 | Heroku (37% less) |
| Budget Web Hosting | $20.92 | $14.00 * | Heroku (33% less) |
* The plan prices every piece but something is too small for the workload, a compute style is substituted, or a requested piece is unavailable on that provider.
Where the money goes - Growing (20M req/mo)
20M requests/mo · 40 ms CPU each · 100 GB database · 200 GB files · 1 TB egress. Azure uses Azure Functions, Blob Storage, Postgres Flexible Server, Azure DNS, Azure Monitor Logs; Heroku uses Dynos, R2 Storage, Postgres.
| Cost category | Azure | Heroku |
|---|---|---|
| Serverless | $16.60 | $0.00 |
| Storage | $81.98 | $2.85 |
| Database | $194 | $400 |
| Networking | $0.50 | $0.00 |
| Observability | $103 | $0.00 |
| Compute | $0.00 | $5.00 |
| Total | $397 | $408 |
Service by service
Each provider's cheapest product per service at the Growing (20M req/mo) workload.
| Service | Azure | Heroku |
|---|---|---|
| Kubernetes | AKS Cluster Control Plane (Standard tier / Uptime SLA) $141 | Not offered |
| SQL database | Azure Database for PostgreSQL Flexible Server (Memory Optimized E2ds_v5) $194 | Heroku Postgres $400 |
| NoSQL database | Azure Cosmos DB for NoSQL (Serverless) $40.00 | Not offered |
| Cache (Redis) | Azure Cache for Redis (Basic C3, 6 GiB) $131 | Not offered |
| Serverless functions | Azure Functions (Consumption plan) $16.60 | Not offered |
| Containers | Azure Container Apps (Consumption plan) $25.80 | Heroku Dynos $5.00 |
| Virtual machines | Azure Virtual Machines (B1s, Linux, Pay-As-You-Go) $30.37 | Not offered |
| Object storage | Azure Blob Storage (Hot tier, LRS) $3.68 | Not offered |
| Message queues | Azure Service Bus (Standard tier) $15.60 | Not offered |
| Managed Kafka | Event Hubs (Standard tier, 1 Throughput Unit, Kafka-compatible) $21.90 | Not offered |
| Search | Azure AI Search (Basic tier, 1 search unit) $73.73 | Not offered |
| CDN | Azure Front Door (Standard tier) $53.00 | Not offered |
| WAF | Application Gateway WAF v2 (gateway-hour, East US) $263 | Not offered |
| Load balancer | Azure Load Balancer (Standard tier, regional) $18.25 | Not offered |
| GPU | NC4as_T4_v3 (1x NVIDIA T4 GPU) $384 | Not offered |
Plug in your traffic, database and cache needs to see Azure, Heroku and 14 other providers side by side.
Price your own stack