Azure AI Gateway & Cost Attribution

Architecture decision records

Each record states the decision, the alternatives that were rejected, and the consequences accepted in exchange. They exist because the reasoning behind an infrastructure choice is usually more valuable than the choice itself — and is the first thing lost when a project changes hands.

ADR Decision
0001 Native backend pools instead of retry-driven backend selection
0002 Managed identity only for gateway-to-Foundry access
0003 The azapi provider for backend pools
0004 Ratio allocation of actual spend, not gateway-estimated dollars
0005 Telemetry sink selection — custom metrics and a trace ledger
0006 Alias routing on GA primitives, not the preview unified model API
0007 Microsoft Entra ID for caller authentication and cost attribution
0008 Context-length pricing tiers
0009 Individual cost attribution from On-Behalf-Of tokens

← Back to documentation home