{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Prepay with drawdown billing","description":"Collect cash up front and draw down prepaid token balances as customers consume AI.","keywords":"AI monetization, usage billing, mediation, prepaid with drawdown, commitment billing"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"prepay-with-drawdown-ppdd-billing","__idx":0},"children":["Prepay with drawdown (PPDD) billing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["As with Commitment, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.zuora.com/en/zuora-billing/bill-your-customer/usage-billing/prepaid-with-drawdown/prepaid-with-drawdown-overview"},"children":["Prepay with Drawdown"]}," is a Zuora feature independent of Mediation but here we'll return to our earlier meter but run the meter for a new billing account, subscription and",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"a new 'Prepay Tokens Rate Plan'."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The difference between Prepaid with Drawdown and Commitment is when cash is collected. Obviously PPDD you get at least some cash up front, though heavy users may also be billed in arrears for overage over their prepaid amount as with 'Measured Add-On'."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["What would a new 'Prepay Tokens Rate Plan' look like? Here the recurring charge bills $1000 every month as a cash prepay that is use or lose, and the usage charge drawdowns on the prepay at a rate of $0.01 per token until the first 100,000 tokens are consumed, after that the rate goes up to $0.02/token. It pays to prepay:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Recurring Prepayment Charge (Upfront Pool)"},"children":["Recurring Prepayment Charge (Upfront Pool)"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Usage Drawdown Charge (Token Consumption)"},"children":["Usage Drawdown Charge (Token Consumption)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Charge Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Recurring (or One-Time)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Usage"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Charge Model"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Flat Fee"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Per Unit"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Charge Function"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Prepayment"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Drawdown"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Prepaid Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Unit"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Unit"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unit of Measure (UOM)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Token"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["List Price"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["$1000.00 (Funds 100,000 Tokens)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["$0.01"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Billing Period"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Month"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Month"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Validity Period"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["1 Month"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Billing Timing"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In Advance"]}," (Upfront)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In Arrears"]}," (Real-time Drawdown)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Rollover Rule"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Expire"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Overage Rate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["$0.02 per Token. Here when the prepay balance is consumed, the overage rate is twice the prepay rate"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["I used this table as the basis of the following prompt. Do not use this unmodified, you need to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Edit the effective start and end dates on the rate plan, change the UOM if you don't use Token"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Edit the pricing to reflect your tenant's default currency and other enabled currencies, if you don't know what those are ask the AI, e.g. 'what is the default currency and what currencies are active in this tenant?')"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Update the accounting codes to the ones specified by your Finance team"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Create a new Product Rate Plan named \"Prepay Meter Rate Plan\" under [target product name], effective 2026-01-01 through 2050-12-31, with the following two charges - be sure to include the non USD pricing as specified:\n\n1. Drawdown charge (token consumption)\n\nCharge Type: Usage\nCharge Model: Tiered Pricing\nUnit of Measure: Token\nBilling Period: Month\nList Price Base: Per Billing Period\nTrigger Event: Contract Effective\nEnd Date Condition: Subscription End\nPrepaid/Drawdown: Is Prepaid = true, Prepaid Operation Type = DrawDown, Drawdown Rate = 1\nRollover: Apply Last, Rollover Periods = 0, Rollover Period Length = 0\nUp To Periods Type: Billing Periods\nAccounting Code: Deferred SaaS Revenue\nRevenue Recognition Rule: Recognize upon invoicing\nTaxable: false\nPricing tiers (Per Unit price format):\nUSD: Tier 1 =  1-100,000 at $0.01/unit; Tier 2 =  100,001+ at $0.02/Token\nEUR: Tier 1 =  1-100,000 at 0.01/unit; Tier 2 =  100,001+ at 0.03/Token\nAUD: Tier 1 =  1-100,000 at 0.01/unit; Tier 2 =  100,001+ at 0.02/Token\nCAD: Tier 1 =  1-100,000 at 0.01/unit; Tier 2 =  100,001+ at 0.01/Token\n\n2. Prepayment charge (upfront pool)\n\nCharge Type: Recurring\nCharge Model: Flat Fee Pricing\nBilling Period: Month\nBilling Timing: In Advance\nList Price Base: Per Billing Period\nTrigger Event: Contract Effective\nEnd Date Condition: Subscription End\nDefault Quantity: 1\nPrepaid/Drawdown: Is Prepaid = true, Prepaid Operation Type = TopUp, Validity Period Type = Month\nRollover: Apply Last, Rollover Periods = 0, Rollover Period Length = 0\nAccounting Code: Deferred SaaS Revenue\nRevenue Recognition Rule: Recognize upon invoicing\nTaxable: false\nPricing (flat fee, per currency): USD = $1,000.00; EUR = 1000; AUD = 1000; CAD = 1000\n\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create the new product rate plan as described above.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Create a new billing account and subscription using your new PPDD rate plan.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Copy and then edit ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["llm_usage.csv"]}," with your new account number. Edit the event ids, e.g. replace ext-0001 with ext-10001. Event_id is defined as unique in the meter and the same event-ids will all be rejected."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is just one example of PPDD, while we used a cash 'pool' that was 'use or lose', you can use a 'unit' based prepay. We used a monthly validity period here, but as we saw with Commitment, longer periods such as quarterly or annual are supported."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Previous: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/get-started/tutorials/ai-monetization/interactive-walkthrough"},"children":["Interactive commitment walkthrough"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Next: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/get-started/tutorials/ai-monetization/review-qa"},"children":["Review material questions and answers"]}]}]},"headings":[{"value":"Prepay with drawdown (PPDD) billing","id":"prepay-with-drawdown-ppdd-billing","depth":1}],"frontmatter":{"seo":{"title":"Prepay with drawdown billing","description":"Collect cash up front and draw down prepaid token balances as customers consume AI.","keywords":"AI monetization, usage billing, mediation, prepaid with drawdown, commitment billing"},"markdown":{"toc":{"hide":false}}},"lastModified":"2026-10-23T10:11:56.862Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/get-started/tutorials/ai-monetization/prepay-with-drawdown","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}