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
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
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
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
Related topics
Last updated