> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackshift.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing

> Queues are billed by operations: each 64 KB written, read or deleted.

> [!TIP]
>
> **Live.** This area is documented as current, user-reliable behavior.

## Goal

Understand what a queue costs and where to see usage.

## Prerequisites

* A StackShift account

## Workflow

**Step 1**

Open Queues and choose Usage.

**Step 2**

Read operations this month, the operations your plan includes, and the price per million above that.

**Step 3**

See which queues used the most operations.

## Operations

* An operation is each 64 KB written, read or deleted. A message up to 64 KB that is sent, delivered and acked uses about three operations.
* Larger messages use one operation per 64 KB for each step. Retries add a read each time.
* Your plan includes a number of operations each month. Above that you pay per million operations. Both figures are shown on the usage screen in USD and NGN.
* Each queue also shows its operations for the month on the queue page.
* GET /api/v1/queues/usage?month=YYYY-MM returns total\_operations, included\_operations, the price per million and a per-queue breakdown.

## Expected result

> [!TIP]
>
> You can estimate a queue's cost from its message volume.

## Related guides

> [card] [Limits and error codes](https://docs.stackshift.cloud/queues/limits-and-errors.md)
>
> Sizes, rates, retention and the error codes the Queues API returns when a limit is reached.

> [card] [Queues overview](https://docs.stackshift.cloud/queues/overview.md)
>
> A Queue holds messages. One part of your app sends them; a consumer takes them off in batches and acks or retries each one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.