How “$500 in Credits” Really Works: Designing Quotas for LLM Coding Subscriptions

    Promotional plans that offer a small payment in exchange for a large amount of model credits are not necessarily loss-making. This article explains the underlying system through three mechanisms: credits recorded at public list prices, layered time-based usage gates, and pricing based on expected breakage. Together, these mechanisms show how platforms control costs while making high-value offers possible—and provide practical principles for designing subscription and quota systems.

    1. The Starting Point: How Can Platforms Offer Such Large Quotas?

    Many AI coding tools offer promotions such as “pay $10 and receive $500 in model credits.” From a pure cost perspective, this may seem difficult to justify. However, once these credits are understood as a unit of account rather than a direct commitment to incur $500 in costs, the model becomes easier to understand.

    This article examines three common mechanisms behind such offers:

    1. Credits recorded according to public retail prices;
    2. Multiple time-based usage limits;
    3. Pricing models based on expected utilization and breakage.

    These mechanisms explain not only why platforms can offer large nominal quotas, but also how similar systems can be designed for other subscription or quota-based products.

    2. Layer One: Credits Are Recorded at Retail Prices

    These tools typically assign each supported model its own monthly quota. Whenever a user makes a request, the platform calculates the cost using that model’s token prices and deducts the corresponding amount from the user’s credit balance.

    The important point is that the recorded price is usually the public list price, matching the price shown on the model provider’s official API documentation. For the high-quota model discussed in this example, the approximate prices are:

    1. Input: $1.4 per million tokens
    2. Cache hit: $0.26 per million tokens
    3. Output: $4.4 per million tokens

    The platform’s actual inference cost, however, may be much lower than the public price because it can rely on volume discounts, long-term capacity commitments, and other infrastructure arrangements.

    As a result, “$500 in credits” works much like the face value printed on a stored-value card: it represents accounting value, while the platform’s actual cost is calculated separately.

    This leads to an important conclusion: even the nominal amount a user can consume during a promotion has a natural upper bound. For example, suppose the weekly usage limit is $250. Based on the prices above, that amount can cover the usage of most individual users, including many heavy agent-based workflows. The majority of users will never consume the full nominal balance.

    3. Layer Two: Three Usage Gates

    The key question in a quota system is not simply how much credit a user receives, but when and how quickly that credit can be spent.

    A common implementation uses three nested gates:

    1. Sliding-window gate: For example, users can spend no more than 20% of their monthly quota within a five-hour window;
    2. Weekly gate: Users can spend no more than 50% of their monthly quota per week, with a fixed weekly reset time, such as 00:00 UTC every Monday;
    3. Monthly quota gate: The outermost hard limit.

    A simplified implementation might look like this:

    1. def allow_request(user, cost_usd):
    2. if user.window_usage_5h + cost_usd > user.monthly_quota * 0.20:
    3. return False
    4. if user.week_usage + cost_usd > user.monthly_quota * 0.50:
    5. return False
    6. if user.month_usage + cost_usd > user.monthly_quota:
    7. return False
    8. return True

    The effectiveness of this design comes from aligning the promotion period with the billing cycle. Suppose a promotion starts on Tuesday and ends on Sunday, placing the entire campaign within a single billing week. In that case, the weekly gate—set at 50% of the monthly quota—becomes the effective ceiling for the campaign.

    A user with $500 in nominal credits could therefore spend no more than $250 during the promotion. Even reaching that weekly limit would require sustained, high-intensity agent usage across at least three non-overlapping five-hour windows.

    These percentage-based gates are also commonly shared across models. If a user has already consumed 30% of the monthly quota through another model during the same week, the high-quota model has only 20% of the quota remaining within the weekly allowance—equivalent to $100 in nominal value for a $500 balance.

    A shared gate brings usage across multiple models under the same risk-control system and prevents users from bypassing limits by combining different models.

    4. Layer Three: The Economics of Breakage-Based Pricing

    The underlying economic principle is the well-established concept of breakage, which is widely used in prepaid products. Stored-value cards and annual gym memberships follow similar logic: pricing is based on the average actual usage of the customer base, while a larger face value generally means that a larger proportion of users will not consume the full amount.

    When a quota increases from tens of dollars to hundreds of dollars, most users’ actual usage changes very little. Their workload determines how much they consume, not the size of the nominal balance.

    The users who materially increase platform costs are mainly the small group of heavy users who are already constrained by the usage gates. The additional cost of serving this group can be justified by the customer acquisition value generated by a highly shareable offer such as “$10 for $500 in credits.”

    From a customer acquisition cost perspective, the economics can therefore make sense.

    5. Design Lessons for Quota Systems

    Several general principles can be extracted from this model:

    • Decouple accounting value from real cost: Use public retail prices as the accounting unit, while controlling actual costs through volume purchasing and capacity commitments;
    • Prioritize layered time-based gates over a single total limit: Combining a sliding window, weekly gate, and monthly gate keeps peak costs within a more predictable range;
    • Align promotion periods with billing cycles: When a promotion falls within a single billing period, it is naturally constrained by the existing cycle-based gates, eliminating the need for separate campaign-specific risk controls;
    • Share gates across the entire system: Aggregate usage across models and features to prevent users from bypassing limits through a single alternative path;
    • Use breakage rates for pricing: Set prices according to real usage distributions rather than nominal face value. The marketing appeal of a large balance is supported by predictable unused capacity.

    6. Conclusion

    “Buy a large quota for a small price” does not necessarily represent a loss-making promotion. It can be the result of a complete quota architecture built on retail-price accounting, layered usage controls, and breakage-based pricing.

    For users, understanding these rules makes it easier to estimate how much of the nominal balance they can realistically consume. For developers, the separation between accounting credits and usage gates provides a mature design pattern for subscription and quota-based systems.