{
  "apiVersion": "1.1",
  "schemaVersion": 1,
  "engineVersion": 1,
  "asOf": "2026-11-24",
  "currency": "USD",
  "pair": {
    "slug": "cloudflare-queues-vs-upstash-qstash",
    "canonicalSlug": "cloudflare-queues-vs-upstash-qstash",
    "isCrossCategory": false,
    "categoryA": {
      "id": "queues",
      "name": "Message queues"
    },
    "categoryB": {
      "id": "queues",
      "name": "Message queues"
    }
  },
  "citationUrl": "https://costroast.com/vs/cloudflare-queues-vs-upstash-qstash?usage=%7B%22messages%22%3A1000000%2C%22peakDailyMessages%22%3A1000%2C%22transferGb%22%3A10%7D",
  "canonicalUrl": "https://costroast.com/vs/cloudflare-queues-vs-upstash-qstash",
  "markdownUrl": "https://costroast.com/vs/cloudflare-queues-vs-upstash-qstash.md?usage=%7B%22messages%22%3A1000000%2C%22peakDailyMessages%22%3A1000%2C%22transferGb%22%3A10%7D",
  "calculationUrl": "https://costroast.com/api/v1/calculate?a=cloudflare-queues&b=upstash-qstash&usage=%7B%22messages%22%3A1000000%2C%22peakDailyMessages%22%3A1000%2C%22transferGb%22%3A10%7D",
  "verdict": {
    "summary": "At this workload, the monthly estimate for Cloudflare Queues is $5.80. Upstash QStash has no eligible estimate for a price comparison.",
    "cheaperProduct": "unknown",
    "costDeltaMonthlyUsd": null,
    "costPercentDelta": null,
    "crossoverSummary": null
  },
  "crossCategoryBridge": null,
  "productA": {
    "id": "cloudflare-queues",
    "name": "Cloudflare Queues",
    "planId": "cloudflare-queues-paid",
    "planName": "Workers Paid + Queues",
    "eligible": true,
    "monthlyCostUsd": 5.8,
    "billingInterval": "month",
    "annualCommitmentUsd": null,
    "sourceUrl": "https://developers.cloudflare.com/queues/platform/pricing/",
    "checkedAt": "2026-11-09",
    "warnings": [
      "Three operations per successful delivery: write, read and delete. Payload including metadata stays below 64 KB. No retries or fan-out. Includes the required $5 Workers subscription; share it only within the same account.",
      "Assumes at most 10,000 queues on the account. Additional queues cost USD 0.10 each per month and are not represented by the message-volume input. Four-day default retention; processing must finish before expiry."
    ],
    "exclusions": [
      "Taxes, promotions, prorations, negotiated contracts and optional add-ons.",
      "Producer/consumer compute, retries, larger payloads, schedules and dead letters.",
      "Accounts with more than 10,000 queues; additional queue-count fees."
    ],
    "usage": {
      "messages": 1000000,
      "peakDailyMessages": 1000,
      "transferGb": 10
    },
    "workloadFields": [
      {
        "id": "messages",
        "label": "Monthly messages",
        "unit": "per month",
        "min": 0,
        "max": 1000000000,
        "step": 1,
        "integer": true,
        "defaultValue": 1000000
      },
      {
        "id": "peakDailyMessages",
        "label": "Peak daily messages",
        "unit": "messages / day",
        "min": 0,
        "max": 1000000000,
        "step": 1,
        "integer": true,
        "defaultValue": 1000
      },
      {
        "id": "transferGb",
        "label": "Monthly transfer",
        "unit": "GB / month",
        "min": 0,
        "max": 1000000,
        "step": 1,
        "integer": false,
        "defaultValue": 10
      }
    ],
    "scope": "One delivery per message, no retry or fan-out, payload including metadata below 64 KB. No schedules or dead letters. Producer/consumer runtime, premium support and enterprise SLAs are excluded. HTTP push and Workers-bound queues have different integrations.",
    "lineItems": [
      {
        "label": "Monthly subscription",
        "quantity": 1,
        "unit": "month",
        "rate": 5,
        "amount": 5
      },
      {
        "label": "Queue operations (1,000,000 included)",
        "quantity": 2,
        "unit": "million operations",
        "rate": 0.4,
        "amount": 0.8
      }
    ],
    "priceVersionId": "cloudflare-queues-paid:67566f0745bdd35acdadb6b95c133930c3839e42d3847542df619fbd323c87d4",
    "modelHash": "fe55dc94a8f002fd2f3a94c4547c9cd4d3f63184983f869dcb45f02a2a4e70d9",
    "modelSnapshot": {
      "schemaVersion": 1,
      "engineVersion": 1,
      "category": {
        "id": "queues",
        "name": "Message queues",
        "description": "Successful deliveries without retries.",
        "scope": "One delivery per message, no retry or fan-out, payload including metadata below 64 KB. No schedules or dead letters. Producer/consumer runtime, premium support and enterprise SLAs are excluded. HTTP push and Workers-bound queues have different integrations.",
        "primaryField": "messages",
        "fields": [
          {
            "id": "messages",
            "label": "Monthly messages",
            "unit": "per month",
            "description": "One successfully delivered message generates three Cloudflare operations.",
            "defaultValue": 1000000,
            "min": 0,
            "max": 1000000000,
            "step": 1,
            "integer": true
          },
          {
            "id": "peakDailyMessages",
            "label": "Peak daily messages",
            "unit": "messages / day",
            "description": "Highest daily message count. Growth charts keep this fixed.",
            "defaultValue": 1000,
            "min": 0,
            "max": 1000000000,
            "step": 1,
            "integer": true
          },
          {
            "id": "transferGb",
            "label": "Monthly transfer",
            "unit": "GB / month",
            "description": "Transfer billed by QStash; Cloudflare queue egress is free.",
            "defaultValue": 10,
            "min": 0,
            "max": 1000000,
            "step": 1,
            "integer": false
          }
        ],
        "presets": [
          {
            "id": "webhook_buffer",
            "name": "Webhook Buffer",
            "description": "Buffer webhooks and background jobs with moderate volume",
            "usage": {
              "messages": 500000,
              "peakDailyMessages": 25000,
              "transferGb": 5
            }
          },
          {
            "id": "event_pipeline",
            "name": "Event Pipeline",
            "description": "High-throughput stream processing and event delivery",
            "usage": {
              "messages": 25000000,
              "peakDailyMessages": 1200000,
              "transferGb": 100
            }
          }
        ]
      },
      "product": {
        "id": "cloudflare-queues",
        "name": "Cloudflare Queues",
        "categoryId": "queues",
        "vendorId": "cloudflare",
        "tagline": "Workers-bound delivery priced in operations.",
        "website": "https://developers.cloudflare.com",
        "pricingUrl": "https://developers.cloudflare.com/queues/platform/pricing/",
        "color": "#f6821f",
        "plans": [
          {
            "id": "cloudflare-queues-paid",
            "name": "Workers Paid + Queues",
            "billing": {
              "currency": "USD",
              "interval": "month"
            },
            "basePrice": 5,
            "meters": [
              {
                "label": "Queue operations",
                "quantity": {
                  "terms": [
                    {
                      "fields": [
                        "messages"
                      ],
                      "factor": 3
                    }
                  ]
                },
                "unit": "million operations",
                "included": 1000000,
                "unitSize": 1000000,
                "rate": 0.4
              }
            ],
            "limits": [],
            "warnings": [
              "Three operations per successful delivery: write, read and delete. Payload including metadata stays below 64 KB. No retries or fan-out. Includes the required $5 Workers subscription; share it only within the same account.",
              "Assumes at most 10,000 queues on the account. Additional queues cost USD 0.10 each per month and are not represented by the message-volume input. Four-day default retention; processing must finish before expiry."
            ],
            "exclusions": [
              "Taxes, promotions, prorations, negotiated contracts and optional add-ons.",
              "Producer/consumer compute, retries, larger payloads, schedules and dead letters.",
              "Accounts with more than 10,000 queues; additional queue-count fees."
            ],
            "source": {
              "url": "https://developers.cloudflare.com/queues/platform/pricing/",
              "checkedAt": "2026-11-09",
              "title": "Cloudflare Queues operations and queue-count pricing; Workers Paid USD subscription"
            },
            "sharedSubscription": {
              "id": "workers-paid",
              "amount": 5,
              "assumption": "Queues, Workers and D1 share one Cloudflare account subscription."
            }
          }
        ]
      }
    },
    "evidence": {
      "kind": "catalog_assertion",
      "observedAt": "2026-11-09",
      "sourceUrl": "https://developers.cloudflare.com/queues/platform/pricing/"
    }
  },
  "productB": {
    "id": "upstash-qstash",
    "name": "Upstash QStash",
    "planId": "qstash-free",
    "planName": "Free",
    "eligible": false,
    "monthlyCostUsd": null,
    "billingInterval": "month",
    "annualCommitmentUsd": null,
    "sourceUrl": "https://upstash.com/pricing/qstash",
    "checkedAt": "2026-11-09",
    "warnings": [
      "Daily and monthly inputs are independent; both must match the real workload. Soft caps are comparison boundaries, not service guarantees.",
      "No minimum or monthly subscription fee on usage-based pricing. Rates exclude the optional production pack. One message means one delivery attempt to one endpoint.",
      "Paid USD currency is not explicitly qualified by the captured QStash pricing or account terms. The generic zero-price USD structured offer links to Redis and does not qualify this paid QStash offer. No current numeric estimate is available."
    ],
    "exclusions": [
      "The 1,000-message daily allowance is conservatively limited to 28,000 per month.",
      "Taxes, promotions, prorations, negotiated contracts and optional add-ons.",
      "This pricing model is not supported.",
      "No current numeric quote. Dollar-denominated delivery/transfer amounts are not certified as USD by these sources. Schedules, production pack, retries and fan-out also require separate scope review."
    ],
    "usage": {
      "messages": 1000000,
      "peakDailyMessages": 1000,
      "transferGb": 10
    },
    "workloadFields": [
      {
        "id": "messages",
        "label": "Monthly messages",
        "unit": "per month",
        "min": 0,
        "max": 1000000000,
        "step": 1,
        "integer": true,
        "defaultValue": 1000000
      },
      {
        "id": "peakDailyMessages",
        "label": "Peak daily messages",
        "unit": "messages / day",
        "min": 0,
        "max": 1000000000,
        "step": 1,
        "integer": true,
        "defaultValue": 1000
      },
      {
        "id": "transferGb",
        "label": "Monthly transfer",
        "unit": "GB / month",
        "min": 0,
        "max": 1000000,
        "step": 1,
        "integer": false,
        "defaultValue": 10
      }
    ],
    "scope": "One delivery per message, no retry or fan-out, payload including metadata below 64 KB. No schedules or dead letters. Producer/consumer runtime, premium support and enterprise SLAs are excluded. HTTP push and Workers-bound queues have different integrations.",
    "lineItems": [],
    "priceVersionId": "qstash-free:ef587ac216e3afd12c25d8faef2494a3278bae02209235d972735600f17530a1",
    "modelHash": "ecdd26a1747e8fe884c5e4f1a6021a43e308cc0f6a7fea33204de5baec33584e",
    "modelSnapshot": {
      "schemaVersion": 1,
      "engineVersion": 1,
      "category": {
        "id": "queues",
        "name": "Message queues",
        "description": "Successful deliveries without retries.",
        "scope": "One delivery per message, no retry or fan-out, payload including metadata below 64 KB. No schedules or dead letters. Producer/consumer runtime, premium support and enterprise SLAs are excluded. HTTP push and Workers-bound queues have different integrations.",
        "primaryField": "messages",
        "fields": [
          {
            "id": "messages",
            "label": "Monthly messages",
            "unit": "per month",
            "description": "One successfully delivered message generates three Cloudflare operations.",
            "defaultValue": 1000000,
            "min": 0,
            "max": 1000000000,
            "step": 1,
            "integer": true
          },
          {
            "id": "peakDailyMessages",
            "label": "Peak daily messages",
            "unit": "messages / day",
            "description": "Highest daily message count. Growth charts keep this fixed.",
            "defaultValue": 1000,
            "min": 0,
            "max": 1000000000,
            "step": 1,
            "integer": true
          },
          {
            "id": "transferGb",
            "label": "Monthly transfer",
            "unit": "GB / month",
            "description": "Transfer billed by QStash; Cloudflare queue egress is free.",
            "defaultValue": 10,
            "min": 0,
            "max": 1000000,
            "step": 1,
            "integer": false
          }
        ],
        "presets": [
          {
            "id": "webhook_buffer",
            "name": "Webhook Buffer",
            "description": "Buffer webhooks and background jobs with moderate volume",
            "usage": {
              "messages": 500000,
              "peakDailyMessages": 25000,
              "transferGb": 5
            }
          },
          {
            "id": "event_pipeline",
            "name": "Event Pipeline",
            "description": "High-throughput stream processing and event delivery",
            "usage": {
              "messages": 25000000,
              "peakDailyMessages": 1200000,
              "transferGb": 100
            }
          }
        ]
      },
      "product": {
        "id": "upstash-qstash",
        "name": "Upstash QStash",
        "categoryId": "queues",
        "vendorId": "upstash",
        "tagline": "HTTP push delivery priced by attempts and transfer.",
        "website": "https://upstash.com",
        "pricingUrl": "https://upstash.com/pricing/qstash",
        "color": "#00e9a3",
        "plans": [
          {
            "id": "qstash-free",
            "name": "Free",
            "billing": {
              "currency": "USD",
              "interval": "month"
            },
            "basePrice": 0,
            "meters": [],
            "limits": [
              {
                "quantity": {
                  "field": "messages"
                },
                "max": 28000,
                "reason": "The 1,000-message daily allowance is conservatively limited to 28,000 per month."
              },
              {
                "quantity": {
                  "field": "peakDailyMessages"
                },
                "max": 1000,
                "reason": "Free allows 1,000 messages per day."
              },
              {
                "quantity": {
                  "field": "transferGb"
                },
                "max": 50,
                "reason": "Free includes 50 GB transfer per month."
              }
            ],
            "warnings": [
              "Daily and monthly inputs are independent; both must match the real workload. Soft caps are comparison boundaries, not service guarantees.",
              "No minimum or monthly subscription fee on usage-based pricing. Rates exclude the optional production pack. One message means one delivery attempt to one endpoint."
            ],
            "exclusions": [
              "Taxes, promotions, prorations, negotiated contracts and optional add-ons."
            ],
            "source": {
              "url": "https://upstash.com/pricing/qstash",
              "checkedAt": "2026-11-09",
              "title": "QStash delivery attempts, monthly bandwidth and recurring plan terms"
            }
          }
        ]
      }
    },
    "evidence": {
      "kind": "catalog_assertion",
      "observedAt": "2026-11-09",
      "sourceUrl": "https://upstash.com/pricing/qstash"
    }
  },
  "scenarios": [
    {
      "name": "Webhook Buffer",
      "description": "Buffer webhooks and background jobs with moderate volume",
      "costA": 5.2,
      "costB": null,
      "winner": "unknown"
    },
    {
      "name": "Event Pipeline",
      "description": "High-throughput stream processing and event delivery",
      "costA": 34.6,
      "costB": null,
      "winner": "unknown"
    }
  ],
  "reproducibility": "Replay the selected public model snapshots with schema1/engine1 and the returned effective usage and asOf. This response is not a persisted historical receipt.",
  "calculationId": "fa8e429a7ef8d6d4f8852afdc07d0a6ad04e5608f4e7f3e4cb84198a64d43afc"
}