Listing Thumbnail

    Safium AI

     Info
    Sold by: Cambium 
    Deployed on AWS
    LLM Gateway with unified API access to 100+ AI providers, advanced routing, budget controls, SSO authentication, and comprehensive observability for production deployments.

    Overview

    Safium is a production-ready LLM Gateway that provides a unified OpenAI-compatible API to 100+ AI providers including OpenAI, Anthropic, Google Gemini, AWS Bedrock, and Azure OpenAI. Deploy it in your VPC to centralize AI access, control costs, and ensure security compliance. The gateway automatically translates requests and responses across providers, enabling you to switch models without code changes and avoid vendor lock-in. Built for enterprise requirements, Safium includes SSO integration (Google, Microsoft, OIDC), role-based access control, team and user-level budgets, rate limiting, and comprehensive audit trails. The modern admin dashboard provides real-time usage analytics, spend tracking, and API key management. Intelligent load balancing and automatic fallbacks ensure high availability, while Redis caching and request retry logic optimize performance. This AWS Marketplace offering deploys Safium on ECS Fargate with Application Load Balancer, Multi-AZ RDS PostgreSQL, ElastiCache Redis, and CloudWatch monitoring. The containerized architecture ensures scalability and reliability while keeping your data and API keys under your control. Prometheus metrics export enables integration with existing observability stacks. Perfect for organizations implementing multi-provider AI strategies, requiring cost optimization through intelligent routing, or needing governance and compliance controls for LLM usage. Get started in minutes by deploying from AWS Marketplace, configuring your provider API keys, setting up SSO, creating teams with budgets, and making requests through the unified API. MIT licensed with comprehensive documentation and enterprise support available.

    Highlights

    • Unified OpenAI-compatible API for 100+ LLM providers - avoid vendor lock-in and switch models without code changes
    • security with SSO, RBAC, team budgets, rate limiting, and comprehensive audit trails for compliance
    • Production-ready deployment on ECS Fargate with intelligent load balancing, automatic fallbacks, and CloudWatch monitoring

    Details

    Sold by

    Delivery method

    Supported services

    Delivery option
    Safium LLM Gateway - Production Container Image

    Latest version

    Operating system
    Linux

    Deployed on AWS

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Pricing is based on a fixed subscription cost. You pay the same amount each billing period for unlimited usage of the product. Pricing is prorated, so you're only charged for the number of days you've been subscribed. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Fixed subscription cost

     Info
    Monthly subscription
    $3,000.00/month

    Vendor refund policy

    This product is provided under MIT License as a self-hosted container. AWS infrastructure costs are billed separately by AWS. If you experience technical issues within 30 days of purchase, contact our support team. If we cannot resolve deployment or functionality issues, you may request a refund through AWS Marketplace support. Third-party LLM provider costs (OpenAI, Anthropic, etc.) are not covered by this policy.

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    Delivery details

    Safium LLM Gateway - Production Container Image

    Supported services: Learn more 
    • Amazon ECS
    Container image

    Containers are lightweight, portable execution environments that wrap server application software in a filesystem that includes everything it needs to run. Container applications run on supported container runtimes and orchestration services, such as Amazon Elastic Container Service (Amazon ECS) or Amazon Elastic Kubernetes Service (Amazon EKS). Both eliminate the need for you to install and operate your own container orchestration software by managing and scheduling containers on a scalable cluster of virtual machines.

    Version release notes

    SAFIUM v2.6.0 - RELEASE NOTES Release date: November 8, 2026 Type: Application image release plus CloudFormation template changes. First AWS Marketplace release since v2.1.1.

    v2.6.0 adds usage tracking for coding agents: Claude Code runs through Safium, with a Coding Agents dashboard and usage per Jira ticket. It also brings a broad security hardening that followed an external penetration test, and template changes: Redis requires a password, AWS WAF is attached by you, and the stack runs in any AWS region.

    NEW: CLAUDE CODE THROUGH SAFIUM

    • Developers keep their claude.ai seat. Every prompt goes through Safium, which checks the developer's Safium key, records the usage and forwards the request to Anthropic. The admin creates the /anthropic route on the Pass-through page (Forward Caller Credentials on).
    • A setup script (Bash and PowerShell) connects each developer machine and registers the seat.
    • Coding Agents page under Usage: overview, insights, tickets, sessions, developers and seats. Costs are estimates at the provider's API list price.
    • Usage per Jira project, epic, ticket and sub-task, taken from the git branch name or from a tagger such as Kipi.
    • Key types: limit a key to the pass-through routes, to read-only, or to a list of routes.
    • Read-only analytics API under /coding-agents, for other applications.

    SECURITY

    • Login: accounts lock after repeated failures, and every failure gets the same answer. Passwords are hashed with scrypt.
    • The dashboard session is owned by the server (HttpOnly cookie). Changing the role inside a session token no longer grants it.
    • MCP servers run over HTTP or SSE only. stdio is disabled, so MCP settings cannot run commands.
    • No package installers in the image. API docs and the OpenAPI schema are off in production.
    • Audit log on by default. Secrets are kept out of APIs, telemetry and logs. Salt key rotation is supported.
    • Fixed: a Host header could skip authentication; OIDC login could hand out another user's identity; a caller could make Safium send a local file to an outside server; prompt templates could run code; a non-admin dashboard user could change the proxy configuration; an Admin Viewer key could run inference.
    • Fixed: the developer's Safium key, cookies and Safium's own headers no longer reach Anthropic. A refused credential is no longer echoed or stored. A key's model list and spend-report permission are always enforced.
    • Dependencies updated. The image passes the vulnerability scan (below).

    CLOUDFORMATION TEMPLATE CHANGES

    • WAF: the stack no longer creates one. To use AWS WAF, create a CloudFront-scoped Web ACL (these always live in us-east-1) and enter its ARN in WAFWebACLArn.
    • Any region: CloudFrontPrefixListId is now required and has no default. Use your region's com.amazonaws.global.cloudfront.origin-facing prefix list (us-east-1: pl-3b927c52).
    • Redis: TLS is always on, and Safium signs in with its own Redis user and a generated password kept in Secrets Manager. RedisInTransitEncryption is removed; RedisUsername is added.
    • The salt key comes from Secrets Manager. The audit log, secure cookies and API-docs-off are set by the template.

    UPGRADING FROM v2.1.1

    1. If your stack used the WAF that the old template created, create your own CloudFront-scoped Web ACL in us-east-1 first and enter its ARN in WAFWebACLArn. Otherwise the update removes the WAF.
    2. Set CloudFrontPrefixListId (us-east-1: pl-3b927c52).
    3. Update the stack with the new template (Image: cambium/safium:v2.6.0). Database migrations run automatically at startup.
    4. Keys that relied on a legacy config to reach models outside their own list, or on "get_spend_routes": false for spend reports, lose that access. Add the models to the key, or set the permission to true.
    5. The built-in /anthropic route is removed. To send Claude Code through Safium, create it on the Pass-through page: path /anthropic, target https://api.anthropic.com , Include Subpaths and Forward Caller Credentials on, no headers.

    VULNERABILITY SCAN The v2.6.0 image was scanned with Trivy 0.71.2 (vulnerability database of November 8, 2026) before it was pushed: no unaddressed CRITICAL or HIGH findings. Two HIGH findings in starlette 0.49.1 (CVE-2026-48818, CVE-2026-54283) are accepted until the FastAPI upgrade that moves to starlette 1.x. MEDIUM: 3, LOW: 1.

    COMPATIBILITY

    • Container image: cambium/safium:v2.6.0 (supersedes v2.1.1)
    • Region: any AWS region. AWS WAF is optional; a CloudFront-scoped Web ACL is always created in us-east-1.
    • AWS services: ECS Fargate, RDS (PostgreSQL 17), ElastiCache (Valkey/Redis, optional), CloudFront, ALB, Secrets Manager, CloudWatch, WAF (optional).

    Additional details

    Usage instructions

    OVERVIEW Safium LLM Gateway provides unified access to 100+ LLM providers through a single OpenAI-compatible API.

    PREREQUISITES

    • Active AWS account with ECS, RDS, ALB, and VPC permissions
    • LLM provider API keys (OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, etc.)
    • SSL certificate in AWS Certificate Manager for HTTPS

    DEPLOYMENT VIA CLOUDFORMATION

    1. Launch Stack Use the provided CloudFormation template to automatically deploy:
    • ECS Fargate cluster with Safium container
    • RDS PostgreSQL database with automated backups
    • Application Load Balancer with HTTPS
    • VPC, security groups, and IAM roles
    1. Configure Parameters Provide during stack creation:
    • Database credentials
    • Master key (generate: openssl rand -base64 32)
    • Salt key (generate: openssl rand -base64 32)
    • Certificate ARN
    • ECS task count (2+ recommended)
    1. Access Dashboard After stack completes (10-15 minutes):
    • Navigate to ALB DNS name
    • Login: admin / admin123
    • IMPORTANT: Change password immediately

    ADDING LLM PROVIDERS

    1. Log into admin dashboard
    2. Click "Models" then "Add Model"
    3. Enter provider credentials:
      • OpenAI: OPENAI_API_KEY
      • Anthropic: ANTHROPIC_API_KEY
      • AWS Bedrock: IAM role auto-configured
      • Azure OpenAI: API key and endpoint
    4. Test connection before saving

    API USAGE

    OpenAI-compatible API at: https://your-domain/v1 

    Example: curl https://your-domain/v1/chat/completions 
    -H "Authorization: Bearer YOUR_KEY"
    -H "Content-Type: application/json"
    -d '{"model":"gpt-4","messages":[{"role":"user","content":"Hello"}]}'

    Python: import openai client = openai.OpenAI(api_key="YOUR_KEY", base_url="https://your-domain/v1 ") response = client.chat.completions.create(model="gpt-4", messages=[{"role":"user","content":"Hi"}])

    MONITORING

    Health Checks:

    • Liveness: /health/liveness
    • Readiness: /health/readiness

    Metrics:

    • Prometheus: /metrics
    • CloudWatch: Auto-collected via ECS
    • Dashboard: View usage analytics

    Scaling:

    • Update ECS desired task count
    • Auto-scaling via CloudFormation config
    • RDS scales independently

    SECURITY

    • Change default admin password immediately
    • Use AWS Secrets Manager for keys
    • Enable VPC Flow Logs
    • Restrict database to ECS security group only
    • Rotate API keys regularly
    • Enable AWS WAF on ALB for production

    TROUBLESHOOTING

    Container issues:

    • Check CloudWatch logs for ECS tasks
    • Verify DATABASE_URL in task definition
    • Ensure security groups allow ECS-to-RDS

    Authentication errors:

    • Verify SAFIUM_MASTER_KEY is set
    • Check API key format
    • Review user permissions in dashboard

    COST OPTIMIZATION

    • Right-size ECS tasks (start: 2 vCPU, 4GB RAM)
    • Use RDS reserved instances
    • Set budget alerts in dashboard

    SUPPORT

    Technical Support: Contact Cambium through AWS Marketplace support channel Questions & Issues: Use AWS Marketplace messaging for direct assistance API Reference: OpenAI-compatible (https://platform.openai.com/docs/api-reference ) CloudFormation: Template included with product listing

    Support

    AWS infrastructure support

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.