<a id="rtce-billing"></a>

# Billing on the Real-Time Context Engine in Confluent Cloud

The Real-Time Context Engine and lightning queries are fully managed Confluent Cloud
capabilities. Applications, users, and AI agents use the Real-Time Context Engine to
query live, continuously updated Apache Kafka® data through Model Context
Protocol (MCP) tools.

Lightning queries let you query that same data directly through an
API. You don’t need to build or maintain separate serving
infrastructure.

#### NOTE
Direct API access, issuing a lightning query yourself without an
AI agent, is an Early Access Program feature in Confluent Cloud.

<!-- Admonition for product maturity stage: EAP -->
<!-- Use this file for standard legalese in docs for new Early access Program features. -->
<!-- Suggested usage: -->
<!-- .. note: (add a second colon here) -->
<!-- Feature X is an Early Access Program feature in |product|. -->
<!-- .. include:: ../.hidden/docs-common/home/includes/product-maturity-stage-admonition-eap.rst -->
<!-- (optional) If you would like to participate in the Early Access Program, email address@confluent.io. -->
<!-- Reference: Product maturity stages and docs -->
<!-- https://confluentinc.atlassian.net/wiki/spaces/DOC/pages/2695004342/Product+maturity+stages+and+docs -->

An Early Access feature is a component of Confluent Cloud introduced to gain
feedback. This feature should be used only for evaluation and non-production
testing purposes or to provide feedback to Confluent, particularly as it
becomes more widely available in follow-on preview editions.

Early Access Program features are intended for evaluation use in development
and testing environments only, and not for production use. Early Access Program
features are provided: (a) without support; (b) “AS IS”; and (c) without
indemnification, warranty, or condition of any kind. No service level commitment
will apply to Early Access Program features. Early Access Program features are
considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service.
Confluent may discontinue providing preview releases of the Early Access
Program features at any time in Confluent’s sole discretion.

To participate in the Early Access Program, see the [sign-up form](https://events.confluent.io/early-access-flink-features).

You’re billed for using the Real-Time Context Engine and lightning queries in two
ways. You pay for the compute used to materialize and serve queries,
and for the storage your materialized data consumes. You don’t need
to size a cluster or provision and scale anything manually. You
enable the Real-Time Context Engine on a topic, and your cost follows your usage.

## Pricing

Storage
: Costs $0.029 per GB-month, billed hourly, based on the average
  monthly bytes of materialized data stored.

Compute
: Compute is measured in Confluent Compute Units
  ([CCUs](#rtce-billing-ccus)). The price is $0.105 per CCU-hour,
  calculated by the minute ($0.00175 per CCU-minute). Usage is
  metered every minute and rolled up into hourly billing increments.

#### NOTE
Confluent Compute Units (CCUs) aren’t to be confused with a
Confluent Consumption Unit (also abbreviated CCU). That’s the
unit used for Confluent Cloud marketplace billing, and the two are
unrelated.

Prices vary by [cloud region](../../billing/billing-dimensions.md#cloud-billing-regional-multiplier).

<a id="rtce-billing-ccus"></a>

## How CCUs are calculated

A CCU is a logical unit of processing power. It reflects the compute
resources used to read from Kafka and materialize your data, making
it queryable. It also reflects the resources used to serve your
queries.

Usage scales with your workload. The more data you materialize or
query, the more CCUs you consume, and usage scales back down when
activity drops. You pay only for what you use, metered every minute.

### Definition of one CCU

A single CCU covers the following:

- **Hot memory size**: Compute for a hot memory size supporting
  roughly 40 GB of base storage.
- **Query scan**: Up to 80 GB scanned by your queries per hour,
  whether that’s one large query or many small ones.
- **Ingest throughput**: Up to 10 MBps of sustained data streaming in.

You pay for whichever meter is highest in a given minute. A CCU isn’t
“40 GB and 80 GB and 10 MBps” all at once. It’s whichever single
threshold your workload reaches.

## FAQ

The following questions and answers cover common billing scenarios
for the Real-Time Context Engine and lightning queries.

### What if I turn this on and don’t use it?

If a table has no new data coming in and no queries running against
it, you’re not charged any CCUs. You pay only for storage on whatever’s
already materialized.

### What if I’m streaming data in but haven’t started querying yet?

You’re still charged for the compute required to keep your table
materialized and current. That work happens whether or not a query
has come in yet. In practice, this is usually a flat, modest rate.
It continues for as long as the topic stays actively streaming, even
without any queries running against it.

### Am I charged per query?

No. You’re charged for the total amount of data scanned in a minute,
not the number of queries that produced it. Ten small queries and one
large query cost the same if they scan the same amount of data.

If you sustain an unusually high query rate for a full minute, a
small additional charge can apply. This is rare and doesn’t affect
typical usage.

### How does storage billing work?

Storage billing is separate from compute, based on the average GB of
materialized data you’re storing, billed hourly.

### What if throughput and queries both stop for a few hours?

For these hours, CCUs scale down to zero. You’re not charged any
CCUs. With no data streaming in and no queries running, none of the
meters that drive CCU cost are active. You’re only billed for storage
on whatever’s already materialized. Charges resume as soon as either
data starts streaming in or queries start running against the table.

### How does this show up on my invoice?

The Real-Time Context Engine has two meters on the Confluent Cloud Console Billing page: a
Storage meter and a Compute meter. Both live under the Kafka cluster
resource, metered every minute and rolled up into hourly increments
on your bill.

### Why not charge for the CPU or machine size directly?

Billing ties to familiar things about your workload: how much data
you’re materializing, throughput, and how much your queries scan.
That way, you can reason about cost before you build against it.

## Related content

- [Overview](overview.md#real-time-context-engine)
- [Query Data](query-data.md#rtce-query-data)
- [Lightning Queries](lightning-queries.md#rtce-lightning-queries)

#### NOTE
This website includes content developed at the [Apache Software Foundation](https://www.apache.org/)
under the terms of the [Apache License v2](https://www.apache.org/licenses/LICENSE-2.0.html).
