Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Plan limits & quotas

DNotifier enforces plan limits at authentication time. The SDK exposes key quotas so you can gate features, validate payload size, and show upgrade prompts in your UI.


Reading limits after connect

await notifier.connect();

const limits = notifier.getPlanLimits();
console.log(limits?.messagesHardLimit);
console.log(limits?.maxUsers);
console.log(limits?.aiEnabled);

console.log(notifier.messageSizeLimit); // bytes — chunk size cap
console.log(notifier.aiEnabled);

Dart:

await notifier.connect();

final limits = notifier.getPlanLimits();
print(limits?.messagesHardLimit);
print(limits?.maxUsers);
print(notifier.messageSizeLimit);

getPlanLimits() fields

Field
Description

messagesHardLimit

Hard cap on message volume (plan-dependent)

maxAIRequestsPerMonth

Monthly AI request quota

maxAIWordsPerMonth

Monthly AI word/token budget

knowledgeBaseMaxWords

Knowledge base storage limit

aiEnabled

Whether AI features are available

maxUsers

Maximum distinct users for the app

maxRowsPerUser

Per-user storage rows (history-related)

Exact enforcement is server-side. The SDK surfaces limits for client-side UX decisions.


Realtime-specific limits

Limit
Client property
Impact

Message size per chunk

messageSizeLimit

Triggers automatic chunking

Message volume

messagesHardLimit

Outbound sends count toward quota

Concurrent connections

Plan-dependent

Too many connects may be rejected at auth


Gating features in UI


When limits are exceeded

Scenario
Typical behavior

Auth with invalid/expired plan

connect() throws

Send over hard message cap

Server may reject; handle errors in your send path

AI disabled on plan

sendAI() throws AI is not enabled

See Error handling & reconnection for recovery patterns.


Upgrading

Manage plans and billing at app.dnotifier.com. Current tier details are published on dnotifier.com.

→ Pricing & plans


Last updated