{"resourceId":"aws-self-service-llm-gateway-bedrock-litellm-enterprise-20261112","versions":[{"version":"external-fef3bce0cce9f999c246961b6058b74166be5197fc848b1f5dee2f2ca8ef0db1","resource":{"id":"aws-self-service-llm-gateway-bedrock-litellm-enterprise-20261112","title":"AWS guidance for a self-service LiteLLM gateway on Bedrock: per-key budgets work only if per-model costs are set, and self-service keys need LiteLLM Enterprise","organization":"Amazon Web Services","sector":"Cross-SLED IT, developer platforms and AI cost governance","geography":"Global; example uses us-east-1 and recommends Global cross-Region inference; GovCloud not mentioned","publishedAt":"2026-11-12","publicationDate":"2026-11-12","eventDate":"2026-11-12","sourceName":"AWS Artificial Intelligence Blog","sourceLabel":"Building a self-service LLM gateway with Amazon Bedrock and LiteLLM","sourceUrl":"https://aws.amazon.com/blogs/machine-learning/building-a-self-service-llm-gateway-with-amazon-bedrock-and-litellm/","evidenceClass":"vendor-claim","outcomeClass":"mixed","topics":["developers-agents","governance-procurement","data-security"],"finding":"AWS's November 12, 2026 post shows LiteLLM on Fargate in front of Bedrock application inference profiles, with RDS PostgreSQL for key and spend state, Valkey cache, Langfuse tracing and CloudWatch alarms. AWS says it scaled the gateway to several hundred developers internally. It warns that with inference-profile ARNs LiteLLM records $0 per token unless per-model costs are set, so budgets silently never enforce, and that replacing LiteLLM's callbacks list disables spend tracking. Self-service key issuance requires LiteLLM Enterprise; the free gateway covers up to five users. Why now: Amazon's November 13 ARTEX report names LiteLLM's default master key as an attacker target, raising the stakes of this design.","sledRelevance":"Many agencies and universities want one governed entry point for staff coding assistants and chat tools with per-user budgets. The post is practical for that, but it recommends Global cross-Region inference, which routes processing across commercial Regions worldwide; public-sector teams with residency or CJIS-type constraints would need Geographic (US) inference instead, and GovCloud is not addressed. It is a developer-tool pattern, not a citizen-facing service.","evidence":"Vendor how-to with AWS's own internal deployment lessons; no cost, adoption or reliability metrics reported. Licensing statements are AWS's description of LiteLLM terms.","architectureImplications":"Route 53, CloudFront and ALB in front of LiteLLM on Fargate (about 2 GB memory floor), per-user virtual keys, RDS PostgreSQL as system of record, ElastiCache Valkey for cache and rate limits, Bedrock application inference profiles per model, Langfuse and CloudWatch. ALB idle timeout of at least 900 seconds for extended thinking.","governanceImplications":"Spend policy is set by operations and enforced per key over a rolling window, returning HTTP 429 when exceeded, but only after per-model costs are configured. Automation traffic should use separate inference profiles. Global inference choice is a data residency decision.","securityPrivacyImplications":"Master key and database URL are set as Fargate environment variables sourced from Secrets Manager. Langfuse traces can capture prompts and responses, so redaction, retention and access controls are needed. The post does not discuss LiteLLM patch levels or advisories.","caveats":"Vendor post; no measured outcomes; illustrative snippets rather than a deployable stack; GovCloud and residency constraints not addressed; security hardening of LiteLLM itself not covered.","streamIds":["aws"],"roles":{"sales":"Interpretation: position this as governance for staff AI coding tools, not cost savings. The customer problem is untracked, per-user AI spend across many tools. Stakeholders are the CIO, CISO, finance and developer leads. Discovery should ask which AI coding tools staff use, whether data must stay in US Regions, and who would own a gateway. The post reports no cost results and requires a LiteLLM Enterprise license, so total cost and security ownership must be part of the conversation.","engineering":"Interpretation: fit is organizations with dozens to hundreds of developers using OpenAI-compatible tools against Bedrock. Engineers must set per-model costs or budgets never enforce, keep callbacks additive, and choose Geographic rather than Global inference where residency matters. Constraints include GovCloud, which the post does not cover, and LiteLLM's own security posture. Proof of value should confirm a 429 at budget, correct per-user spend, and that the admin UI is not internet-reachable.","delivery":"Interpretation: deliver as a pilot gateway for one developer group. Dependencies are Bedrock model access, a LiteLLM license decision, SSO integration and Secrets Manager. Ownership belongs to the platform team, with security owning patching and exposure. Governance checkpoints cover residency choice, logging content in Langfuse and budget policy. Proposed acceptance criteria are enforced budgets, per-user attribution matching CUR within tolerance and no public admin interface. Risks are silent budget failure, unpatched gateway versions and prompt data in traces."},"roleDetails":{"sales":{"customerProblem":"Staff use many AI coding tools with no per-user cost control or central access policy.","stakeholders":["CIO","CISO","Finance or budget office","Developer and platform leads"],"discoveryQuestions":["Which AI coding assistants are staff using today, and how are they paid for?","Must inference stay within US Regions or GovCloud?","Who will own, patch and monitor a gateway?","Is a LiteLLM Enterprise license acceptable?"],"valueHypothesis":"A governed gateway can give per-user budgets and model access policy for developer AI tools; savings are not reported.","potentialEngagement":"A bounded pilot gateway for one developer group with budget enforcement and residency review.","unsupportedClaims":["Cost savings figures","GovCloud support","That LiteLLM is secure by default","Production readiness from the illustrative snippets"]},"engineering":{"fit":"Fits central IT or campus research computing teams serving many developers on Bedrock.","architectureIntegration":"LiteLLM on Fargate behind ALB/CloudFront, Bedrock application inference profiles per model, RDS and Valkey state, Langfuse and CloudWatch telemetry.","prerequisites":["Bedrock model access","LiteLLM license decision","SSO integration","Secrets Manager and RDS"],"constraints":["Global inference crosses commercial Regions worldwide","GovCloud not covered","Budgets fail silently without per-model costs","Long-running requests need 900-second timeouts"],"security":"Keep admin UI off the public internet, load secrets from Secrets Manager, restrict egress to provider endpoints, review Langfuse prompt capture.","proofOfValue":["Budget returns HTTP 429 at threshold in test","Per-user spend reconciles with CUR","Admin UI unreachable externally","Residency setting verified in inference profile"]},"delivery":{"work":"Deploy a pilot gateway, configure costs and budgets, integrate SSO, validate controls, then expand.","dependencies":["License procurement","Identity team","Security review"],"ownership":"Platform engineering team, with security owning patching and exposure","skillsAdoption":"Platform staff need LiteLLM and Bedrock profile skills; developers need onboarding to self-service keys.","governanceCheckpoints":["Residency decision sign-off","Prompt logging review","Budget policy approval"],"acceptanceCriteria":["Proposed: budget enforcement verified for every model","Proposed: per-user spend within 5% of CUR","Proposed: 0 external admin endpoints"],"risks":["Silent budget failure","Unpatched gateway","Sensitive prompts in traces"]}},"retrievedAt":"2026-11-14T04:00:13Z","enrichedAt":"2026-11-14T04:06:32Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"No accessibility content. Workforce: developers self-serve keys; platform staff must operate a multi-component stack.","procurementImplications":"Production self-service requires a LiteLLM Enterprise license in addition to AWS charges; buyers should price the license and the always-on Fargate, RDS, Valkey and ALB resources.","operatingModelImplications":"Treat the gateway as a production service with an owner, patching, cost configuration checks and separation of CI/CD traffic from interactive use.","sourceVerification":{"openedUrl":"https://aws.amazon.com/blogs/machine-learning/building-a-self-service-llm-gateway-with-amazon-bedrock-and-litellm/","referenceExcerpt":"While the free tier supports virtual keys, the self-service key issuance described in this post requires the Enterprise version.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}