Quick summary · Chapter 7
AI Services and Token Capacity
The essential ideas, decisions, and diagrams from this chapter. Follow the section links for the examples, calculations, and fuller argument.
Before any theory: the four ways to buy tokens
Suppose the support team has settled on a model. It can buy from the model maker or through a platform, and it may be able to negotiate what it pays. If callers can’t wait when the service gets busy, the team may also want to pay for throughput in advance. More than one of those arrangements can appear on the same bill.
The most direct path is the provider’s own API, usually priced by consumption: so much per million input tokens, so much per million output tokens, with separate treatment for caching and other features. Payment may be prepaid, invoiced, or governed by a contract; a usage-based price does not establish when the money changes hands.12
An existing cloud agreement can make a platform easier to buy through. Microsoft Foundry, Google’s Gemini Enterprise Agent Platform (formerly Vertex AI) and OpenRouter each have their own deployment, routing and billing arrangements.345 Even with the same model name on two quotes, I would ask which version and features each offers, who runs it, where the requests go, and which agreement covers them.
The third path is a negotiated agreement. Large consumers may negotiate discounts, usage minimums, and model-specific terms. Negotiation does not guarantee a discount or held supply, and the price of the same work can depend on which agreement it flows through.
The fourth path is provisioned capacity, because a workload can hit a throughput limit while its monthly spending is modest. Providers sell arrangements that reserve a defined level of processing capability, subject to the model, region, workload and service terms, and the charge continues while that capacity is idle. A spending commitment alone reserves no capacity.67
Token capacity is a different kind of capacity
The engineer investigating the refusal may be looking at a rate limit that caps requests, tokens or concurrency in a given window. The scope varies by model and account. On a shared service, even requests within the limit can be refused when the provider is busy. Queuing and retries then affect both the response time and the bill.8 Finance may find that the application ran out of prepaid credit or hit a budget control. Some controls send an alert, while others stop new work. A spending cutoff and a rate limit can look much the same to the application.
Procurement can tell us what we would pay to change the arrangement. The per-token price tells us little about the cost of unused commitments. A subscription or provisioned deployment has a different bill from pay-per-use, and any commitment can keep charging after demand disappears.
Sizing supply for the busy interval
The model product list and how to read it
Measure the efficiency of the models, not just the spend
Consumption efficiency counts accepted tasks per million tokens:
Use the same monthly window when comparing models within a task class.
Accepted ties the count to the business’s outcome standard; preserve whether the result needed correction and what that correction cost. Per task class keeps unlike work from being averaged together. Model-level comparisons are useful when a model performs the complete task. For a workflow spanning several models, report the end-to-end outcome once and use step-level costs and acceptance checks to explain each model’s contribution. Crediting every model with the same outcome and then summing would count the work repeatedly.
Recommended practices
At the monthly review, I would put the busiest interval beside the cost per accepted task. If the assistant slowed down, we can see whether the problem was a briefly exhausted limit or more calls per answer. If the average cost fell, the retry counts and acceptance results help tell us whether we improved the service. Ask the owner which work could wait before buying enough capacity to serve all of it at once.
If a provider changes, translate the spending agreement before copying its settings. A team can keep the same allowance and the same authority to exceed it while moving from a balance to a gateway quota or spend cap. Prove what happens when the new control trips, especially if people expect the application to finish work already underway.
OpenRouter, FAQ, https://openrouter.ai/docs/faq, and “API Credit & Rate Limits,” https://openrouter.ai/docs/api_reference/limits, checked October 4, 2026; Stripe, “Stripe agrees to acquire OpenRouter to help businesses optimize token routing and usage,” August 19, 2026, https://stripe.com/newsroom/news/stripe-agrees-to-acquire-openrouter. Product terms and transaction announcement; no transaction price is inferred.↩︎
OpenAI, “GPT-6 Astra: A new generation of intelligence,” September 3, 2026, https://openai.com/index/gpt-6-astra/. Launch Standard rates $10/$50 per million input/output tokens; Fast mode twice the Standard price and advertised at up to twice the speed. On OpenRouter, which reports weekly route traffic, Astra was among the most-used routes through early October 2026 and processed about 98.6 billion tokens on October 9, 2026, moving down the popularity list.↩︎
Microsoft, “Understanding deployment types in Microsoft Foundry Models,” https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/deployment-types, checked October 3, 2026. Deployment categories, supported processing boundaries and model-specific availability; managed-compute deployments are a separate option.↩︎
Google Cloud, “Use Provisioned Throughput,” https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/provisioned-throughput/use-provisioned-throughput, checked October 4, 2026. Default spillover, the dedicated-only 429, enforcement windows and spillover hidden by one-minute averages. Renamed from Vertex AI on April 22, 2026, per the release notes: https://docs.cloud.google.com/gemini-enterprise-agent-platform/release-notes.↩︎
OpenRouter, FAQ, https://openrouter.ai/docs/faq, and “API Credit & Rate Limits,” https://openrouter.ai/docs/api_reference/limits, checked October 4, 2026; Stripe, “Stripe agrees to acquire OpenRouter to help businesses optimize token routing and usage,” August 19, 2026, https://stripe.com/newsroom/news/stripe-agrees-to-acquire-openrouter. Product terms and transaction announcement; no transaction price is inferred.↩︎
Microsoft, “Provisioned throughput billing and cost management,” https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/provisioned-throughput-billing, checked October 4, 2026. Deployed throughput incurs hourly charges whether or not it is used; a reservation is a discount on those charges and does not guarantee capacity.↩︎
Google Cloud, “Use Provisioned Throughput,” https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/provisioned-throughput/use-provisioned-throughput, checked October 4, 2026. Default spillover, the dedicated-only 429, enforcement windows and spillover hidden by one-minute averages. Renamed from Vertex AI on April 22, 2026, per the release notes: https://docs.cloud.google.com/gemini-enterprise-agent-platform/release-notes.↩︎
OpenAI, “Rate limits,” https://developers.openai.com/api/docs/guides/rate-limits, and “Error codes,” https://developers.openai.com/api/docs/guides/error-codes; Google Cloud, “Standard PayGo,” https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/deploy/standard-paygo, and “Priority PayGo,” https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/deploy/priority-paygo; Microsoft, “Enable priority processing for Microsoft Foundry Models,” https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/priority-processing; AWS, “Service tiers for optimizing performance and cost,” https://docs.aws.amazon.com/bedrock/latest/userguide/service-tiers-inference.html; checked October 3, 2026. Documented ramp, retry, spend-limit and downgrade behavior; shared pool sizes are not published.↩︎