Skip to content

The INFRO blog

Field guides for production AI

How to route, observe, pay for and govern AI traffic across the providers you already use — written by the team building INFRO. Every article shows its sources, when it was published, when it last changed and when it is next reviewed.

95 articles · 6 topics · Last updated · Editorial standards

Architecture & migrationCornerstone guide

What is an LLM gateway? A production engineer's guide

A working engineer's walkthrough of the LLM gateway pattern: the problems it absorbs, what happens to a request inside one, what it should never do, and how to test one before it sits in your request path.

GuideUpdated 10 min read

One application request entering a central AI gateway and branching to many model routes

Topics

Start here: operating LLMs in production

Five guides in the order the problems usually arrive: what the layer is, how requests choose a provider, what happens when one fails, how to see what happened, and what it all costs.

  1. 1What is an LLM gateway? A production engineer's guide10 min read
  2. 2LLM routing strategies for reliable production AI10 min read
  3. 3Automatic LLM failover: a production implementation guide9 min read
  4. 4LLM observability: what to measure in production11 min read
  5. 5The production LLM cost optimization playbook11 min read

Latest

All articles

Newest first. Each topic page lists the same articles by subject.

  1. AI image and video production for agenciesAgents and multimodal systemsGuide · 11 min
  2. AI gateway pricing models: markup, fees, requests, subscriptionCost and FinOpsComparison · 10 min
  3. AI model deprecation calendar: OpenAI, Anthropic, GoogleArchitecture and migrationGuide · 9 min
  4. Does an AI spend cap hold under 500 concurrent requests?Cost and FinOpsMethodology · 12 min
  5. The AI spend report leadership actually readsCost and FinOpsGuide · 12 min
  6. Classifiers in the LLM request path: route, guard, monitorArchitecture and migrationGuide · 11 min
  7. Decision models compared: OpenAI, Jev, Clef and moreEvaluation and modelsComparison · 12 min
  8. Estimate LLM cost before the request, not after the billCost and FinOpsGuide · 12 min
  9. AI gateway keys: environments, limits, rotation, off switchSecurity and governanceGuide · 12 min
  10. INFRO Studio: image, video and audio on your own providersAgents and multimodal systemsGuide · 12 min
  11. LLM guardrails at the gateway: checks before and afterSecurity and governanceGuide · 13 min
  12. LLM response caching: when exact-match pays, when it's wrongCost and FinOpsGuide · 13 min
  13. LLM routing rules: if-rules, failure rules, key spreadingRouting and reliabilityGuide · 13 min
  14. LLM spend limits compared: who caps spend on your own keysCost and FinOpsComparison · 12 min
  15. Manage your AI gateway from Claude Code or Cursor via MCPArchitecture and migrationGuide · 10 min
  16. MCP gateway: one governed entry point for agent toolsAgents and multimodal systemsGuide · 12 min
  17. OpenAI's October 23 shutdowns: find every call before it failsArchitecture and migrationGuide · 11 min
  18. September 3, 2026: provider incidents and failoverRouting and reliabilityAnalysis · 11 min
  19. Who owns your AI gateway? The 2026 acquisitionsArchitecture and migrationAnalysis · 12 min
  20. AI updates, September–October 2026: models, prices, shutdownsEvaluation and modelsAnalysis · 8 min
  21. How Jev cuts the cost of AI decisions: the arithmeticCost and FinOpsAnalysis · 9 min
  22. Jev for LLM guardrails and model routingSecurity and governanceGuide · 7 min
  23. Jev use cases: where typed AI decisions fit in a companyArchitecture and migrationGuide · 8 min
  24. What is Jev? TypeSafe's System One model, explainedEvaluation and modelsGuide · 11 min
  25. Image models compared: GPT Image 2, Nano Banana, FLUX.2Agents and multimodal systemsComparison · 7 min
  26. Showback and chargeback for AI spendCost and FinOpsGuide · 7 min
  27. What security reviewers ask about AI gatewaysSecurity and governanceChecklist · 7 min
  28. AI video models compared: Veo 3.1, Kling, Wan and Sora's exitAgents and multimodal systemsComparison · 8 min
  29. Claude Fable 5.1, Opus 5.5, Sonnet 5.5, Haiku 4.5 comparedEvaluation and modelsComparison · 8 min
  30. Async media jobs: webhooks, idempotency and retriesAgents and multimodal systemsGuide · 9 min
  31. Batch or synchronous: which LLM workloads should moveCost and FinOpsGuide · 7 min
  32. Bounding AI agent loops: step, time, token and spend limitsAgents and multimodal systemsGuide · 10 min
  33. BYOK gateway architecture: sealing, scoping and rotating keysSecurity and governanceGuide · 9 min
  34. Claude Fable 5.1 vs GPT-6 Astra: rates, caching and fitEvaluation and modelsComparison · 7 min
  35. Coding models compared: Opus 5.5, Kimi, Qwen3-Coder, MiniMaxEvaluation and modelsComparison · 8 min
  36. Cost per successful task: the LLM metric that mattersCost and FinOpsGuide · 7 min
  37. Frontier models compared: GPT-6, Fable 5.1, Gemini, GrokEvaluation and modelsComparison · 8 min
  38. GPT-6 Astra, Sol or Luna: choosing a tier per taskEvaluation and modelsComparison · 7 min
  39. Circuit breakers for LLM providers: throttling is not failureRouting and reliabilityAnalysis · 9 min
  40. Failover drills: test LLM provider failure before it happensRouting and reliabilityMethodology · 10 min
  41. A threat model for an LLM gateway, mapped to OWASPSecurity and governanceAnalysis · 8 min
  42. A prompt and payload logging policy for LLM trafficSecurity and governanceChecklist · 7 min
  43. Provider rate limits compared: headers, tiers and 429sRouting and reliabilityComparison · 10 min
  44. Five LLM spend anomalies and the signal each leavesCost and FinOpsAnalysis · 8 min
  45. Long context in production: cost, latency and context rotAgents and multimodal systemsGuide · 9 min
  46. MCP and tool calling in production: failure modes and fixesAgents and multimodal systemsGuide · 10 min
  47. Measuring time to first token and setting timeoutsRouting and reliabilityMethodology · 9 min
  48. From direct OpenAI calls to a gateway: a canary runbookArchitecture and migrationGuide · 9 min
  49. When a provider retires a model: a migration playbookEvaluation and modelsGuide · 8 min
  50. Azure OpenAI and Bedrock behind one gateway: ids and quotasArchitecture and migrationGuide · 8 min
  51. Multi-region AI traffic: latency, quotas and data locationArchitecture and migrationGuide · 8 min
  52. Negotiated rates vs list price: why AI cost estimates driftCost and FinOpsGuide · 8 min
  53. Same open-weight model, different hosts: a consistency testEvaluation and modelsMethodology · 8 min
  54. Prompt caching across providers: when it paysCost and FinOpsAnalysis · 7 min
  55. Prompt injection in production: defense in depthSecurity and governanceGuide · 8 min
  56. Least privilege for provider admin and usage keysSecurity and governanceGuide · 7 min
  57. Where the tokens go in a RAG pipelineAgents and multimodal systemsAnalysis · 8 min
  58. Reasoning tokens: the hidden cost of thinking modelsCost and FinOpsGuide · 7 min
  59. Reconciling estimated LLM spend with provider invoicesCost and FinOpsGuide · 8 min
  60. Self-hosted models behind an OpenAI-compatible endpointArchitecture and migrationGuide · 8 min
  61. Fast, low-cost models compared: Gemini Flash, GPT-6 LunaEvaluation and modelsComparison · 7 min
  62. Streaming LLM failures: interrupted streams and recoveryRouting and reliabilityGuide · 9 min
  63. Structured outputs across providers: JSON schema reliabilityEvaluation and modelsGuide · 9 min
  64. Tracing an AI agent run across many model callsAgents and multimodal systemsGuide · 9 min
  65. Attributing AI cost to customers, features and teamsCost and FinOpsGuide · 13 min
  66. Reconcile your AI bill: estimate vs. provider invoiceCost and FinOpsAnalysis · 16 min
  67. Tokens are not the unit you are billed inCost and FinOpsAnalysis · 15 min
  68. LLM routing strategies for reliable production AIRouting and reliabilityGuide · 10 min
  69. Automatic LLM failover: a production implementation guideRouting and reliabilityGuide · 9 min
  70. How to migrate to an OpenAI-compatible multi-model APIArchitecture and migrationBrief · 2 min
  71. LLM observability: what to measure in productionRouting and reliabilityGuide · 11 min
  72. The production LLM cost optimization playbookCost and FinOpsGuide · 11 min
  73. LLM FinOps: control AI spend without slowing product teamsCost and FinOpsBrief · 2 min
  74. How to evaluate LLMs on real production workloadsEvaluation and modelsGuide · 9 min
  75. The AI agent infrastructure stack for production systemsAgents and multimodal systemsBrief · 2 min
  76. Production RAG infrastructure: beyond the vector databaseAgents and multimodal systemsBrief · 2 min
  77. One multimodal AI API for text, image, video, and audioAgents and multimodal systemsBrief · 2 min
  78. AI infrastructure for startups: what to build and what to buyArchitecture and migrationBrief · 2 min
  79. What is an LLM gateway? A production engineer's guideArchitecture and migrationGuide · 10 min
  80. Enterprise AI gateway checklist: security, control, and scaleSecurity and governanceChecklist · 2 min
  81. Build vs buy an LLM gateway: the real engineering tradeoffArchitecture and migrationBrief · 1 min
  82. How to avoid LLM vendor lock-in without limiting your productArchitecture and migrationBrief · 1 min
  83. LLM latency optimization: improve time to first useful answerRouting and reliabilityBrief · 1 min
  84. How to secure LLM API keys in productionSecurity and governanceBrief · 1 min
  85. LLM spend controls: budgets, alerts, and hard limitsCost and FinOpsBrief · 1 min
  86. Chinese open-weight models in production: hosting and complianceEvaluation and modelsGuide · 9 min
  87. The production LLM checklist: controls to verify before launchRouting and reliabilityChecklist · 2 min
  88. Model access governance for fast-moving AI teamsSecurity and governanceBrief · 1 min
  89. Multi-model API architecture: design one stable AI boundaryArchitecture and migrationBrief · 1 min
  90. LLM incident response: diagnose failures across providersRouting and reliabilityBrief · 1 min
  91. Quality-aware LLM routing: optimize cost without blind downgradesRouting and reliabilityBrief · 1 min
  92. AI API pricing explained: tokens, media units, and real costCost and FinOpsBrief · 1 min
  93. LLM gateway security architecture: one enforceable boundarySecurity and governanceBrief · 1 min
  94. From one model to a multi-model AI platform: a staged planArchitecture and migrationBrief · 1 min
  95. OpenRouter alternatives in 2026: how AI gateway models differArchitecture and migrationComparison · 8 min