Peak and Off-Peak Pricing for LLM APIs: The Compute Scheduling Logic Behind It

    This article breaks down why a major LLM inference service introduced peak and off-peak pricing and then added a flat weekend rate just six days later. It explains peak and off-peak pricing as a load-scheduling tool rather than a revenue tool, examines how fixed costs and marginal costs shape unit token cost, and shows why weekends are the hardest capacity gap to fill. Developers will learn how to read these price signals and shift flexible workloads to lower-cost windows.

    1. Introduction: What a Six-Day Patch Reveals

    A major LLM inference service first rolled out peak and off-peak pricing: higher unit prices during peak hours and lower prices during idle hours. Six days later, it added one more rule, charging the lowest tier for the entire day on Saturdays and Sundays.

    The two changes came so close together that they are easy to read as “raise prices to free up compute, then cut prices for public relations.” But if the real goal was to reduce overall inference load and reserve GPUs for training, the first price change alone would have been enough—doubling peak prices is sufficient to push non-urgent calls into the night, with no need to single out weekends.

    Adding that second cut suggests the first version’s load-shifting effect fell short of expectations. This article abstracts the adjustment into a general technical problem: given a fixed total compute budget, how an inference service can shape its load curve through price signals, and how developers can use those signals in reverse to optimize cost.

    2. Peak and Off-Peak Pricing Is a Scheduling Tool, Not a Revenue Tool

    To understand this adjustment, start with the role peak and off-peak pricing plays in compute operations.

    An inference cluster has one key cost characteristic: whether or not requests arrive, the GPUs are already powered on, the GPU memory is already allocated, and the data center cooling is already running. This is fixed cost. The marginal cost of a single request—mainly GPU memory bandwidth and compute usage during the decoding stage—does not rise linearly with load. In other words, moving utilization from 30% to 60% leaves total cost nearly unchanged, while the amortized cost per token drops significantly.

    For such a system, the ideal state is a load curve that stays as flat as possible: high utilization around the clock, 24/7, avoiding the two extremes of “queues during the day, idle GPUs late at night.” Price is the most direct scheduling lever for reaching that goal. It requires no changes to the scheduler and no forced task preemption. It only requires a large enough price gap between time windows, and workloads will migrate on their own.

    A minimal illustrative model shows what price-gap design is aiming for:

    1. # Illustration: relationship between load ratio and amortized unit cost (not real data)
    2. def unit_cost(load_ratio: float, fixed_cost: float, marginal: float) -> float:
    3. if load_ratio <= 0:
    4. return float("inf")
    5. return fixed_cost / load_ratio + marginal
    6. # Goal: make load_ratio across time windows converge to a similarly high level
    7. # Method: lower prices in windows with elastic demand, raise prices in windows with rigid demand

    The conclusion is straightforward: the width of the peak-to-off-peak price gap depends on the price elasticity of demand in each window, not on whether a given window “should be profitable.”

    3. Weekday Rhythms: Why Weekends Are the Hardest Gap to Fill

    Enterprise and developer API calls follow a strong weekday rhythm, the hardest structural constraint in peak and off-peak pricing design.

    • Monday to Friday, daytime: CI pipelines, data cleaning, report generation, batch AI agent jobs, and live production traffic stack up into a natural peak. This demand is largely rigid; raising prices suppresses only part of it, and the rest turns into queues and timeouts.
    • Weekday nights: live traffic falls off, leaving deferrable batch jobs. Off-peak discounts are enough to pull a batch of these tasks in.
    • Saturday and Sunday: a large share of business-to-business calls drops to zero. Enterprises do not run batches, approval workflows stall, and office networks shut down. What remains is mostly