Skip to main content

करसर कैसे बिल करता है

Cursor एक मासिक subscription को समाप्त होने वाले शामिल usage pool के साथ जोड़ता है। Users एक अनुमानित कीमत चुकाते हैं, और Cursor उस pool से अलग-अलग AI models की variable cost को कवर करता है। Pricing Tiers: Cursor, Hobby से Ultra तक tiers प्रदान करता है। Cursor के plans में प्रत्येक model की API price के आधार पर charged usage pools शामिल होते हैं, न कि fixed request counts (Cursor pricing docs)। तालिका में दिए गए request allowances इस deconstruction द्वारा modeled illustrative values हैं। Model-Weighted Depletion: प्रत्येक request underlying model की cost के आधार पर credits का उपयोग करती है। एक subscription कई model providers को cover करता है, और महंगे operations pool से अधिक credits लेते हैं। Cursor per-request credit costs प्रकाशित नहीं करता, इसलिए नीचे दिए गए weights illustrative हैं। Credit Exhaustion and Overages: जब credits समाप्त हो जाते हैं, तो users को रोकने के बजाय कम लागत वाले models वाली “Slow” queue में भेज दिया जाता है। Premium access बनाए रखने के लिए users on-demand usage भी enable कर सकते हैं, जिसका bill cycle के अंत में लिया जाता है। Enterprise: Enterprise plan में पूरा organization एक usage pool share करता है। Heavy users सभी अन्य users के समान pool से credits लेते हैं, इसलिए एक व्यक्ति की limit उन्हें तब नहीं रोकती जब teammates के पास unused capacity हो। Cursor अपनी pricing page पर pooled usage को Enterprise feature के रूप में सूचीबद्ध करता है।

इसे क्या विशिष्ट बनाता है

Cursor का model user experience और infrastructure cost के बीच संतुलन चार तरीकों से बनाता है:
  • Provider Abstraction: एक subscription कई LLM providers को wrap करता है, जैसे OpenAI और Anthropic। Cursor provider pricing और API keys को संभालता है।
  • Weighted Depletion: Powerful models अधिक credits की cost रखते हैं, इसलिए request की price उसकी cost के अनुरूप होती है।
  • Graceful Degradation: “Slow” queue hard cutoff की जगह लेती है। Users product में बने रहते हैं, और slower experience upgrade के लिए प्रेरित करता है।
  • Pooled Credits: Organization-level pool team को individual limits manage करने के बजाय capacity share करने देता है।

इसे Dodo Payments के साथ बनाएं

आप Dodo Payments credit entitlements और usage-based billing के साथ यह model बना सकते हैं। नीचे दिए गए steps credit, plans, meter, slow-queue logic और checkout बनाते हैं।
1

Create a Custom Unit Credit Entitlement

Products → Credits पर जाएं और Create Credit पर click करें। यह credit प्रत्येक subscription के साथ आने वाले “Premium Requests” को represent करता है। इन settings का उपयोग करें:
  • Credit Type: Custom Unit
  • Unit Name: “Premium Requests”
  • Precision: 0 (एक request को विभाजित नहीं किया जा सकता)
  • Credit Expiry: 30 days (प्रत्येक billing cycle में credits reset हो जाते हैं)
  • Rollover: Disabled (unused requests carry over नहीं होतीं)
  • Allow Overage: Enabled
  • Price Per Unit: $0.04 (included pool के उपयोग के बाद प्रत्येक request की cost)
  • Overage Behavior: Bill overage at billing (overage cost अगले invoice में जोड़ दी जाती है)
प्रत्येक user को हर cycle में requests का एक fixed pool मिलता है और अतिरिक्त requests के लिए per-unit price चुकानी होती है।
2

Create Subscription Products

प्रत्येक tier के लिए एक subscription product बनाएं। प्रत्येक product से उसी credit entitlement को जोड़ें, लेकिन Credits issued per billing cycle का value अलग रखें। सभी tiers में एक ही credit system होने से upgrades और downgrades सरल रहते हैं।
  • Hobby: $0/month, 50 credits/cycle
  • Pro: $20/month, 500 credits/cycle
  • Pro+: $60/month, 5000 credits/cycle (अधिकांश users के लिए effectively unlimited)
  • Ultra: $200/month, 50000 credits/cycle (effectively unlimited)
जब कोई customer subscribe करता है, तो Dodo Payments billing cycle के लिए product के credits grant करता है और प्रत्येक renewal पर उन्हें फिर से grant करता है।
3

Create a Usage Meter Linked to Credits

event name ai.request, Sum aggregation और credit_cost को Over Property के रूप में चुनकर एक meter बनाएं। अपने usage-based product पर Bill usage in Credits toggle करें, credit entitlement चुनें और Meter units per credit को 1 पर set करें।आपका application model और action type के आधार पर प्रत्येक request की credit cost तय करता है, फिर उसे event में भेजता है:
credit_cost पर Sum meter एक single event को कोई भी weight carry करने देता है। आप प्रत्येक credit के लिए एक event के बजाय प्रत्येक request के लिए एक event भेजते हैं, जिससे high-volume ingestion छोटा रहता है।
4

Handle Credit Exhaustion (Slow Queue)

credit.balance_low webhook को subscribe करें। जब customer का balance product पर set किए गए Low Balance Threshold से नीचे चला जाए, तो उसे अपने application में slow queue में भेज दें। यही graceful degradation logic है।
5

Create Checkout

जब user किसी plan को subscribe करे, तो checkout session बनाएं। Dodo Payments payment process करता है, tax calculate करता है और plan के credits grant करता है।

LLM Ingestion Blueprint के साथ तेज़ी लाएं

ऊपर दिए गए credit-weighted events billing को drive करते हैं। प्रत्येक provider के raw token consumption को record करने के लिए अपने credit system के साथ LLM Ingestion Blueprint भी चलाएं।
प्रत्येक tracked call event metadata में inputTokens, outputTokens, totalTokens और model भेजता है। आपको data की दो layers मिलती हैं: billing के लिए credit-weighted events और cost तथा margin analysis के लिए raw token counts।
LLM Blueprint OpenAI, Anthropic, Groq, Google Gemini, OpenRouter और Vercel AI SDK को support करता है। सभी supported providers के लिए full blueprint documentation देखें।

Pooled Team Credits (Enterprise)

Cursor का Enterprise plan एक team में usage pool करता है। Dodo Payments के साथ इसे बनाने के लिए प्रत्येक user के बजाय organization के लिए एक subscription बनाएं। इसके बाद team का usage एक single billing entity में accrue होता है, जिसकी अपेक्षा बड़े customers करते हैं।

Implementation Strategy

  1. Organization-Level Customer: पूरे organization के लिए एक Dodo Payments customer बनाएं। यह customer shared credit pool रखता है और सभी invoices तथा credit grants उसके customer_id से संबंधित होते हैं।
  2. Seat-Based Billing: Seat-Based Billing में बताए अनुसार seat add-on के साथ per-user platform fee charge करें। जब team कोई member जोड़ती है, तो add-on quantity बदलें। Revenue users की संख्या के साथ बढ़ता है और credit pool अलग रहता है।
  3. Shared Usage Tracking: प्रत्येक team member की requests organization के customer_id के साथ भेजें, ताकि प्रत्येक request उसी pool को deplete करे। Individual users पर report करने के लिए event metadata में user_id जोड़ें।
प्रत्येक member एक predictable platform fee देता है और team महंगे AI resources के लिए credits का एक pool share करती है। Members अपनी individual limits manage नहीं करते।

Traditional SaaS Billing के साथ तुलना

Traditional SaaS billing flat-rate tiers का उपयोग करती है, जैसे 100 units के लिए $10/month। 101 units की आवश्यकता वाले user को अक्सर $50/month tier पर जाना पड़ता है। यह “cliff” users को निराश करता है और churn बढ़ाता है। Flat tiers अलग-अलग प्रकार के usage की अलग-अलग costs को भी ignore करते हैं, जो AI products के लिए महत्वपूर्ण हैं। Dodo Payments पर बना Cursor-style model इन समस्याओं से बचता है:
  • No “Cliff” Effects: Limit तक पहुंचने पर users को upgrade करने की आवश्यकता नहीं होती। वे overage के लिए pay कर सकते हैं या slower performance स्वीकार कर सकते हैं, इसलिए product में काम जारी रखते हैं।
  • Cost Alignment: Revenue infrastructure cost के अनुरूप रहता है। महंगे models के users credits या overage के माध्यम से अधिक pay करते हैं, जिससे high-cost features पर आपके margins सुरक्षित रहते हैं।
  • Better Retention: Limit तक पहुंचने वाले users cut off होने के बजाय काम जारी रख सकते हैं। Continued use loyalty बनाता है और customer lifetime value बढ़ाता है।

Model Updates और Evolution को संभालना

AI providers models को अक्सर update और replace करते हैं, और नए model की cost अलग हो सकती है। क्योंकि credit costs आपके application में रहती हैं, इसलिए billing data migrate किए बिना नए model की price तय कर सकते हैं। अधिक महंगे model को जोड़ने के लिए getCreditCost में उसकी cost अधिक रखें। आपको credit entitlement, meter या existing subscriptions बदलने की आवश्यकता नहीं है। Billing application logic से अलग रहती है, इसलिए billing को छुए बिना model changes ship कर सकते हैं।

User Notifications और Transparency

Users को दिखाएं कि उन्होंने कितने credits का उपयोग किया है, ताकि वे cost manage कर सकें और bill पर भरोसा रख सकें। जब balance product के Low Balance Threshold से नीचे जाता है, तो credit.balance_low webhook fire होता है। 50% और 80% usage जैसे अतिरिक्त checkpoints के लिए, credit.deducted events में balance की तुलना plan के allocation से करें। इन alerts को email, in-app message या Slack से भेजें। Timely warning users को slow queue तक पहुंचने से पहले usage कम करने या upgrade करने देती है, जिससे support tickets कम होते हैं।

Security और Fraud Prevention

Credits का direct monetary value होता है, इसलिए उस system को protect करें जो उन्हें spend करता है।
  • Idempotency: प्रत्येक usage event को एक unique event_id दें। Dodo Payments duplicates detect करने के लिए event_id का उपयोग करता है, इसलिए उसी ID के साथ network retry होने पर user से दो बार charge नहीं लिया जाता।
  • Rate Limiting: अपने application में request rates को limit करें, ताकि कोई user अपने credits या provider budget को बहुत जल्दी exhaust न कर सके।
  • Monitoring: account sharing या automated abuse जैसी anomalies के लिए usage पर नज़र रखें। Meter dashboard का Customers view per-customer usage totals दिखाता है।

Credit Systems के लिए Best Practices

Credit system design करते समय इन practices को ध्यान में रखें:
  1. Keep it Simple: Users को समझ आना चाहिए कि request की cost क्या है और उनके पास कितने credits बचे हैं।
  2. Provide Value: Requests की price इस तरह रखें कि users को credits का value महसूस हो। किसी छोटे action के लिए बहुत अधिक cost nickel-and-diming जैसी लगती है।
  3. Be Transparent: Current credit balance और usage history दिखाएं। Customers दोनों को Customer Portal में भी देख सकते हैं।
  4. Automate Everything: Billing tasks automate करने और manual work हटाने के लिए Dodo Payments webhooks और APIs का उपयोग करें।

उपयोग किए गए Key Dodo Features

Credit-Based Billing

Custom units के साथ depleting credit pools और overages manage करें।

Subscriptions

Integrated credits के साथ अलग-अलग tiers के लिए recurring billing set up करें।

Usage-Based Billing

Events track करें और consumption के आधार पर bill करें।

Event Ingestion

High-volume usage data Dodo Payments को भेजें।

Webhooks

Credit balance changes पर react करें और user tiering automate करें।

LLM Ingestion Blueprint

कई LLM providers में automatic token tracking।
अंतिम संशोधन 26 सितंबर 2026