<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sahajmeet Kaur</title>
    <description>The latest articles on DEV Community by Sahajmeet Kaur (@sahajmeet_kaur_).</description>
    <link>https://dev.to/sahajmeet_kaur_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3978504%2F0ef5b27d-0f02-4f25-ab3a-6e9534bbf6e9.png</url>
      <title>DEV Community: Sahajmeet Kaur</title>
      <link>https://dev.to/sahajmeet_kaur_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sahajmeet_kaur_"/>
    <language>en</language>
    <item>
      <title>Databricks AI Gateway alternatives: the best options for 2026</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Fri, 31 Jul 2026 19:55:37 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/databricks-ai-gateway-alternatives-the-best-options-for-2026-4727</link>
      <guid>https://dev.to/sahajmeet_kaur_/databricks-ai-gateway-alternatives-the-best-options-for-2026-4727</guid>
      <description>&lt;p&gt;Databricks Mosaic AI Gateway is a governance and routing layer that lets you call external LLM providers and Databricks-hosted models through one policy-controlled endpoint, with rate limiting, payload logging, PII guardrails, and usage tracking. It is a solid fit if your models, data, and teams already live inside the lakehouse and Unity Catalog. The trouble starts when they do not. Teams running AI across clouds, outside Databricks, or in their own VPC keep looking for a gateway that is not tied to one platform. That is why teams search for a Databricks AI Gateway alternative.&lt;/p&gt;

&lt;p&gt;This guide compares the strongest options and where each fits. We lead with TrueFoundry, which we build, and which we think is the best overall choice for production LLM and agent workloads that need to run anywhere. Details are from public documentation as of mid-2026, so confirm current specifics before committing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to look for in a Databricks AI Gateway alternative
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Platform independence.&lt;/strong&gt; A gateway that runs in your own VPC or on-prem, not one anchored to a single data platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Broad LLM coverage.&lt;/strong&gt; One API in front of many providers, with routing, fallbacks, and load balancing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP and agent governance.&lt;/strong&gt; Tool-level control for agents, not just model-endpoint policies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First-class observability.&lt;/strong&gt; Token cost, latency percentiles, and per-tool metrics you can attribute by team or tenant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compliance.&lt;/strong&gt; SOC 2, HIPAA, and GDPR support with SSO, RBAC, and audit logging.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The best Databricks AI Gateway alternatives
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. TrueFoundry: best overall
&lt;/h3&gt;

&lt;p&gt;TrueFoundry is an AI-native gateway that runs in your own infrastructure and is not bound to any one data platform. Where Mosaic AI Gateway assumes the lakehouse, the &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;TrueFoundry AI Gateway&lt;/a&gt; is designed to sit in front of whatever models, clouds, and agents you already use.&lt;/p&gt;

&lt;p&gt;Where it pulls ahead of Databricks for teams running AI beyond the lakehouse:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1,000+ LLMs through one OpenAI-compatible API.&lt;/strong&gt; Switch models by changing the model name, same URL and credentials, across providers and clouds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs anywhere.&lt;/strong&gt; Full VPC, on-prem, air-gapped, or hybrid deployment with no request data leaving your domain, and no dependency on a single platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Native MCP gateway.&lt;/strong&gt; The &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP Gateway&lt;/a&gt; gives agents governed, tool-level access with OAuth, pre and post-tool guardrails, and a full audit trail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep observability.&lt;/strong&gt; A built-in &lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;metrics dashboard&lt;/a&gt; tracks token cost, latency percentiles (TTFT, ITL, P99), guardrail outcomes, and per-tool MCP metrics, and it is OpenTelemetry-compliant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model deployment included.&lt;/strong&gt; Serve any model on vLLM, TGI, or Triton in the same control plane as the gateway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance and compliance.&lt;/strong&gt; Roughly 3 to 4 ms of overhead at 350+ RPS on a single vCPU, with SOC 2, HIPAA, and GDPR support, SSO, RBAC, and SCIM.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; platform-independent, self-hosted in your VPC, MCP and agent governance, model deployment plus gateway in one place.&lt;br&gt;
&lt;strong&gt;Cons:&lt;/strong&gt; if you are all-in on Databricks and never leave it, the native gateway is closer at hand.&lt;br&gt;
&lt;strong&gt;Best for:&lt;/strong&gt; teams running LLMs and agents across clouds or outside Databricks that want AI-native routing and governance in their own infrastructure.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; enterprise pricing based on deployment and scale.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;Explore the TrueFoundry AI Gateway&lt;/a&gt; or &lt;a href="https://www.truefoundry.com/book-demo" rel="noopener noreferrer"&gt;book a demo&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. LiteLLM
&lt;/h3&gt;

&lt;p&gt;LiteLLM is an open-source proxy and Python SDK offering one OpenAI-compatible endpoint for 100+ providers and 2,500+ models, with routing, load balancing, spend tracking, and virtual keys. Most of it is MIT-licensed, with SSO and RBAC in a commercial tier. It is not tied to any data platform, which is often the whole point for teams leaving a lakehouse-bound gateway.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; developers who want the widest provider coverage and a self-hosted proxy with no per-request fee.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; open source; commercial tier for enterprise governance.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Portkey
&lt;/h3&gt;

&lt;p&gt;Portkey is an observability-first AI gateway that routes to a large model catalog and ships 50+ guardrails plus an MCP gateway. The open-source gateway is Apache 2.0; hosted plans start at $49 per month and meter recorded logs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; teams that want guardrails and request-level observability shipped as a product.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; free open source, $49/mo hosted, custom enterprise.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Kong AI Gateway
&lt;/h3&gt;

&lt;p&gt;Kong added open-source AI plugins to its Nginx-based API gateway, so LLM traffic inherits its large plugin ecosystem for auth, rate limiting, and traffic control. Good if Kong is already your API layer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; platform teams already standardized on Kong Gateway.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; AI plugins open source; Kong platform tiers for enterprise.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Cloudflare AI Gateway: best for edge caching
&lt;/h3&gt;

&lt;p&gt;Cloudflare AI Gateway is a lightweight edge layer focused on caching, rate limiting, and analytics in front of model providers. Easy to adopt on Cloudflare, though lighter on MCP and agent governance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; teams on Cloudflare wanting a simple caching and analytics layer.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; usage-based, with a free tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Databricks AI Gateway vs the alternatives: comparison
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;TrueFoundry&lt;/th&gt;
&lt;th&gt;Databricks (Mosaic)&lt;/th&gt;
&lt;th&gt;LiteLLM&lt;/th&gt;
&lt;th&gt;Portkey&lt;/th&gt;
&lt;th&gt;Kong&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Platform independence&lt;/td&gt;
&lt;td&gt;Runs anywhere&lt;/td&gt;
&lt;td&gt;Tied to lakehouse&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LLM coverage&lt;/td&gt;
&lt;td&gt;1,000+ via unified API&lt;/td&gt;
&lt;td&gt;External + Databricks models&lt;/td&gt;
&lt;td&gt;100+ providers&lt;/td&gt;
&lt;td&gt;1,600+&lt;/td&gt;
&lt;td&gt;Multiple via AI Proxy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MCP / agent governance&lt;/td&gt;
&lt;td&gt;Native, tool-level&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;MCP gateway&lt;/td&gt;
&lt;td&gt;Not a native focus&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VPC / on-prem&lt;/td&gt;
&lt;td&gt;Yes, no data egress&lt;/td&gt;
&lt;td&gt;Within Databricks&lt;/td&gt;
&lt;td&gt;Self-host&lt;/td&gt;
&lt;td&gt;Hosted or self-host&lt;/td&gt;
&lt;td&gt;Self-host&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model deployment&lt;/td&gt;
&lt;td&gt;Included (vLLM, TGI, Triton)&lt;/td&gt;
&lt;td&gt;Databricks serving&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Observability&lt;/td&gt;
&lt;td&gt;Built-in, per-tool&lt;/td&gt;
&lt;td&gt;Inference tables, system tables&lt;/td&gt;
&lt;td&gt;Via integrations&lt;/td&gt;
&lt;td&gt;Observability-first&lt;/td&gt;
&lt;td&gt;Via Kong plugins&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compliance&lt;/td&gt;
&lt;td&gt;SOC 2, HIPAA, GDPR&lt;/td&gt;
&lt;td&gt;Databricks enterprise&lt;/td&gt;
&lt;td&gt;Commercial tier&lt;/td&gt;
&lt;td&gt;Enterprise tier&lt;/td&gt;
&lt;td&gt;Kong enterprise&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Related reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry MCP Gateway overview (docs)&lt;/a&gt;: the agent and tool governance layer&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;Metrics Dashboard (docs)&lt;/a&gt;: token cost, latency, and per-tool metrics&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/blog/openrouter-vs-portkey" rel="noopener noreferrer"&gt;OpenRouter vs Portkey (2026)&lt;/a&gt;: how Portkey compares to another router&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Mosaic AI Gateway is a strong governance layer when everything lives in Databricks. Once AI has to run across clouds, outside the lakehouse, or in your own VPC, that coupling becomes the constraint. Among the Databricks AI Gateway alternatives, TrueFoundry is the best fit for production LLM and agent workloads because it is AI-native, platform-independent, and governs models and tools in one place.&lt;/p&gt;

&lt;p&gt;If you are running AI beyond the lakehouse, &lt;a href="https://www.truefoundry.com/book-demo" rel="noopener noreferrer"&gt;book a demo&lt;/a&gt; or explore the &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;TrueFoundry AI Gateway&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>apigateway</category>
      <category>llm</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Apigee alternatives: the best AI gateway options for 2026</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Fri, 31 Jul 2026 19:51:47 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/apigee-alternatives-the-best-ai-gateway-options-for-2026-e5</link>
      <guid>https://dev.to/sahajmeet_kaur_/apigee-alternatives-the-best-ai-gateway-options-for-2026-e5</guid>
      <description>&lt;p&gt;Apigee is a capable API management platform, and Google has added AI gateway features on top of it: model routing, token-based rate limiting, content moderation, and analytics. But Apigee was built to manage REST APIs, and teams shipping LLMs and agents keep running into the same gap. They want something AI-native, with first-class support for many model providers, MCP-based tool governance, and deployment inside their own VPC. That is why teams look for an Apigee alternative.&lt;/p&gt;

&lt;p&gt;This guide compares the strongest options and explains where each one fits. We start with TrueFoundry, which we build, and which we think is the best overall choice for production LLM and agent workloads. Everything here is drawn from public documentation as of mid-2026, so verify current details before you commit.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to look for in an Apigee alternative
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AI-native routing.&lt;/strong&gt; One API in front of many LLM providers, with fallbacks and load balancing designed for models, not just HTTP endpoints.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP and agent governance.&lt;/strong&gt; Tool-level access control for agents, not only request-level API policies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment control.&lt;/strong&gt; The ability to run in your own VPC or on-prem so prompts and data never leave your domain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability built for LLMs.&lt;/strong&gt; Token cost, latency percentiles, and tool-level metrics, not generic API dashboards.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compliance.&lt;/strong&gt; SOC 2, HIPAA, and GDPR support with SSO, RBAC, and audit logging.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The best Apigee alternatives
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. TrueFoundry: best overall
&lt;/h3&gt;

&lt;p&gt;TrueFoundry is an AI-native gateway built for exactly the workloads Apigee retrofits for. Instead of adding LLM features to an API manager, the &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;AI Gateway&lt;/a&gt; treats models, agents, and MCP tools as first-class citizens, and it runs in your own infrastructure.&lt;/p&gt;

&lt;p&gt;Where it pulls ahead of Apigee for AI teams:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1,000+ LLMs through one OpenAI-compatible API.&lt;/strong&gt; Switch models by changing the model name in the request, same URL and credentials.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full VPC, on-prem, air-gapped, or hybrid deployment.&lt;/strong&gt; No request data leaves your domain, which is the reason regulated teams pick it over managed API platforms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Native MCP gateway.&lt;/strong&gt; The &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP Gateway&lt;/a&gt; gives agents governed, tool-level access with OAuth, pre and post-tool guardrails, and a full audit trail. Apigee governs APIs; TrueFoundry governs agent tool calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep LLM observability.&lt;/strong&gt; A built-in &lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;metrics dashboard&lt;/a&gt; tracks token cost, latency percentiles (TTFT, ITL, P99), and per-tool MCP metrics, and it is OpenTelemetry-compliant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance that stays out of the hot path.&lt;/strong&gt; Roughly 3 to 4 ms of overhead at 350+ RPS on a single vCPU.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enterprise compliance.&lt;/strong&gt; SOC 2, HIPAA, and GDPR support with SSO, RBAC, SCIM, and immutable audit logs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; AI-native, self-hosted in your VPC, MCP and agent governance, model deployment and gateway in one control plane.&lt;br&gt;
&lt;strong&gt;Cons:&lt;/strong&gt; More platform than a team needs for a simple side project.&lt;br&gt;
&lt;strong&gt;Best for:&lt;/strong&gt; enterprises running LLMs and agents in production that want AI-native routing and governance in their own infrastructure.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; enterprise pricing based on deployment and scale.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;Explore the TrueFoundry AI Gateway&lt;/a&gt; or &lt;a href="https://www.truefoundry.com/book-demo" rel="noopener noreferrer"&gt;book a demo&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. LiteLLM
&lt;/h3&gt;

&lt;p&gt;LiteLLM is an open-source proxy and Python SDK that puts one OpenAI-compatible endpoint in front of 100+ providers and 2,500+ models. It is the fastest way to stop writing provider-specific code, and the proxy adds routing, load balancing, spend tracking, and virtual keys. Most of it is MIT-licensed, with SSO and RBAC in a commercial tier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; developers who want maximum provider coverage and a self-hosted proxy with no per-request fee.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; open source; commercial tier for enterprise governance.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Portkey
&lt;/h3&gt;

&lt;p&gt;Portkey is an AI gateway that leads with observability and guardrails. It routes to a large model catalog, ships 50+ guardrails, and includes an MCP gateway. The open-source gateway is Apache 2.0; hosted plans start at $49 per month and meter recorded logs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; teams that want observability and guardrails as a product rather than a build-it-yourself project.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; free open source, $49/mo hosted, custom enterprise.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Kong AI Gateway
&lt;/h3&gt;

&lt;p&gt;Kong added open-source AI plugins to its Nginx-based API gateway, so LLM calls become just another Kong service and inherit its 1,000+ plugins for auth, rate limiting, and traffic control. This is a natural fit if Kong is already your API layer, less so if you are starting fresh for AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; platform teams already standardized on Kong Gateway.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; AI plugins are open source; Kong platform tiers for enterprise.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Cloudflare AI Gateway
&lt;/h3&gt;

&lt;p&gt;Cloudflare AI Gateway sits at the edge and focuses on caching, rate limiting, and analytics in front of model providers. It is easy to adopt if you already run on Cloudflare and want a lightweight layer, though it is lighter on agent and MCP governance than a full platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best for:&lt;/strong&gt; teams on Cloudflare wanting a simple caching and analytics layer.&lt;br&gt;
&lt;strong&gt;Pricing:&lt;/strong&gt; usage-based, with a free tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Apigee vs the alternatives: comparison
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;TrueFoundry&lt;/th&gt;
&lt;th&gt;Apigee&lt;/th&gt;
&lt;th&gt;LiteLLM&lt;/th&gt;
&lt;th&gt;Portkey&lt;/th&gt;
&lt;th&gt;Kong&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AI-native design&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;API manager + AI features&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;AI plugins on API gateway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LLM coverage&lt;/td&gt;
&lt;td&gt;1,000+ via unified API&lt;/td&gt;
&lt;td&gt;Multiple via routing&lt;/td&gt;
&lt;td&gt;100+ providers&lt;/td&gt;
&lt;td&gt;1,600+&lt;/td&gt;
&lt;td&gt;Multiple via AI Proxy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MCP / agent governance&lt;/td&gt;
&lt;td&gt;Native, tool-level&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;MCP gateway&lt;/td&gt;
&lt;td&gt;Not a native focus&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VPC / on-prem&lt;/td&gt;
&lt;td&gt;Yes, no data egress&lt;/td&gt;
&lt;td&gt;Managed (Google Cloud)&lt;/td&gt;
&lt;td&gt;Self-host&lt;/td&gt;
&lt;td&gt;Hosted or self-host&lt;/td&gt;
&lt;td&gt;Self-host&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LLM observability&lt;/td&gt;
&lt;td&gt;Built-in, per-tool&lt;/td&gt;
&lt;td&gt;API-style analytics&lt;/td&gt;
&lt;td&gt;Via integrations&lt;/td&gt;
&lt;td&gt;Observability-first&lt;/td&gt;
&lt;td&gt;Via Kong plugins&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compliance&lt;/td&gt;
&lt;td&gt;SOC 2, HIPAA, GDPR&lt;/td&gt;
&lt;td&gt;Enterprise (GCP)&lt;/td&gt;
&lt;td&gt;Commercial tier&lt;/td&gt;
&lt;td&gt;Enterprise tier&lt;/td&gt;
&lt;td&gt;Kong enterprise&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Related reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/blog/kong-gateway-pricing-architecture-an-analysis-for-ai-teams-2026-edition" rel="noopener noreferrer"&gt;Kong Gateway pricing and architecture for AI teams (2026)&lt;/a&gt;: a deeper look at Kong for AI&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/blog/openrouter-vs-portkey" rel="noopener noreferrer"&gt;OpenRouter vs Portkey (2026)&lt;/a&gt;: how Portkey compares to another router&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry MCP Gateway overview (docs)&lt;/a&gt;: the agent and tool governance layer&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Agent observability: How to trace prompts, tools, and models in production?</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Fri, 31 Jul 2026 19:49:10 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/agent-observability-how-to-trace-prompts-tools-and-models-in-production-325p</link>
      <guid>https://dev.to/sahajmeet_kaur_/agent-observability-how-to-trace-prompts-tools-and-models-in-production-325p</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Agent observability is the practice of tracing everything a multi-step AI agent does: the prompts it sends, the tools it calls, the models it routes to, and what each step costs and how long it takes. A single agent request can fan out into dozens of model and tool calls, so per-request tracing is the only way to debug failures and control spend. TrueFoundry's AI Gateway captures this across LLM and MCP traffic in one dashboard.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When an agent misbehaves in production, the hard part is not knowing that it failed. It is knowing where. A single user request can trigger several model calls, a handful of tool invocations through MCP, a routing decision or two, and a guardrail check, all before an answer comes back. Without agent observability, all you see is a slow or wrong response and no trail explaining it.&lt;/p&gt;

&lt;p&gt;This guide covers what agent observability actually means, what you need to instrument, and how TrueFoundry's &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;AI Gateway&lt;/a&gt; captures it without you wiring up a tracing stack by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is agent observability?
&lt;/h2&gt;

&lt;p&gt;Agent observability is the ability to see, measure, and debug the full path of an agent request as it moves through models, tools, and policies. Classic application monitoring tells you a service returned a 500. Agent observability tells you that the agent called the &lt;code&gt;search_tickets&lt;/code&gt; tool, got a timeout, retried on a fallback model, hit a rate limit, and finally answered from a degraded context.&lt;/p&gt;

&lt;p&gt;The reason it needs its own name is that agents are not single API calls. They are loops. The model decides what to do, calls a tool, reads the result, and decides again. Each hop is a place where latency, cost, and correctness can drift, and each hop needs to be recorded.&lt;/p&gt;

&lt;h3&gt;
  
  
  Agent observability matters most when:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Your agents call tools through MCP servers and you need to know which tool is slow or failing.&lt;/li&gt;
&lt;li&gt;You route across multiple models or providers and want to see where traffic actually goes.&lt;/li&gt;
&lt;li&gt;You are trying to attribute cost to a team, application, or tenant.&lt;/li&gt;
&lt;li&gt;You run guardrails and need proof of what was blocked, flagged, or mutated.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to instrument in an agent
&lt;/h2&gt;

&lt;p&gt;Good agent observability comes down to capturing the right signals at every hop. The ones that matter in practice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Requests and throughput.&lt;/strong&gt; Requests per second across LLM calls, MCP tool calls, and agent responses, so you can see load and spot spikes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latency, broken down.&lt;/strong&gt; Not just an average. End-to-end request latency plus streaming-specific numbers like time to first token (TTFT), inter-token latency (ITL), and time per output token (TPOT), at P50, P90, and P99.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failures by type.&lt;/strong&gt; Failure rates split by HTTP status and error type, per model and per tool, so a flaky MCP server does not hide inside an aggregate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost and tokens.&lt;/strong&gt; Input and output tokens and dollar cost over time, attributable by model, user, team, or custom metadata.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool-level detail.&lt;/strong&gt; Which MCP tools get called most, which are slow, and which error out. Server-level averages are not enough when one tool is the problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Policy outcomes.&lt;/strong&gt; Guardrail results (allowed, blocked, flagged, mutated) and routing or rate-limit decisions, so governance is auditable.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you only track top-line latency and cost, you will see that something is wrong but not why. The tool and model breakdowns are where debugging actually happens.&lt;/p&gt;

&lt;h2&gt;
  
  
  How TrueFoundry handles agent observability
&lt;/h2&gt;

&lt;p&gt;TrueFoundry's AI Gateway is OpenTelemetry-compliant and traces every request from prompt to tool and model execution, so it plugs into Grafana, Datadog, or Prometheus if you already run them. It also ships a built-in &lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;Metrics Dashboard&lt;/a&gt; that covers the signals above across both LLM and MCP traffic. A few things it gives you without custom instrumentation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One view over LLM and MCP.&lt;/strong&gt; The overview tab shows total cost, total LLM calls, and total MCP calls together, with incoming requests broken down by endpoint (&lt;code&gt;/chat/completions&lt;/code&gt;, &lt;code&gt;/mcp-server&lt;/code&gt;, &lt;code&gt;/agent/responses&lt;/code&gt;, and more).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model metrics with real latency percentiles.&lt;/strong&gt; Requests per second, failure rate by error type, and latency including TTFT, ITL, and TPOT at P50 through P99, pivotable by model, user, team, virtual account, or custom metadata.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool-level MCP metrics.&lt;/strong&gt; A dedicated &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP metrics&lt;/a&gt; view drills from server down to individual tool, showing per-tool request rate, latency, and failure breakdown, plus a method-calls breakdown (&lt;code&gt;tools/list&lt;/code&gt;, &lt;code&gt;tools/call&lt;/code&gt;, and so on).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guardrail and routing visibility.&lt;/strong&gt; Guardrail evaluations by outcome, and routing metrics showing which rules fire, how often rate and budget limits are hit, and where traffic gets load-balanced.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export and API access.&lt;/strong&gt; Download aggregated metrics as CSV or pull them programmatically, including a dedicated agent-metrics endpoint.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On performance, the gateway is built to stay out of the hot path: it adds roughly 3 to 4 ms of overhead and handles 350+ RPS on a single vCPU, while unifying access to 1,000+ LLMs through one OpenAI-compatible API. You get the tracing without the gateway becoming the thing you have to debug.&lt;/p&gt;

&lt;h2&gt;
  
  
  Best practices for agent observability
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trace per request, not per service.&lt;/strong&gt; Tie every model and tool call back to the originating agent request so you can reconstruct the full path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attribute cost early.&lt;/strong&gt; Send team, tenant, or feature as metadata from day one, so chargeback and budget questions have an answer later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch tool-level failure rates.&lt;/strong&gt; A single slow or erroring MCP tool often explains a whole class of agent failures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alert on percentiles, not averages.&lt;/strong&gt; P99 latency is what your users feel when an agent stalls mid-loop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep guardrail outcomes auditable.&lt;/strong&gt; Log what was blocked or mutated, because "the agent said something it should not have" is a question you will eventually be asked.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Related reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry MCP Gateway overview (docs)&lt;/a&gt;: where tool-level MCP metrics come from&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;Metrics Dashboard (docs)&lt;/a&gt;: the full set of gateway metrics tabs&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;TrueFoundry AI Gateway&lt;/a&gt;: the product that captures LLM and agent traffic in one place&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>llmops</category>
      <category>agents</category>
      <category>aiops</category>
    </item>
    <item>
      <title>What is a virtual MCP server? Curating tools across MCP servers</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Fri, 31 Jul 2026 19:43:11 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/what-is-a-virtual-mcp-server-curating-tools-across-mcp-servers-28lh</link>
      <guid>https://dev.to/sahajmeet_kaur_/what-is-a-virtual-mcp-server-curating-tools-across-mcp-servers-28lh</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; A virtual MCP server combines tools from several real MCP servers into one curated server your app connects to. You pick only the safe tools, skip the destructive ones, and expose them as a single remote MCP server with no extra deployment. It is how you give an agent GitHub and Slack access without handing it &lt;code&gt;delete_project&lt;/code&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;As agents start calling live tools, the access question gets sharp fast. The Model Context Protocol (MCP) is great at connecting an AI agent to a data source or a set of tools, but a raw MCP server is usually all or nothing. You connect an agent to your GitHub MCP server and it can now see every tool that server exposes, including the ones that delete branches and close pull requests. A virtual MCP server fixes that by letting you hand an agent a curated subset of tools drawn from one or more underlying servers, without standing up anything new.&lt;/p&gt;

&lt;p&gt;This guide covers what a virtual MCP server is, how it works, how tool naming is handled, and where it fits inside a broader MCP gateway.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a virtual MCP server?
&lt;/h2&gt;

&lt;p&gt;A virtual MCP server combines tools from multiple MCP servers into a single, curated MCP server that your application connects to. Instead of pointing an agent at each backend server directly, you assemble the exact set of tools you want it to have and publish that set as one server.&lt;/p&gt;

&lt;p&gt;The example TrueFoundry uses in its &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/virtual-mcp-server" rel="noopener noreferrer"&gt;docs&lt;/a&gt; makes it concrete. Say you have MCP servers for GitHub and Slack registered on the gateway. A team building an agent needs access to both, but you do not want to expose tools like &lt;code&gt;delete_project&lt;/code&gt; or &lt;code&gt;delete_pr&lt;/code&gt;. With a virtual MCP server, you create a new server that takes only the safe subset from GitHub and Slack. That new server is reachable like any other remote MCP server, and it does not require a deployment. The gateway manages it.&lt;/p&gt;

&lt;p&gt;The practical win is least privilege for agents. You decide what an agent can touch at the tool level, not the server level.&lt;/p&gt;

&lt;h3&gt;
  
  
  A virtual MCP server works well when:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;An agent needs tools from more than one backend, but not all of them.&lt;/li&gt;
&lt;li&gt;You want to strip destructive or high-risk tools before an agent ever sees them.&lt;/li&gt;
&lt;li&gt;Different teams or applications need different slices of the same underlying servers.&lt;/li&gt;
&lt;li&gt;You want to scope tool access without deploying or maintaining a bespoke proxy server.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How a virtual MCP server works
&lt;/h2&gt;

&lt;p&gt;The flow is straightforward once the underlying servers are registered on your MCP gateway.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Register your real MCP servers.&lt;/strong&gt; Connect the backends you want to draw from, for example GitHub and Slack, to the gateway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select the safe tools.&lt;/strong&gt; Pick the subset of tools from those servers that the agent should have. Leave out anything destructive or out of scope.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Publish the virtual server.&lt;/strong&gt; The gateway exposes your selected tools as a single virtual MCP server. There is no separate deployment to run or scale, since the gateway hosts it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connect your app.&lt;/strong&gt; Point your agent or MCP client at the virtual server the same way you would any remote MCP server, over streamable HTTP.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;From the agent's side, it just sees one clean server with a sensible set of tools. All the curation happens at the gateway.&lt;/p&gt;

&lt;h2&gt;
  
  
  How tool names are handled
&lt;/h2&gt;

&lt;p&gt;When you pull tools from several servers into one virtual server, name collisions are a real risk. Two backends can both expose a &lt;code&gt;create_issue&lt;/code&gt;, for instance. TrueFoundry handles this by keeping each tool's original name and appending a short random suffix, so &lt;code&gt;create_issue&lt;/code&gt; becomes something like &lt;code&gt;create_issue_a1b2c3&lt;/code&gt;. The suffix keeps every tool unique within the virtual server.&lt;/p&gt;

&lt;p&gt;Worth noting why it is done this way rather than prefixing with the server name (like &lt;code&gt;github-create_issue&lt;/code&gt;). The MCP spec recommends keeping tool names within 64 characters, and a long server name can eat most of that budget. Since the tool name is the strongest signal an LLM uses when deciding which tool to call, preserving it in full while adding a short suffix keeps names both meaningful and collision-free.&lt;/p&gt;

&lt;h2&gt;
  
  
  Virtual MCP server vs a raw MCP server
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aspect&lt;/th&gt;
&lt;th&gt;Raw MCP server&lt;/th&gt;
&lt;th&gt;Virtual MCP server&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Tool scope&lt;/td&gt;
&lt;td&gt;All tools the server exposes&lt;/td&gt;
&lt;td&gt;Curated subset you choose&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sources&lt;/td&gt;
&lt;td&gt;One backend&lt;/td&gt;
&lt;td&gt;One or more backends combined&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Access control&lt;/td&gt;
&lt;td&gt;Server-level, all or nothing&lt;/td&gt;
&lt;td&gt;Tool-level, least privilege&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;You run and manage the server&lt;/td&gt;
&lt;td&gt;Managed by the gateway, no deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best fit&lt;/td&gt;
&lt;td&gt;Full trusted access&lt;/td&gt;
&lt;td&gt;Scoped access per team, app, or workflow&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The two are not competitors. A virtual MCP server sits on top of your real servers and gives you a governance layer over them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where virtual MCP servers fit in the MCP gateway
&lt;/h2&gt;

&lt;p&gt;A virtual MCP server is one feature of a larger job: giving enterprise agents governed access to tools. On its own, MCP adoption tends to sprawl. Every developer wires up their own server connections in Cursor, VS Code, or Claude Code, credentials scatter across machines, and security teams get no visibility into which tools are being called or by whom.&lt;/p&gt;

&lt;p&gt;An MCP gateway centralizes that. The &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry MCP Gateway&lt;/a&gt; gives AI agents a single point of access to many MCP servers, with a few capabilities that make virtual servers more useful in production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Standard OAuth flows.&lt;/strong&gt; Agents and developers authenticate through standard OAuth 2LO and 3LO flows for enterprise MCP servers, instead of ad-hoc keys per tool.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Governed, tool-level access.&lt;/strong&gt; Access control is enforced centrally, which is what makes the curated tool subset in a virtual server meaningful rather than cosmetic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pre-tool and post-tool guardrails.&lt;/strong&gt; You can run checks before and after a tool call to enforce policy, so a curated tool set can also be a guarded one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full audit trail and metrics.&lt;/strong&gt; Every tool call is visible, with request rates, latency, failures, and usage patterns per server and per tool.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More ways to build servers.&lt;/strong&gt; Beyond curating existing servers, the gateway can turn an OpenAPI spec into MCP tools and run CLI-style stdio servers as managed, hosted endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you need to pass custom credentials through to the backends behind a virtual server, the gateway supports an &lt;code&gt;x-tfy-mcp-headers&lt;/code&gt; header that forwards per-server headers to the underlying MCP servers. One current limitation to keep in mind: virtual MCP servers today support listing and calling tools, so plan around that if you rely on other MCP features.&lt;/p&gt;

&lt;h2&gt;
  
  
  When to use a virtual MCP server
&lt;/h2&gt;

&lt;p&gt;Reach for a virtual MCP server when tool access needs to be scoped rather than wholesale. A few common cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Least-privilege agents.&lt;/strong&gt; Give an agent exactly the tools its task needs and nothing that can cause damage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-team or per-app tool sets.&lt;/strong&gt; Publish different curated servers for different consumers off the same backends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-tenant tool catalogs.&lt;/strong&gt; Offer curated, discoverable tool sets to different tenants without exposing raw servers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Related reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/blog/introducing-truefoundry-mcp-gateway" rel="noopener noreferrer"&gt;Introducing the TrueFoundry MCP Gateway for LLM apps&lt;/a&gt;: the product context behind virtual servers&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry MCP Gateway overview (docs)&lt;/a&gt;: registration, auth, and governance&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/virtual-mcp-server" rel="noopener noreferrer"&gt;Virtual MCP Server (docs)&lt;/a&gt;: the reference for the feature described here&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>llm</category>
      <category>devops</category>
    </item>
    <item>
      <title>LLM Gateways Explained: What They Do and Why You Need One</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Tue, 28 Jul 2026 10:58:25 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/llm-gateways-explained-what-they-do-and-why-you-need-one-ho7</link>
      <guid>https://dev.to/sahajmeet_kaur_/llm-gateways-explained-what-they-do-and-why-you-need-one-ho7</guid>
      <description>&lt;p&gt;Without a gateway, your application code holds a provider SDK directly and calls it. Add a second provider and you're holding two SDKs with two different request shapes, with an if/else deciding which one to use. An LLM gateway sits in front of every provider instead, exposes one API, and translates your request into whatever the actual provider expects on the other side - this is what that looks like using TrueFoundry's gateway specifically.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An LLM gateway is one endpoint in front of every model provider, so your code changes a model name string instead of a client library when you switch or add one.&lt;/li&gt;
&lt;li&gt;The three concrete reasons teams add one - provider outages, rate limits, and SDK lock-in - are all things TrueFoundry's gateway handles as routing features (automatic failover, per-user/team rate limits, one OpenAI-compatible schema across 1,000+ models), not things you build separately.&lt;/li&gt;
&lt;li&gt;Once every call passes through one place, that place is also where RBAC, budgets, guardrails, and MCP governance naturally live - not because the gateway is "for" governance, but because it's the only component that sees every request.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What the gateway actually does
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/intro-to-llm-gateway" rel="noopener noreferrer"&gt;TrueFoundry's AI Gateway&lt;/a&gt; exposes an OpenAI-compatible schema in front of 1,000+ models across providers, with &lt;a href="https://www.truefoundry.com/docs/ai-gateway/native-sdk-support" rel="noopener noreferrer"&gt;native SDK compatibility&lt;/a&gt; for OpenAI's and Anthropic's own client libraries - meaning your existing code often works with just a base-URL change, not a rewrite. Your application never holds a provider SDK directly; it points at the gateway and changes a model name string to switch what's behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reason one: providers go down, and you don't want to go down with them
&lt;/h2&gt;

&lt;p&gt;OpenAI and Anthropic both had multiple incidents on their public status pages between February and May of 2025 - not exotic, just the reality of depending on someone else's infrastructure. &lt;a href="https://www.truefoundry.com/docs/ai-gateway/virtual-model" rel="noopener noreferrer"&gt;Load balancing and fallback&lt;/a&gt; routes across multiple targets by weight, latency, or priority with automatic retries, so a provider outage means failing over to a healthy target instead of your application going down with it. The same mechanism supports canary rollouts - routing a small percentage of traffic to a new model and watching it before trusting it with everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reason two: rate limits hit hardest exactly when you can't afford them
&lt;/h2&gt;

&lt;p&gt;Azure OpenAI, like most providers, enforces tokens-per-minute and requests-per-minute quotas per model per region. Under a traffic spike, or a bug that puts an agent into a retry loop, you hit that ceiling and start getting 429s. &lt;a href="https://www.truefoundry.com/docs/ai-gateway/ratelimiting" rel="noopener noreferrer"&gt;Rate limiting&lt;/a&gt; applied per user, team, or application means a gateway that understands the limit can route overflow elsewhere instead of just failing the request - and it doubles as a cost control, capping what a single bug or a single team can run up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reason three: SDK lock-in makes switching models expensive later
&lt;/h2&gt;

&lt;p&gt;If your codebase calls a specific provider's SDK in forty places, swapping in a cheaper or better model six months from now means touching forty places. With the gateway's unified schema, that's a config change - a model name string - not an application rewrite.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get once everything routes through one place
&lt;/h2&gt;

&lt;p&gt;This is the part that surprises people who adopted a gateway purely for routing: &lt;a href="https://www.truefoundry.com/docs/ai-gateway/gateway-access-control" rel="noopener noreferrer"&gt;RBAC scoped to teams and users&lt;/a&gt;, &lt;a href="https://www.truefoundry.com/docs/ai-gateway/budgetlimiting" rel="noopener noreferrer"&gt;budgets with an audit-first rollout&lt;/a&gt; before you switch on hard blocking, &lt;a href="https://www.truefoundry.com/docs/ai-gateway/guardrails-overview" rel="noopener noreferrer"&gt;PII/prompt-injection/content-moderation guardrails&lt;/a&gt;, and a native &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP Gateway&lt;/a&gt; for governing tool calls - all sitting on the same request path as the routing, because that path is the only place that sees every call regardless of which team or model made it. None of it is a separate system you have to keep synchronized with the gateway; it's configuration on the same one.&lt;/p&gt;

&lt;p&gt;Deployment is the other piece worth knowing up front: &lt;a href="https://www.truefoundry.com/docs/ai-gateway/modes-of-deployment" rel="noopener noreferrer"&gt;managed, hybrid, or fully self-hosted in your own VPC&lt;/a&gt;, so "we can't send traffic through someone else's infrastructure" doesn't rule this out the way it would with a purely hosted option.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where I'd push back on this
&lt;/h2&gt;

&lt;p&gt;If you're calling one provider, for one use case, at low volume, none of this is solving a problem you have yet. Add a gateway once you're multi-provider, multi-team, or once an outage or a rate-limit wall has actually cost you something - not before, and not because RBAC and budgets sound like good practice in the abstract. &lt;a href="https://dev.to/gauravdagde/llm-gateway-vs-llm-proxy-vs-llm-router-whats-the-difference-3o5a"&gt;This breakdown of gateway vs. proxy vs. router terminology&lt;/a&gt; is a good next read if the terms are still blurring together, and there's a solid walkthrough of &lt;a href="https://dev.to/crosspostr/implementing-automatic-llm-provider-fallback-in-ai-agents-using-an-llm-gateway-openai-anthropic-kg2"&gt;wiring automatic provider fallback into an agent&lt;/a&gt; if you want to see the failover pattern in code first.&lt;/p&gt;

&lt;p&gt;What pushed you to add a gateway, if you have one - an outage, a rate-limit wall, or something else entirely?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>LLM Cost Controls That Actually Work: Budgets, Rate Limits, and Per-Team Attribution</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Sat, 25 Jul 2026 17:28:31 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/llm-cost-controls-that-actually-work-budgets-rate-limits-and-per-team-attribution-30c3</link>
      <guid>https://dev.to/sahajmeet_kaur_/llm-cost-controls-that-actually-work-budgets-rate-limits-and-per-team-attribution-30c3</guid>
      <description>&lt;p&gt;The first sign something's wrong with LLM spend is usually a bill, three weeks after the damage is done. By then the agent that got stuck in a retry loop, or the prompt that kept growing every turn, has already run a thousand more times. Real cost control means seeing the spend as it happens and having a lever to stop it before the invoice, not after.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Cost visibility has to be real-time and per-model/per-team, not a monthly invoice - by the time a bill shows an anomaly, it's already happened repeatedly.&lt;/li&gt;
&lt;li&gt;Budgets should roll out in audit mode first (watch what would have been blocked) before you flip on hard enforcement, and rate limiting is a cost lever in its own right, not just a reliability one.&lt;/li&gt;
&lt;li&gt;None of this works without attribution - metadata tagging (team, cost center) has to be enforced on every request, or your cost dashboard just shows one big number with no way to trace it back to a cause.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What TrueFoundry AI Gateway actually is
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/intro-to-llm-gateway" rel="noopener noreferrer"&gt;TrueFoundry's AI Gateway&lt;/a&gt;, a single OpenAI-compatible endpoint in front of 1,000+ models across providers - your application code points at one URL and changes a model name string to switch providers, instead of holding a different client per vendor. It &lt;a href="https://www.truefoundry.com/docs/ai-gateway/modes-of-deployment" rel="noopener noreferrer"&gt;runs managed, hybrid, or fully self-hosted in your own VPC&lt;/a&gt;, and cost controls aren't a separate add-on bolted onto that routing layer - they sit alongside the same &lt;a href="https://www.truefoundry.com/docs/ai-gateway/gateway-access-control" rel="noopener noreferrer"&gt;RBAC&lt;/a&gt;, &lt;a href="https://www.truefoundry.com/docs/ai-gateway/guardrails-overview" rel="noopener noreferrer"&gt;guardrails&lt;/a&gt;, and &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP governance&lt;/a&gt; that also run through the gateway, using the same request metadata and the same policy engine. That's the reason budgets, rate limits, and attribution can share one metadata model instead of being three separate systems you have to keep in sync.&lt;/p&gt;

&lt;h2&gt;
  
  
  See the spend as it happens, not after the invoice
&lt;/h2&gt;

&lt;p&gt;A &lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;metrics dashboard&lt;/a&gt; that tracks cost per model and per provider in real time is the actual starting point - not because dashboards are inherently useful, but because the alternative (a monthly invoice) tells you about a problem three to four weeks after it started, by which point whatever caused it has already run at that same rate the whole time. If a request is slow because it's generating 4,000 output tokens per call, that's also the request driving your bill, and the fix (lower &lt;code&gt;max_tokens&lt;/code&gt;, a smaller model for that specific path) is the same fix either way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Budgets that don't break things on day one
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/budgetlimiting" rel="noopener noreferrer"&gt;Budget limiting&lt;/a&gt; supports a hard block once a spend cap is hit, but the useful part is the rollout path: deploy a budget rule in &lt;strong&gt;audit mode&lt;/strong&gt; first, watch real traffic against it for a full budget period, and only switch on enforcement once you trust the number. That matters because guessing a cap wrong in either direction is expensive - too low and you block legitimate traffic, too high and the rule does nothing. Audit mode answers "how often would real traffic actually have exceeded this" before you commit to blocking anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rate limits are a cost control, not just a reliability one
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/ratelimiting" rel="noopener noreferrer"&gt;Rate limiting&lt;/a&gt; usually gets framed as a reliability feature, but it's just as much a cost one: capping cost per developer or team means a bug - an agent in an infinite loop, a script that fires more requests than intended - has a ceiling instead of running up an unbounded bill. It's also how you'd tier cost across customers if you're serving multiple accounts with different usage allowances on the same underlying models, or burst from an on-prem GPU to a per-token cloud API without letting that burst traffic overwhelm the on-prem deployment when it's supposed to be an occasional overflow valve, not the default path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Attribution: the part that makes the dashboard mean something
&lt;/h2&gt;

&lt;p&gt;Cost tracking without attribution just tells you a total. &lt;a href="https://www.truefoundry.com/docs/ai-gateway/request-headers#automatic-metadata-injection" rel="noopener noreferrer"&gt;Automatic metadata injection&lt;/a&gt; tags every request from a virtual account with metadata like &lt;code&gt;team&lt;/code&gt; or &lt;code&gt;cost_center&lt;/code&gt; without any client-side code changes, and a &lt;a href="https://www.truefoundry.com/docs/ai-gateway/metadata-validation" rel="noopener noreferrer"&gt;metadata validation guardrail&lt;/a&gt; can require those keys be present - and match a specific format - on every request before it reaches a model, rejecting anything that doesn't carry proper attribution instead of letting it through as an anonymous cost:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;cost-attribution-enforcement&lt;/span&gt;
&lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gateway-guardrails-config&lt;/span&gt;
&lt;span class="na"&gt;rules&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;require-cost-attribution&lt;/span&gt;
    &lt;span class="na"&gt;when&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;{}&lt;/span&gt;
    &lt;span class="na"&gt;llm_input_guardrails&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;&amp;lt;guardrail-group&amp;gt;/cost-attribution&lt;/span&gt;
    &lt;span class="na"&gt;llm_output_guardrails&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Combined with tagged virtual accounts, this means cost reports can actually be broken down by team and cost center automatically, rather than reconstructed after the fact from whoever remembers which application made which calls.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two more levers worth using: caching and routing
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/caching" rel="noopener noreferrer"&gt;Semantic caching&lt;/a&gt; cuts cost and latency on requests that are semantically similar to ones already served, which matters more than it sounds like for anything with repeated or templated queries. And &lt;a href="https://www.truefoundry.com/docs/ai-gateway/virtual-model" rel="noopener noreferrer"&gt;load balancing across models&lt;/a&gt; can route by weight or by cost as one of the criteria, not just latency or availability, so a canary rollout of a cheaper model can absorb a percentage of traffic and prove itself before taking over the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this still requires a human decision
&lt;/h2&gt;

&lt;p&gt;None of this decides what your budgets &lt;em&gt;should&lt;/em&gt; be, or which teams should get which limits - it gives you the mechanism to enforce whatever number you land on, and the audit-mode step to test that number before it's load-bearing. The actual limits are still a judgment call, usually made after watching audit mode for a full cycle rather than guessed upfront.&lt;/p&gt;

&lt;p&gt;How is your team attributing LLM cost right now - tagged at the gateway automatically, or reconstructed after the fact from application logs? Curious how common real-time, per-team attribution actually is versus a shared bill nobody's broken down.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>MCP Access Control: RBAC, Per-Tool Restrictions, and Approval Gates for Your MCP Servers</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Sat, 25 Jul 2026 11:28:57 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/mcp-access-control-rbac-per-tool-restrictions-and-approval-gates-for-your-mcp-servers-5g25</link>
      <guid>https://dev.to/sahajmeet_kaur_/mcp-access-control-rbac-per-tool-restrictions-and-approval-gates-for-your-mcp-servers-5g25</guid>
      <description>&lt;p&gt;An MCP server that anyone with the shared API key can call is fine right up until that server can also delete records, send messages, or push code. Access control for MCP isn't one setting - it's at least four separate questions: who can connect at all, which servers they can reach, which specific tools within those servers, and whether a given tool call needs a human to sign off before it runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;MCP access control has to answer four questions separately: who can connect (inbound auth), which servers and tools they can reach (RBAC), whether specific actions need conditional rules beyond allow/deny (policy), and whether destructive tool calls pause for human approval.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry's MCP Gateway&lt;/a&gt; covers all four as configuration: RBAC scoped to teams and users, Cedar-based conditional policy, and approval gates on destructive tools, with every call traced.&lt;/li&gt;
&lt;li&gt;If you're a single developer connecting to a single MCP server, none of this is necessary yet - a plain transport proxy is the right amount of tooling until more than one person or more than one server is involved.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  TrueFoundry MCP Gateway
&lt;/h2&gt;

&lt;p&gt;TrueFoundry’s approach is simple: if organizations are already managing AI infrastructure for LLMs, there is little value in fragmenting operations across separate systems for MCP tools. Instead, TrueFoundry unifies LLM infrastructure and MCP management into a single control plane with shared security, observability, governance, and performance characteristics. This centralized approach simplifies AI operations while giving engineering teams a consolidated platform for monitoring, deployment, and cost management.&lt;/p&gt;

&lt;p&gt;One of the platform’s standout advantages is its performance-focused architecture. TrueFoundry achieves sub-3ms latency under load by handling authentication and rate limiting in-memory instead of relying on database queries. For AI agents making hundreds of MCP tool calls per interaction, this reduction in latency compounds into significantly faster and more responsive systems.&lt;/p&gt;

&lt;p&gt;The platform also emphasizes enterprise-grade operational simplicity. Teams can deploy containerized MCP servers, integrate them directly with the AI Gateway, and manage authentication, access control, custom configurations, guardrails, fallback mechanisms, load balancing, and rate limits from a unified interface. Interactive playgrounds further accelerate development by generating production-ready code snippets across multiple languages, helping teams move quickly from experimentation to deployment.&lt;/p&gt;

&lt;p&gt;Most importantly, TrueFoundry delivers unified observability and billing. Organizations already tracking LLM performance and costs gain visibility into MCP tool usage and infrastructure metrics from the same dashboard, preventing operational blind spots and unexpected budget overruns.&lt;/p&gt;

&lt;p&gt;Key Features of TrueFoundry&lt;br&gt;
Unified infrastructure for both LLMs and MCP tools through a single control plane&lt;br&gt;
Sub-3ms latency under load with in-memory authentication and rate limiting&lt;br&gt;
MCP Server Groups for logical isolation across teams and environments&lt;br&gt;
Containerized MCP server deployment with centralized orchestration&lt;br&gt;
Integrated AI Gateway with authentication and access control&lt;br&gt;
Custom configurations, guardrails, fallback mechanisms, and load balancing&lt;br&gt;
Built-in rate limiting and cloud-based model deployment support&lt;br&gt;
Interactive playground with production-ready code generation in multiple languages&lt;br&gt;
Unified observability, monitoring, and billing across AI workloads and MCP tool usage&lt;br&gt;
Integrations with platforms such as n8n, Slack, and Claude Code&lt;/p&gt;
&lt;h2&gt;
  
  
  The four questions access control actually has to answer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Who can connect to the gateway at all.&lt;/strong&gt; &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-gateway-auth-security" rel="noopener noreferrer"&gt;Inbound authentication&lt;/a&gt; supports a TrueFoundry API key, an identity provider token, or TrueFoundry OAuth, and the gateway validates whichever one shows up before anything else happens.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm1xeef34n0imxe1tlacp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm1xeef34n0imxe1tlacp.png" alt=" " width="800" height="592"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Which servers and tools a given user or team can reach.&lt;/strong&gt; This is RBAC in the ordinary sense: grant a team access to a server, and separately decide who can manage that server's configuration versus who can only call it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Whether a specific action needs a rule beyond simple allow or deny.&lt;/strong&gt; Plain RBAC answers "can this user reach this server." It doesn't answer "can this user's support-copilot agent write to Jira, given that the same user's engineering agent is allowed to." For that, TrueFoundry uses &lt;a href="https://www.truefoundry.com/docs/ai-gateway/cedar-guardrails" rel="noopener noreferrer"&gt;Cedar policy&lt;/a&gt;, evaluated as a principal/action/resource/context tuple on every request, default-deny:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// The support copilot may only READ Jira, even when acting for any user.
permit (
  principal == AgentIdentity::"support-copilot",
  action == Action::"mcp:callTool",
  resource == Tool::"jira/issues.read"
);

// Block destructive tools for any agent more than two hops deep in a chain.
forbid (
  principal,
  action == Action::"mcp:callTool",
  resource in ToolGroup::"destructive"
)
when { context.actor_chain.length &amp;gt; 2 };
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Whether a destructive action needs a human to actually confirm it.&lt;/strong&gt; Tools marked destructive can be configured to pause and wait for user confirmation instead of executing the moment they're called - the difference between an agent that can &lt;em&gt;propose&lt;/em&gt; deleting a record and one that can just delete it.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Watching what actually gets called
&lt;/h2&gt;

&lt;p&gt;Access control without visibility into what's happening is half the job. The &lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics#mcp-metrics" rel="noopener noreferrer"&gt;MCP Metrics dashboard&lt;/a&gt; has a server-level view (request rate, latency percentiles, failure rate by error type, which JSON-RPC methods make up the traffic) and a tool-level view for drilling into individual tools across every server:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4fvkaaqntjle31rnog34.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4fvkaaqntjle31rnog34.png" alt=" " width="799" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Both views can be sliced by user, team, or virtual account, which is what turns "a tool failed" into "this specific team's agent is failing this specific tool at this rate."&lt;/p&gt;

&lt;h2&gt;
  
  
  Where guardrails fit in alongside access control
&lt;/h2&gt;

&lt;p&gt;Access control decides whether a call is allowed to happen at all. Guardrails inspect the &lt;em&gt;content&lt;/em&gt; of a call that's already been permitted - catching a tool argument or response that looks like a secret, a prompt injection payload, or a policy violation the RBAC layer was never meant to catch. The same &lt;a href="https://www.truefoundry.com/docs/ai-gateway/guardrails-overview" rel="noopener noreferrer"&gt;guardrail metrics dashboard&lt;/a&gt; tracks evaluated requests and blocked/mutated rates for these checks:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffcne1s26zchblapk60aq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffcne1s26zchblapk60aq.png" alt=" " width="800" height="423"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What's the access-control gap your team has actually hit first - RBAC across teams, a destructive tool that ran without anyone confirming it, or just not knowing which agents can reach which servers at all?&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>security</category>
      <category>devops</category>
    </item>
    <item>
      <title>MintMCP Alternative: Why TrueFoundry is a better choice for MCP Governance</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Fri, 24 Jul 2026 12:17:00 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/mintmcp-alternative-why-truefoundry-is-a-better-choice-for-mcp-governance-9ol</link>
      <guid>https://dev.to/sahajmeet_kaur_/mintmcp-alternative-why-truefoundry-is-a-better-choice-for-mcp-governance-9ol</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;MintMCP is a purpose-built MCP gateway: RBAC, Virtual MCP Bundles, Agent Bundles with M2M auth, and an Agent Monitor that extends beyond MCP to watch local non-MCP agent activity like bash commands and file operations.&lt;/li&gt;
&lt;li&gt;TrueFoundry's case for being the better fit: the same MCP governance (RBAC, tool-level policy via Cedar, approval gates, per-tool metrics) sits under one control plane alongside LLM gateway routing and Agent Registry governance, rather than MCP being the whole product - and deployment (managed, hybrid, or fully self-hosted) is first-class rather than "available on request." TrueFoundry has an compliance attestation SOC 2 Type II / HIPAA-BAA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What MintMCP actually does well
&lt;/h2&gt;

&lt;p&gt;MintMCP's own feature set is built specifically for MCP, not adapted from a broader platform. SSO and SCIM-driven RBAC, OAuth brokering for stdio and hosted servers, Virtual MCP Bundles that scope a curated tool set per role or team, Agent Bundles with machine-to-machine auth, tool-level allowlisting, and a tool-update policy that decides whether new upstream tools get auto-enabled or need admin approval. It also runs hosted connectors so teams don't manage connector runtimes themselves, and its Agent Monitor tracks local agent activity - bash commands, file reads and writes, prompt submissions - that happens outside of MCP tool calls entirely, which is a genuinely broader scope than pure MCP governance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where TrueFoundry's case is stronger
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;MCP governance isn't the whole product, it's one part of one.&lt;/strong&gt; &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry's MCP Gateway&lt;/a&gt; sits alongside the same control plane's LLM gateway (RBAC, budgets, guardrails on model traffic) and &lt;a href="https://www.truefoundry.com/docs/agent-platform/agent-registry/agent-registry" rel="noopener noreferrer"&gt;Agent Registry&lt;/a&gt; (agent identity, versioning, audit). If your actual problem is governing AI usage across models, agents, and MCP tools together - not just the MCP layer in isolation - that's one system to reason about instead of MCP governance plus a separate LLM gateway plus a separate agent registry.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deployment flexibility is a first-class option, not a special request.&lt;/strong&gt; MintMCP is managed SaaS-first, with VPC or self-hosted "on request." &lt;a href="https://www.truefoundry.com/docs/ai-gateway/modes-of-deployment" rel="noopener noreferrer"&gt;TrueFoundry runs managed, hybrid, or fully self-hosted in your own VPC&lt;/a&gt; as an equally supported path, which matters if your compliance posture might shift and you don't want that to mean switching vendors.&lt;br&gt;
Developer integration is designed for SDK-first teams: full fastmcp (Python) and @modelcontextprotocol/sdk (TypeScript) code snippets with async/await, proper headers, and live token injection ship directly in the platform UI. Most popular IDE clients are supported out of the box.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fine-grained, conditional policy, not just allow-lists.&lt;/strong&gt; MintMCP's tool-level allowlisting and rule-based policy covers a lot of ground. TrueFoundry's &lt;a href="https://www.truefoundry.com/docs/ai-gateway/cedar-guardrails" rel="noopener noreferrer"&gt;Cedar-based policy&lt;/a&gt; goes a step further into genuinely conditional rules - "this agent may only read Jira," "block destructive tools for any agent more than two hops deep in a chain" - evaluated as a principal/action/resource/context tuple on every request, default-deny.&lt;br&gt;
Auth is another area of clear separation: TrueFoundry offers a two-layer, highly flexible model — authenticate the agent once at the gateway, then act with each end-user's own upstream token (On-Behalf-Of), alongside SSO, JWT from any IdP (Okta, Azure AD, Auth0, Cognito), SCIM, RBAC, Agent Identities, and M2M access. That's a meaningfully more flexible model than an act-as-agent-only approach.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Registering and observing servers, concretely:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every server is registered once and consumed by many clients, with &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-gateway-auth-security" rel="noopener noreferrer"&gt;inbound and outbound auth handled separately&lt;/a&gt; - who can connect to the gateway versus how the gateway authenticates to each upstream server - and destructive tools can be configured to pause for human approval instead of executing on the spot.&lt;/p&gt;

&lt;p&gt;The MCP catalogue has grown substantially: 120+ Managed MCPs and 200+ Official MCPs, with simple, guided steps to configure any MCP with no friction, plus support for deploying custom MCP servers and OpenAPI-based MCPs, which most gateways, including MintMCP, don't offer.&lt;/p&gt;

&lt;p&gt;What's actually pulling you toward a dedicated MCP gateway versus a broader platform that includes MCP - the compliance attestation, the non-MCP agent monitoring, or something else on this list I haven't weighed heavily enough?&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>security</category>
      <category>devops</category>
    </item>
    <item>
      <title>Best MCP Gateway for Claude in 2026: 5 Options Ranked</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Thu, 23 Jul 2026 21:25:38 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/best-mcp-gateway-for-claude-in-2026-5-options-ranked-1lfh</link>
      <guid>https://dev.to/sahajmeet_kaur_/best-mcp-gateway-for-claude-in-2026-5-options-ranked-1lfh</guid>
      <description>&lt;p&gt;An MCP gateway and an AI gateway solve different problems, and "best MCP gateway" lists often blur them together. What actually matters for Claude specifically is narrower: does the gateway broker MCP servers to Claude Code and Claude Desktop with real auth handling, or is MCP support an afterthought bolted onto something built for routing LLM calls. Ranked below on that basis.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;TrueFoundry ranks first because its MCP Gateway ties directly into Claude Code's and Claude Desktop's managed-settings mechanisms - MDM-enforced allowlisting, per-tool approval gates, and RBAC - not just generic MCP server hosting.&lt;/li&gt;
&lt;li&gt;Docker MCP Gateway is the honest answer for a solo developer or small team wanting containerized MCP servers on their own machine with Claude Desktop or Code - genuinely simpler, but self-hosted and without fleet-wide governance.&lt;/li&gt;
&lt;li&gt;Solo.io's agentgateway, Portkey, and Obot are all real options with real tradeoffs, covered below with where each one falls short specifically for Claude.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. TrueFoundry
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkx65tb3n0017tgkldyuz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkx65tb3n0017tgkldyuz.png" alt=" " width="800" height="466"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;TrueFoundry's MCP Gateway&lt;/a&gt; is registration-once, consumption-by-many: a platform team registers an MCP server a single time, and every developer's Claude Code, Claude Desktop, or agent pointed at the gateway uses it without holding its own credentials. What puts it first specifically for Claude: &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/enterprise-security-claude" rel="noopener noreferrer"&gt;MCP access from Claude Code is routed through the gateway and allowlisted directly inside &lt;code&gt;managed-settings.json&lt;/code&gt;&lt;/a&gt;, deployed and locked via MDM across a developer fleet, rather than trusting whatever MCP servers individual developers wire up locally. On top of that: RBAC over which servers and tools a team can reach, destructive tools that pause for human approval instead of executing silently, &lt;a href="https://www.truefoundry.com/docs/ai-gateway/cedar-guardrails" rel="noopener noreferrer"&gt;Cedar-based policy&lt;/a&gt; for conditions finer than allow/deny, and per-tool metrics (invocation count, latency, error rate) sliced by server and by user.&lt;/p&gt;

&lt;p&gt;Key Features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Published benchmark - 7 to 12 ms overhead at 200 to 370 RPS&lt;/li&gt;
&lt;li&gt;Gateway continues serving requests on its last-synced config if the control plane goes down&lt;/li&gt;
&lt;li&gt;All rate limiting, load balancing, and auth checks run in memory, no external call in the request path&lt;/li&gt;
&lt;li&gt;MCP gateway with tool-level RBAC, OAuth, and full audit trail, alongside model routing in the same platform&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where it's not the right call:&lt;/strong&gt; if you're a solo developer running MCP servers locally with no fleet to govern, this is more infrastructure than you need.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Docker MCP Gateway (MCP Toolkit)
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/docker/mcp-gateway" rel="noopener noreferrer"&gt;Docker's MCP Gateway&lt;/a&gt; runs each MCP server in its own container, with over 200 pre-built servers available through Docker Desktop and one-click setup for &lt;a href="https://www.docker.com/blog/connect-mcp-servers-to-claude-desktop-with-mcp-toolkit/" rel="noopener noreferrer"&gt;Claude Desktop&lt;/a&gt; and &lt;a href="https://www.docker.com/blog/add-mcp-servers-to-claude-code-with-mcp-toolkit/" rel="noopener noreferrer"&gt;Claude Code&lt;/a&gt;. Cryptographically signed images and container isolation mean a compromised MCP server doesn't have direct access to your machine. Genuinely the simplest path if you already use Docker Desktop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it's not the right call:&lt;/strong&gt; self-hosted means you own the maintenance, scaling, and security burden yourself, and there's no fleet-wide RBAC or MDM-enforced policy - it's built for a single developer's machine, not centralizing access across a team.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Solo.io agentgateway
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.solo.io" rel="noopener noreferrer"&gt;Solo.io's agentgateway&lt;/a&gt; is Kubernetes-native, contributed to the Linux Foundation in August 2025, with a Rust-based data plane and a CEL-based policy engine for MCP tool RBAC. A strong pick if your platform team already runs Envoy or a Kubernetes-centric gateway layer and wants vendor-neutral governance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it's not the right call for Claude specifically:&lt;/strong&gt; it's built for platform engineers who own the deployment layer generally, not for the specific problem of getting Claude Code's managed settings and Claude Desktop's preferences pointed at a governed MCP endpoint - there's no documented tie-in to either surface the way TrueFoundry's Claude-specific docs describe.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Portkey
&lt;/h2&gt;

&lt;p&gt;Portkey extended its AI gateway into MCP with role-based endpoints that expose only the minimum tools required to each user or team, plus fine-grained auth controls at the org, team, and user level. If you're already running LLM traffic through Portkey, adding MCP governance on the same platform avoids a second tool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it's not the right call:&lt;/strong&gt; the same caveat as everywhere else Portkey shows up in this series - Palo Alto Networks announced intent to acquire it in April 2026, which is worth weighing before betting Claude's MCP access on its current trajectory.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Obot
&lt;/h2&gt;

&lt;p&gt;Obot markets itself as purpose-built for MCP governance - open source, self-hostable on Kubernetes or Docker, with a built-in catalog and multi-role RBAC. Worth naming, with an honest caveat: the ranking claiming Obot is "the best MCP gateway" comes from Obot's own blog post, comparing itself against thirteen competitors and unsurprisingly placing itself first - the same self-serving-source problem worth watching for anywhere in this space, this post included.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this ranking doesn't hold
&lt;/h2&gt;

&lt;p&gt;If you're one developer running a couple of MCP servers locally against Claude Desktop, Docker MCP Gateway is might be the right amount of tool, and TrueFoundry's fleet governance is overhead you don't need yet. The ranking above assumes you're solving for an organization with multiple developers, multiple MCP servers, and a real need to answer "who can reach what" - not a single machine.&lt;/p&gt;

&lt;p&gt;Which of these are you actually running for Claude specifically, and did the Claude Code/Desktop tie-in factor into the choice, or was that not something you'd considered before picking?&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>security</category>
      <category>devops</category>
    </item>
    <item>
      <title>Vercel AI Gateway vs OpenRouter: Managed Ecosystem vs Hosted Marketplace</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Thu, 23 Jul 2026 21:25:20 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/vercel-ai-gateway-vs-openrouter-managed-ecosystem-vs-hosted-marketplace-4j9i</link>
      <guid>https://dev.to/sahajmeet_kaur_/vercel-ai-gateway-vs-openrouter-managed-ecosystem-vs-hosted-marketplace-4j9i</guid>
      <description>&lt;p&gt;Both Vercel AI Gateway and OpenRouter are one API key in front of many models, both are hosted rather than self-hosted, and it's easy to assume they're interchangeable. They're not, and neither is built to answer a third question worth asking alongside them: once you're past routing and into governing who can call what, is either of these actually enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vercel AI Gateway is one endpoint (&lt;code&gt;ai-gateway.vercel.sh/v1&lt;/code&gt;) with zero markup on tokens even with your own keys, automatic same-model failover across providers, and deep AI SDK integration - the tradeoff is it's built around the Vercel ecosystem.&lt;/li&gt;
&lt;li&gt;OpenRouter is platform-agnostic with 315+ models, a genuinely useful free tier, and a fee structure (5.5% on card top-ups, 5% BYOK above 1M requests/month) instead of Vercel's flat $5/month credit plus zero-markup model.&lt;/li&gt;
&lt;li&gt;TrueFoundry is the pick if you need RBAC, budget enforcement, guardrails, and MCP governance on top of routing - the thing neither Vercel AI Gateway nor OpenRouter does at all - though if you only need routing and billing, either of the other two is the simpler, sufficient choice.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What each one actually is
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Vercel AI Gateway&lt;/strong&gt;&lt;br&gt;
Vercel AI Gateway routes through a single HTTP endpoint, with models referenced as &lt;code&gt;creator/model-name&lt;/code&gt; strings - &lt;code&gt;anthropic/claude-opus-4.8&lt;/code&gt;, for example - and in the AI SDK, passing that string as the model automatically routes the call through the gateway with no separate client. It includes embeddings alongside chat completions, spend monitoring, automatic retries, load balancing, and Bring Your Own Key. The standout feature is automatic failover to &lt;strong&gt;the same model on a different provider&lt;/strong&gt; when one degrades, keeping output identical while switching which infrastructure serves it. Every team gets $5 a month in included credits from first use, and there's no markup on tokens, including with your own provider keys - you pay what the provider charges, full stop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OpenRouter&lt;/strong&gt;&lt;br&gt;
It is a hosted aggregator: one API key and one credit balance in front of 315+ models, with an OpenAI-compatible API so switching models is a one-line change. The free tier gives 25+ free models at 20 requests/minute and 50 free-model requests a day, rising to 1,000/day once you've put at least $10 of credit on the account - a genuinely useful way to try things before committing. Pay-as-you-go is straightforward credit purchasing, and Enterprise adds SSO, SLAs, and negotiated support. OpenRouter doesn't mark up the model price itself, but there's a 5.5% platform fee on credit-card top-ups (with an $0.80 minimum) and a 5% bring-your-own-key fee on usage above 1M requests a month.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/intro-to-llm-gateway" rel="noopener noreferrer"&gt;TrueFoundry&lt;/a&gt;&lt;/strong&gt; &lt;br&gt;
Truefoundry is the third option worth putting next to these two, and the one this post ranks first overall. Same starting point - one OpenAI-compatible endpoint in front of 1,000+ models - but with the governance layer neither Vercel AI Gateway nor OpenRouter has: &lt;a href="https://www.truefoundry.com/docs/ai-gateway/gateway-access-control" rel="noopener noreferrer"&gt;RBAC scoped to users, teams, and virtual accounts&lt;/a&gt;, &lt;a href="https://www.truefoundry.com/docs/ai-gateway/budgetlimiting" rel="noopener noreferrer"&gt;budgets that support an audit-only rollout&lt;/a&gt; before you switch on hard blocking, and &lt;a href="https://www.truefoundry.com/docs/ai-gateway/guardrails-overview" rel="noopener noreferrer"&gt;PII/prompt-injection/content-moderation guardrails&lt;/a&gt; as configuration rather than something you assemble yourself. It also ships a native &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP Gateway&lt;/a&gt; with proper inbound/outbound auth handling and per-tool approval gates for destructive actions, which is a different category of feature than either of the other two offers at all. Deployment is managed, hybrid, or fully self-hosted in your own VPC, so data residency concerns that would rule out both hosted options entirely aren't a blocker here.&lt;/p&gt;

&lt;h2&gt;
  
  
  Head to head
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Vercel AI Gateway&lt;/th&gt;
&lt;th&gt;OpenRouter&lt;/th&gt;
&lt;th&gt;TrueFoundry&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Tied to a platform&lt;/td&gt;
&lt;td&gt;Vercel / AI SDK&lt;/td&gt;
&lt;td&gt;None - fully platform-agnostic&lt;/td&gt;
&lt;td&gt;None - managed, hybrid, or self-hosted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Provider markup&lt;/td&gt;
&lt;td&gt;0%, including BYOK&lt;/td&gt;
&lt;td&gt;0% on model price; 5.5% card-fee, 5% BYOK fee above 1M req/month&lt;/td&gt;
&lt;td&gt;No markup; priced separately from provider cost&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Free tier&lt;/td&gt;
&lt;td&gt;$5/month included credits&lt;/td&gt;
&lt;td&gt;25+ free models, 50-1000 free requests/day&lt;/td&gt;
&lt;td&gt;No free hosted tier; self-hosted has no license cost&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Same-model failover&lt;/td&gt;
&lt;td&gt;Yes, across providers&lt;/td&gt;
&lt;td&gt;Not a documented feature&lt;/td&gt;
&lt;td&gt;Yes, with weighted/latency-based routing and canary rollouts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zero data retention&lt;/td&gt;
&lt;td&gt;Yes (OpenAI/Anthropic/Google), paid add-on team-wide&lt;/td&gt;
&lt;td&gt;Not a core feature&lt;/td&gt;
&lt;td&gt;Configurable per deployment posture&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RBAC / per-team budgets&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes, first-class&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MCP server governance&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes, native MCP Gateway&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Where each one is the right call
&lt;/h2&gt;

&lt;p&gt;Pick &lt;strong&gt;Vercel AI Gateway&lt;/strong&gt; if your app already ships through Vercel and the AI SDK is already your interface - it's closer to a config change than new infrastructure, and the zero-markup-even-with-BYOK pricing is genuinely competitive. &lt;a href="https://dev.to/cliftonz/benchmarking-vercel-ai-gateway-against-the-native-anthropic-sdk-21g5"&gt;One independent benchmark&lt;/a&gt; found the native Anthropic SDK about 15-20% faster than the gateway on small prompts, with that gap nearly disappearing at large context, which is worth knowing if latency on short requests specifically matters to you.&lt;/p&gt;

&lt;p&gt;Pick &lt;strong&gt;OpenRouter&lt;/strong&gt; if you want a hosted option that isn't tied to any particular deploy target, or if the free tier matters for prototyping before you've committed to a paid plan anywhere.&lt;/p&gt;

&lt;p&gt;Pick &lt;strong&gt;TrueFoundry&lt;/strong&gt; if you've outgrown "just route the request" and need to answer who's allowed to call what, how much a team can spend before it's blocked, and whether your agents' tool calls are audited - all without assembling that governance layer yourself on top of Vercel AI Gateway or OpenRouter, neither of which is built to provide it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where this ranking doesn't hold:&lt;/strong&gt; if your actual need is simple API routing for a small team or a single app, TrueFoundry's governance surface is more than you need, and the honest answer is Vercel AI Gateway (if you're on Vercel) or OpenRouter (if you're not) - both are simpler, and neither makes you configure RBAC and budgets you don't have a use for yet.&lt;/p&gt;

&lt;p&gt;Which of these three are you actually running, and did the platform tie-in, the fee structure, or the governance gap end up being the deciding factor?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>How to Choose an AI Gateway: 6 Criteria That Actually Matter</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Sat, 18 Jul 2026 06:30:00 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/how-to-choose-an-ai-gateway-6-criteria-that-actually-matter-1g81</link>
      <guid>https://dev.to/sahajmeet_kaur_/how-to-choose-an-ai-gateway-6-criteria-that-actually-matter-1g81</guid>
      <description>&lt;p&gt;Every "top N AI gateways" list answers the wrong question first. Which one has the most providers or the lowest latency matters less than what you're actually trying to solve, and most teams pick a gateway before they've written down what they need it to do. Here's the checklist worth going through first, and how the options actually stack up against it.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The six things that actually differentiate gateways: provider coverage and API compatibility, deployment model, governance (RBAC/budgets/guardrails), MCP and tool governance, observability, and vendor/roadmap risk.&lt;/li&gt;
&lt;li&gt;Most gateways are strong on one or two of these and thin on the rest - a routing-and-caching tool isn't a governance tool, even if both get called "AI gateway."&lt;/li&gt;
&lt;li&gt;TrueFoundry covers all six without you having to assemble pieces from separate tools, which is why it's the pick below for teams that need the full set.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Provider coverage and API compatibility
&lt;/h2&gt;

&lt;p&gt;The baseline question: how many providers, and is the exposed API OpenAI-compatible so your existing SDKs work with a base-URL change, or does it ask you to adopt a new client. Most serious options clear this bar now - LiteLLM covers 100+ providers, Bifrost claims 1,000+ models, TrueFoundry exposes an OpenAI-compatible schema in front of &lt;a href="https://www.truefoundry.com/docs/ai-gateway/intro-to-llm-gateway" rel="noopener noreferrer"&gt;1,000+ LLMs&lt;/a&gt;. This one rarely eliminates anyone anymore; treat it as table stakes, not a differentiator.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Deployment model
&lt;/h2&gt;

&lt;p&gt;Managed SaaS, self-hosted, or hybrid - and this one does eliminate options fast if data residency or compliance rules out sending traffic through someone else's infrastructure. LiteLLM, Bifrost, and Portkey are self-hostable and free of that constraint by design. Vercel AI Gateway and Cloudflare AI Gateway are managed-only, tied to their respective platforms. &lt;a href="https://www.truefoundry.com/docs/ai-gateway/modes-of-deployment" rel="noopener noreferrer"&gt;TrueFoundry runs managed, hybrid, or fully self-hosted in your own VPC&lt;/a&gt;, which matters if you want the option to switch postures later without switching vendors.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Governance: RBAC, budgets, guardrails
&lt;/h2&gt;

&lt;p&gt;This is where most gateways split into two camps. One camp treats routing as the whole job - Cloudflare AI Gateway and Vercel AI Gateway give you caching, retries, and spend visibility, but no per-team RBAC and no budget enforcement that blocks a request before it blows past a limit. The other camp treats governance as first-class: &lt;a href="https://www.truefoundry.com/docs/ai-gateway/gateway-access-control" rel="noopener noreferrer"&gt;TrueFoundry ships RBAC scoped to teams and users&lt;/a&gt;, budgets that support an audit-first rollout before you switch on hard blocking, and &lt;a href="https://www.truefoundry.com/docs/ai-gateway/guardrails-overview" rel="noopener noreferrer"&gt;PII/prompt-injection/content-moderation guardrails&lt;/a&gt; as configuration, not something you build separately. LiteLLM and Portkey also have real governance features here, so this criterion narrows the field without settling it on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. MCP and tool governance
&lt;/h2&gt;

&lt;p&gt;Increasingly the deciding factor as agents start calling tools that can actually do things, not just answer questions. A gateway with a native &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP Gateway&lt;/a&gt; handles inbound and outbound auth for every registered MCP server, lets you pause destructive tool calls for human approval, and gives you a full audit trail per tool call - versus a gateway that only routes LLM traffic and leaves MCP access as something each developer wires up on their own. This is the criterion most "which AI gateway" comparisons skip entirely, and it's often the one that matters most a year into using the thing.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Observability
&lt;/h2&gt;

&lt;p&gt;Cost, latency, and guardrail metrics, ideally sliceable by user, team, or virtual account, and exportable to wherever your team already looks. &lt;a href="https://www.truefoundry.com/docs/ai-gateway/analytics" rel="noopener noreferrer"&gt;TrueFoundry's metrics dashboard&lt;/a&gt; covers LLM and MCP traffic together with OpenTelemetry export; most self-hosted options expect you to wire this up to Langfuse, SigNoz, or a similar backend yourself, which is fine if you already run one of those and want to keep it as your system of record.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Vendor and roadmap risk
&lt;/h2&gt;

&lt;p&gt;The one people skip until it bites them. Portkey open-sourced its gateway in March 2026, then Palo Alto Networks announced intent to acquire it the next month. Helicone was acquired by Mintlify in March 2026 and moved to maintenance mode - security patches continue, active feature development stopped. Neither makes either tool bad today, but "will this still be actively developed in a year" is a real question for infrastructure you're building a business on, and it's worth asking about any vendor, including the one you're leaning toward.&lt;/p&gt;

&lt;h2&gt;
  
  
  How TrueFoundry stacks up against each criterion
&lt;/h2&gt;

&lt;p&gt;Rather than assert "it covers all six" and move on, here's the specific claim behind each one, sourced from the docs rather than a summary:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Provider coverage and API compatibility.&lt;/strong&gt; 1,000+ LLMs behind one OpenAI-compatible schema (linked above), with &lt;a href="https://www.truefoundry.com/docs/ai-gateway/native-sdk-support" rel="noopener noreferrer"&gt;drop-in native SDK compatibility&lt;/a&gt; for OpenAI's and Anthropic's own client libraries, plus chat, embeddings, image, audio, rerank, and realtime APIs rather than chat completions alone.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deployment model.&lt;/strong&gt; Managed, hybrid, or fully self-hosted in your own VPC (linked above), so the deployment posture you start with isn't the one you're stuck with if compliance requirements change later. The managed option itself runs as a &lt;a href="https://www.truefoundry.com/docs/ai-gateway/globally-distributed-saas" rel="noopener noreferrer"&gt;globally distributed gateway across 14 regions&lt;/a&gt; rather than a single point of failure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Governance.&lt;/strong&gt; RBAC scoped to users, teams, and virtual accounts; budgets that support an audit-only rollout before you flip on hard blocking; PII, prompt-injection, and content-moderation guardrails as configuration rather than something you build (all linked above); and for teams that need finer-grained rules than allow/deny, &lt;a href="https://www.truefoundry.com/docs/ai-gateway/cedar-guardrails" rel="noopener noreferrer"&gt;Cedar-based policy&lt;/a&gt; for conditions like "only during business hours" or "only for low-risk tools."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MCP and tool governance.&lt;/strong&gt; The MCP Gateway (linked above) handles both inbound (client-to-gateway) and outbound (gateway-to-server) auth separately, so credentials never sit on a developer's machine; destructive tools can be configured to pause for human approval instead of executing silently; and tool-level metrics (invocation count, latency, error rate) are tracked per server and per individual tool, not just at the gateway level.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Observability.&lt;/strong&gt; The metrics dashboard (linked above) covers LLM and MCP traffic, cost, guardrail outcomes, routing decisions, and cache hit rate in one place, with OpenTelemetry export to whatever backend your team already runs. &lt;a href="https://www.truefoundry.com/docs/ai-gateway/data-access" rel="noopener noreferrer"&gt;Data access rules&lt;/a&gt; also let you restrict who can read production request logs versus dev/staging, which matters once those logs contain real prompts and completions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Vendor and roadmap risk.&lt;/strong&gt; This one is honestly harder to claim credit for outright since every vendor has some version of this risk, TrueFoundry included. What actually mitigates it: gateway configuration (models, virtual accounts, policies, guardrails, access rules) can be &lt;a href="https://www.truefoundry.com/docs/setup-gitops-using-truefoundry" rel="noopener noreferrer"&gt;managed as YAML in Git via GitOps&lt;/a&gt;, so your setup isn't locked inside a vendor's UI state, and the self-hosted deployment option means a change in vendor relationship doesn't mean ripping out infrastructure that's already running in your own VPC.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Where this points, and where it doesn't
&lt;/h2&gt;

&lt;p&gt;Weighing all six, TrueFoundry is the pick if you want governance, MCP tool control, and observability together without assembling them from separate projects, and you want the option to run managed, hybrid, or self-hosted depending on how your compliance posture evolves.&lt;/p&gt;

&lt;p&gt;It's not automatically the right call for everyone. If free and fully open source is the actual requirement, not just a preference, LiteLLM remains the honest answer - you'll assemble more of the governance layer yourself, but you own the whole stack and pay nothing for the software itself. If your traffic is entirely Vercel-shipped apps on the AI SDK, Vercel AI Gateway is less new infrastructure. If you're lakehouse-native on Databricks already, Unity AI Gateway keeps your AI governance in the same catalog as your data governance, at the cost of being tied to that ecosystem. None of the six criteria above matter equally for every team - the point of going through them explicitly is figuring out which ones actually apply to you before picking anything.&lt;/p&gt;

&lt;p&gt;Which of these six would you add or remove from the list, based on what actually mattered when you picked (or switched) gateways?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Best AI Gateways for Claude in 2026</title>
      <dc:creator>Sahajmeet Kaur</dc:creator>
      <pubDate>Fri, 17 Jul 2026 16:21:02 +0000</pubDate>
      <link>https://dev.to/sahajmeet_kaur_/top-5-ai-gateways-for-claude-in-2026-and-why-truefoundry-ranks-1-1np6</link>
      <guid>https://dev.to/sahajmeet_kaur_/top-5-ai-gateways-for-claude-in-2026-and-why-truefoundry-ranks-1-1np6</guid>
      <description>&lt;p&gt;"Does it support Claude" clears almost every gateway on this list - that part's been table stakes for a while. What actually separates them is whether Claude is governed everywhere it shows up in your org: the API, Claude Code on developer laptops, Claude Desktop, Claude Code Max subscriptions, and Claude Platform on AWS. Ranked below on that basis, not just "can it proxy Anthropic's API."&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;TrueFoundry works vest because it governs Claude across all four client surfaces plus the AWS deployment path, with MDM enforcement on Code and Desktop - not just server-side API routing.&lt;/li&gt;
&lt;li&gt;LiteLLM, OpenRouter, Bifrost, and Vercel AI Gateway all proxy the Claude API well; none of their published docs describe governing Claude Code or Claude Desktop specifically across a device fleet.&lt;/li&gt;
&lt;li&gt;If your Claude usage is API-only with no Code or Desktop in the picture, the surface-coverage argument for #1 doesn't apply to you, and any of the four below is a genuinely fine, simpler choice.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. TrueFoundry
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.truefoundry.com/docs/ai-gateway/claude" rel="noopener noreferrer"&gt;TrueFoundry's Claude-specific docs&lt;/a&gt; map governance to each surface separately, which is the thing that puts it first on this list:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code (CLI + VS Code)&lt;/strong&gt;: &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt; set inside &lt;code&gt;managed-settings.json&lt;/code&gt;, deployed and locked via an open-source binary pushed over MDM on macOS, Linux, and Windows, with the gateway token refreshed on a schedule.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Desktop&lt;/strong&gt;: a separate managed-preferences mechanism (its own bundle identifier), configured by the &lt;a href="https://www.truefoundry.com/docs/ai-gateway/claude-desktop" rel="noopener noreferrer"&gt;same deployment tooling&lt;/a&gt; so platform teams run one rollout process, not two.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code Max&lt;/strong&gt;: Claude Code reserves the &lt;code&gt;Authorization&lt;/code&gt; header for a developer's own Anthropic subscription login, so &lt;a href="https://www.truefoundry.com/docs/ai-gateway/claude-code-max" rel="noopener noreferrer"&gt;the gateway authenticates through a separate &lt;code&gt;x-tfy-api-key&lt;/code&gt; header&lt;/a&gt; instead - developers keep their Max subscription exactly as before, while the gateway still gets usage visibility, quotas, RBAC, logs, and guardrails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Platform on AWS&lt;/strong&gt;: authenticated through IAM rather than a bearer key, with &lt;a href="https://www.truefoundry.com/docs/ai-gateway/aws-claude-platform" rel="noopener noreferrer"&gt;both a quickstart managed policy and a least-privilege policy scoped to a workspace ARN&lt;/a&gt; documented for teams that want it locked down properly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP access from Claude Code&lt;/strong&gt;: routed through a central &lt;a href="https://www.truefoundry.com/docs/ai-gateway/mcp/mcp-overview" rel="noopener noreferrer"&gt;MCP Gateway&lt;/a&gt; and allowlisted in managed settings, rather than trusting whatever MCP servers individual developers wire up locally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Underneath all of that sits the same &lt;a href="https://www.truefoundry.com/docs/ai-gateway/gateway-access-control" rel="noopener noreferrer"&gt;RBAC, budgets, and guardrails&lt;/a&gt; that apply to every model call through the gateway, plus deployment as managed, hybrid, or fully self-hosted depending on your compliance posture. &lt;strong&gt;Where it's not the right call:&lt;/strong&gt; if your Claude usage is entirely server-side API calls, this breadth of surface coverage is more than you need, and a simpler gateway lower on this list is the honest answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. LiteLLM
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/BerriAI/litellm" rel="noopener noreferrer"&gt;LiteLLM&lt;/a&gt; routes to Claude as one of its 100+ supported providers through the same OpenAI-compatible proxy, with cost tracking and load balancing built in. Free, open source, and self-hosted, with the largest community of any option here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it falls short for Claude specifically:&lt;/strong&gt; it's API-level routing. Nothing in its published docs governs Claude Code or Claude Desktop as separate surfaces - if developers are running those locally, LiteLLM isn't the layer watching them.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. OpenRouter
&lt;/h2&gt;

&lt;p&gt;One API key, one credit balance, Claude among 315+ models, pass-through provider pricing with a 5.5% card fee and a 5% BYOK fee above 1M requests a month. Zero setup if you just want to call Claude (or switch between Claude and other models) without standing up infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it falls short for Claude specifically:&lt;/strong&gt; it's a hosted aggregator built around API access - no mechanism for governing Claude Code or Claude Desktop on developer machines, and no RBAC or per-team budget enforcement beyond the single account's credit balance.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Bifrost
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/maximhq/bifrost" rel="noopener noreferrer"&gt;Bifrost&lt;/a&gt; is a Go-based open-source gateway that markets itself on raw throughput - its own benchmarks claim well under 100 microseconds of overhead at 5,000 requests per second. Claude is one of the 1,000+ models it routes to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it falls short for Claude specifically:&lt;/strong&gt; same gap as the others - it's a high-performance API router, not a tool for governing Claude Code or Desktop across a device fleet. If raw throughput at extreme RPS is genuinely your bottleneck and Claude is just one of several models you're calling, it's worth a look; if surface governance is the concern, it isn't built for that.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Vercel AI Gateway
&lt;/h2&gt;

&lt;p&gt;One endpoint, zero markup on tokens even with your own keys, and Claude works with a one-line config change if you're already on the Vercel AI SDK. Genuinely the least new infrastructure if your app already ships through Vercel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it falls short for Claude specifically:&lt;/strong&gt; it's routing and spend visibility for API calls from Vercel-shipped apps. It has no bearing on Claude Code or Claude Desktop running on a developer's own machine, which is a separate problem it was never built to solve.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the ranking doesn't apply
&lt;/h2&gt;

&lt;p&gt;If your org's entire Claude footprint is server-side API calls - no Claude Code, no Claude Desktop, nothing running on developer laptops - the surface-governance case for TrueFoundry ranking first doesn't hold, and any of the four options above is a legitimately simpler, sufficient choice. The ranking here is specifically about governing Claude everywhere it can show up in a company, not just proxying the API well, which every one of these five already does.&lt;/p&gt;

&lt;p&gt;Is your org's Claude usage mostly API calls, or is Claude Code/Desktop already running on developer machines without anything governing it yet? Curious how many teams have actually mapped out which surface they're exposed on before picking a gateway.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>devops</category>
      <category>claude</category>
    </item>
  </channel>
</rss>
