> For the complete documentation index, see [llms.txt](https://dnotifier.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dnotifier.gitbook.io/product-docs/platform-overview/pricing.md).

# Pricing & plans

DNotifier uses **pay-as-you-go** pricing with **transparent limits**. You choose a plan that matches your expected volume, integrate with the SDK, and scale usage as your app grows.

{% hint style="info" %}
**Current rates and plan names** are published on [dnotifier.com](https://www.dnotifier.com). This page explains **how pricing works** and what limits mean in your code — not dollar amounts, which may change over time.
{% endhint %}

***

## Pay-as-you-go model

| Aspect              | Description                                                                                                                                               |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Usage-based**     | You pay in line with messages sent, AI requests consumed, and knowledge base storage used                                                                 |
| **No hidden infra** | Realtime messaging, AI runtime, RAG search, and workflow execution run on DNotifier — not separate bills for WebSocket hosts, vector DBs, and LLM proxies |
| **Start small**     | Free or starter tiers let you prototype before committing to production volume                                                                            |
| **Scale up**        | Upgrade plans in the dashboard when limits no longer fit                                                                                                  |

Manage billing and plans at [app.dnotifier.com](https://app.dnotifier.com).

***

## Transparent pricing

DNotifier publishes pricing on the marketing site so you can estimate cost **before** integrating.

1. Visit [**dnotifier.com**](https://www.dnotifier.com) for current plan tiers and per-unit pricing.
2. Compare limits (messages, AI requests, knowledge base words) against your roadmap.
3. Create an app and inspect live limits via the SDK after connect.

{% hint style="success" %}
After `connect()`, call `getPlanLimits()` to read the limits attached to your app's plan. Use this to gate features in UI (e.g. hide AI if `aiEnabled` is false).
{% endhint %}

***

## Plan limits concept

Every app is associated with a **plan**. Plans define **quotas** — maximum allowed usage per billing period or hard caps on resources. The SDK surfaces key limits at authentication time.

### Messages (realtime communication)

**Messages** count toward your plan when you send realtime payloads — text, structured data, or binary — via WebSocket or HTTP RPC send.

| Limit type             | Typical meaning                                                     |
| ---------------------- | ------------------------------------------------------------------- |
| **Messages per month** | Total outbound (and sometimes inbound) message volume               |
| **Message size**       | Maximum payload size per message (`messageSizeLimit` on the client) |
| **Connections**        | Concurrent WebSocket connections per app (plan-dependent)           |

Realtime communication powers **chat**, **live dashboards**, **notifications**, and **backend-to-client updates**. Chat history storage may have separate considerations — see [Plan limits & quotas](/product-docs/realtime-communication/plan-limits.md).

***

### AI requests

**AI requests** are consumed when you call AI APIs such as `sendAI`. Each prompt or chat-style message typically counts as usage against your monthly AI quota.

| Limit type                | Typical meaning                                               |
| ------------------------- | ------------------------------------------------------------- |
| **AI enabled**            | Whether `sendAI` and related APIs are available (`aiEnabled`) |
| **AI requests per month** | Cap on prompt/session calls                                   |
| **Session logging**       | Optional dashboard logging may require AI to be enabled       |

Workflow steps that invoke `ctx.sendAI` inside an agent also consume AI capacity. Design workflows with plan limits in mind for high-volume automation.

→ [AI overview](/product-docs/ai/overview.md) · [Session logging](/product-docs/ai/session-logging.md)

***

### Knowledge base words

The **knowledge base** stores documents for RAG — semantic search and grounded AI answers. Plans limit total **word count** (or equivalent storage) across documents in your app.

| Limit type      | Typical meaning                                             |
| --------------- | ----------------------------------------------------------- |
| **Total words** | Sum of indexed content across all documents                 |
| **Documents**   | Practical cap driven by word limit and per-document size    |
| **Search**      | Semantic search calls may have separate rate considerations |

Manage documents with `addDocument`, `updateDocument`, `listDocuments`, and `deleteDocument`. Monitor growth as you ingest help articles, PDFs (as text), and product catalogs.

→ [Knowledge base overview](/product-docs/ai/knowledge-base-overview.md)

***

## Reading limits in code

After a successful connection:

```javascript
const limits = notifier.getPlanLimits();

// Examples — exact fields depend on your plan
console.log(limits?.aiEnabled);
console.log(limits?.maxAIRequestsPerMonth);
console.log(notifier.messageSizeLimit);
console.log(notifier.aiEnabled);
```

Use these values to:

* Show upgrade prompts when quotas are exhausted
* Disable AI panels when `aiEnabled` is false
* Validate attachment sizes before `send()`

→ [Plan limits & quotas](/product-docs/realtime-communication/plan-limits.md) · [Configuration reference](/product-docs/reference/configuration.md)

***

## What is included in every plan

Regardless of tier, all plans include access to the **same platform capabilities** — differences are in **limits**, not feature gates (except where AI or advanced volume requires a higher tier):

* Realtime 1:1 messaging (WebSocket + HTTP send)
* Chat history APIs
* AI prompts, sessions, and RAG (when AI is enabled on plan)
* Workflow and agent APIs
* Dashboard at [app.dnotifier.com](https://app.dnotifier.com)
* Official SDKs on [npm](https://www.npmjs.com/package/@dnotifier-realtime/dnotifier) and [pub.dev](https://pub.dev/packages/dnotifier)

***

## Upgrading and monitoring usage

| Action                  | Where                                          |
| ----------------------- | ---------------------------------------------- |
| View current plan       | [app.dnotifier.com](https://app.dnotifier.com) |
| Compare plans & pricing | [dnotifier.com](https://www.dnotifier.com)     |
| Track usage             | Dashboard usage views (per app)                |
| Upgrade                 | Dashboard billing / plan settings              |

{% hint style="warning" %}
When a limit is reached, API calls may fail or return errors. Implement graceful degradation in your app — queue messages, show "try again later," or prompt users to contact you for support.
{% endhint %}

***

## Related reading

| Topic                           | Link                                                                        |
| ------------------------------- | --------------------------------------------------------------------------- |
| What's included in the platform | [What you get](/product-docs/platform-overview/what-you-get.md)             |
| Technical limit details         | [Plan limits & quotas](/product-docs/realtime-communication/plan-limits.md) |
| Production readiness            | [Production checklist](/product-docs/operations/production-checklist.md)    |
| FAQ                             | [FAQ](/product-docs/operations/faq.md)                                      |
