Infrastructure

Amazon Bedrock Gateway vs a Self-Hosted AI Gateway

ManyLayers Team 2026-12-04 8 min read

Short answer

Amazon Bedrock Gateway, announced in gated preview on 1 December 2026, is a fully managed AI gateway run by AWS. It covers the core gateway jobs: identity, model access per user and group, dollar limits, fallback models and per-request logs.

The deciding question is where the gateway has to run. If your AI traffic is mostly on Bedrock and a managed AWS service is acceptable, Bedrock Gateway is a reasonable choice once it is generally available. If prompts, keys and logs must stay on your own infrastructure, or you need air-gapped operation, PII redaction before egress, or routing across several clouds and self-hosted models, a self-hosted gateway is the better fit.

What AWS announced

According to AWS’s announcement, Amazon Bedrock Gateway:

  • is a fully managed capability; AWS runs the infrastructure, scaling and availability;
  • connects to your identity provider, such as Okta or Microsoft Entra ID, or uses AWS IAM;
  • routes each request to Amazon Bedrock models or supported external providers, using your own credentials;
  • ties each request to the person or application that sent it, and controls which models each user and group can access;
  • enforces daily, weekly or monthly dollar limits and lets admins define fallback models;
  • records each request in your S3 bucket with the caller, model and cost, with CloudWatch, OpenTelemetry and CloudTrail for observability;
  • keeps prompts within AWS for Amazon Bedrock models;
  • is available in preview for select customers.

AWS also announced smart routing, which picks a model per request. We don’t compare routing cost claims here; test any router on your own traffic.

AWS’s announcement asks teams to “point your applications and coding tools at a gateway.” That is the same pattern ManyLayers is built on: applications get gateway keys, not provider keys.

Where the two overlap

Both approaches give you:

  • one endpoint in front of several model providers;
  • identity on every request;
  • control over which models each team or user can reach;
  • spend limits;
  • fallback when a model is unavailable;
  • a per-request record of who called which model and what it cost.

For a team whose only requirement is “stop handing out provider keys and cap spend”, either works.

Where they differ

QuestionAmazon Bedrock Gateway (per AWS, 1 Dec 2026)ManyLayers self-hosted gateway
Where it runsAWS-managedYour Kubernetes cluster or bare-metal servers; also SaaS and hybrid
Air-gapped operationNot applicable to a managed serviceYes, with offline licence activation and no outbound connections after installation
IdentityYour identity provider (such as Okta or Entra ID) or IAMSAML 2.0 and OIDC SSO, SCIM provisioning, RBAC
Model accessPer user and groupModel aliases assigned to teams
Spend controlsDaily, weekly or monthly dollar limitsPer-team and per-key monthly budgets, hard and soft limits, token-per-minute and request-per-minute limits
Request recordsYour S3 bucket: caller, model, costAppend-only audit log with provider, model, latency, tokens, cost and policy decisions; export to Postgres, S3 or your SIEM
PII redaction before egressNot part of the gateway announcementPII firewall before any provider call
ProvidersBedrock plus supported external providers40+ providers, including Bedrock, plus self-hosted open-weight models
AvailabilityGated previewAvailable now; free to self-host

The two rows that decide most evaluations are where it runs and what leaves your network. A managed gateway can’t be air-gapped, and it adds the operator’s infrastructure to the path of every prompt. AWS says prompts for Bedrock models stay within AWS; for external providers, check each provider’s data terms. A self-hosted gateway keeps routing, keys and logs inside your network and can redact personal data before a request reaches any provider. For the air-gapped case in detail, see what breaks when you take AI offline.

When Bedrock Gateway is the right fit

  • Most of your model traffic already goes to Bedrock.
  • A managed AWS service meets your data-residency and compliance needs.
  • Your identity and logging already live in IAM, CloudTrail and S3.
  • You can wait for general availability, or you qualify for the preview.

When a self-hosted gateway is the right fit

  • Prompts, keys or logs must stay on infrastructure you operate, including outside AWS.
  • You need air-gapped deployment.
  • You want PII redacted before any request leaves your network.
  • You route across several clouds, providers and your own GPUs.
  • You need per-key budgets and token or request rate limits for individual apps and coding agents.

Using both

The choice isn’t exclusive. ManyLayers routes to Amazon Bedrock as one of its providers. Teams can keep Bedrock models and still put a self-hosted gateway in front of them for PII redaction, per-key budgets and one audit log across every provider.

For other options, see the AI gateway comparison hub, LiteLLM alternatives and building versus buying an LLM gateway.

FAQ

Q: Is Amazon Bedrock Gateway generally available? A: No. AWS announced it on 1 December 2026 in gated preview for select customers, who have to request enrolment.

Q: What is the main difference between Bedrock Gateway and a self-hosted AI gateway? A: Where it runs. Bedrock Gateway is fully managed by AWS. A self-hosted gateway runs on your own infrastructure, so routing, keys and logs stay inside your network, and it can run air-gapped.

Q: Can ManyLayers route to Amazon Bedrock? A: Yes. Amazon Bedrock is one of the 40+ providers the ManyLayers Gateway routes to, alongside OpenAI, Anthropic, Vertex AI, Azure OpenAI and self-hosted models.

Sources

Checked 4 December 2026:

Related articles

Deploy sovereign AI on your infrastructure.