Overview
AI Inference Gateway & Model Router Command Center
AI Inference Gateway and Model Router by Code Creator
Deploy a private, self-hosted AI gateway on AWS with browser-based AI chat and an OpenAI-compatible API - without building the infrastructure from scratch. AI Inference Gateway and Model Router by Code Creator delivers a fully integrated stack that is ready to serve your team from first boot.
Who This Is For
This product is built for developers, AI teams, small businesses, and internal enterprise users who need a simple, private AI launch point on AWS. Whether you need a browser-based chat interface for internal users or an OpenAI-compatible API endpoint for applications and workflows, this AMI provides a turnkey starting point.
Example scenario: A development team that wants to test prompt chains and AI workflows against a local model before deploying to production can use the OpenAI-compatible API gateway to iterate privately, then route requests to external LLM providers when ready - all through the same unified API interface.
What Is Included
- Open WebUI - Browser-based chat interface supporting Ollama and OpenAI-compatible APIs
- Ollama - Local model serving with a CPU-friendly default model pre-configured and ready to use
- LiteLLM - Unified model routing proxy providing an OpenAI-compatible API layer across many LLM providers
- PostgreSQL - Integrated database for persistent data storage
- Redis - In-memory data store for caching and session management
- Nginx - Reverse proxy handling web traffic to the UI and API endpoints
- First Boot Automation - Automated provisioning that configures the full stack and sets up your instance URL on launch
- Helper Commands - Operational tooling for managing services, checking status, and common administrative tasks
How It Works
Open WebUI provides the browser interface where users interact with AI models through chat. Ollama serves open models locally on the instance. LiteLLM acts as the model routing and API gateway layer, providing a unified OpenAI-compatible interface that can proxy requests to many LLM providers. Nginx sits in front of the stack as a reverse proxy, routing traffic to the appropriate services.
At first boot, the automated provisioning process configures all six integrated components, sets up the instance URL, and prepares the CPU-friendly default local model so you can start chatting and making API calls immediately. The AMI eliminates the manual work of installing, configuring, and connecting each component individually.
Key Capabilities
- Private deployment - Your AI inference traffic stays on your own AWS infrastructure, giving you full control over data residency and network boundaries
- Browser-based AI chat - Give your team an intuitive chat interface without external dependencies
- OpenAI-compatible API - Connect downstream applications, scripts, and workflows through a standard API
- Multi-provider model routing - Use LiteLLM to route requests across different LLM providers through a single endpoint
- Local model serving - Run open models directly on the instance using Ollama
- Integrated data layer - PostgreSQL and Redis are pre-configured and running as part of the stack
- Operational tooling - Built-in helper commands simplify day-to-day management
Security Considerations
The entire stack runs on your own AWS infrastructure, so you maintain full control over network isolation, access policies, and data handling. Deploy the AMI within a VPC using private subnets and security groups to restrict access to only authorized users and systems.
Buyers should review their own encryption, authentication, and hardening requirements and apply additional controls as needed for their environment. Consider configuring TLS for Nginx, restricting open ports via security groups, and applying your organization's access control policies to the Open WebUI and LiteLLM endpoints.
Getting Started
Launch the AMI on your preferred EC2 instance. The first boot automation handles provisioning and configuration of all stack components. Once complete, access Open WebUI through your browser to start chatting with the default local model, or connect to the LiteLLM API endpoint to integrate with your applications. Add external LLM provider API keys through LiteLLM to route requests to additional models as needed.
To evaluate the product with minimal commitment, launch on a smaller EC2 instance type for a short test run to explore the chat interface, API endpoints, and model routing capabilities before scaling up.
What You Are Paying For
Code Creator charges apply for the integrated AI inference and model routing stack, automated first boot provisioning, local model serving configuration, OpenAI-compatible API gateway setup, PostgreSQL and Redis integration, operational helper tooling, and AWS Marketplace ready AMI engineering.
Highlights
- Private AI Chat Workspace From First Boot - This AMI delivers Open WebUI, Ollama, LiteLLM, PostgreSQL, Redis, and Nginx pre-configured and tested on Ubuntu 24.04. First-boot automation detects your public IP and configures the Nginx reverse proxy so you go from EC2 launch to a browser-based AI chat workspace without writing configuration files or debugging service dependencies.
- Unified OpenAI-Compatible API Gateway - LiteLLM provides a single OpenAI-compatible API endpoint that developers and internal workflows can call immediately. Route requests to the included local model for CPU-based inference or connect external LLM providers through one gateway - something neither standalone Ollama nor standalone LiteLLM offers without manual integration. The pre-wired database and caching layers ensure reliable operation without additional setup.
- Built-In Helper Commands for Day-Two Operations - Instead of referencing separate documentation for each component, the AMI includes helper commands for common management tasks across the integrated stack. Networking, reverse proxy configuration, service orchestration, and process management are already handled, replacing the manual effort of configuring inter-service communication and SSL termination that a DIY deployment requires.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Cost/hour |
|---|---|
t3.xlarge Recommended | $0.035 |
m6i.32xlarge | $0.035 |
m6i.24xlarge | $0.035 |
m7i.12xlarge | $0.035 |
m6i.12xlarge | $0.035 |
m7i.24xlarge | $0.035 |
m7i.16xlarge | $0.035 |
m6i.16xlarge | $0.035 |
m7i.48xlarge | $0.035 |
m6i.2xlarge | $0.035 |
Vendor refund policy
No contracts. We do not currently support refunds, but you can cancel at any time.
Custom pricing options
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Updated AI Inference Gateway and Model Router with security patches addressing CVE-2026-111497. Improved dependency security and first-boot credential generation while preserving full AI inference, API routing, and application functionality.
Additional details
Support
Vendor support
For support inquiries related to the AI Inference Gateway and Model Router AMI, contact Code Creator by email at info@codecreator.com .
Scope of Support
Support covers issues specific to the AMI's integrated stack, including:
- First-boot automation and provisioning
- Service orchestration across Open WebUI, Ollama, LiteLLM, PostgreSQL, Redis, and Nginx
- Built-in helper commands and their usage
- Inter-component configuration and connectivity
- Nginx reverse proxy and SSL termination setup
Instance Sizing Guidance
When contacting support, please include your EC2 instance type and region. The support team can help troubleshoot performance issues related to instance sizing for CPU-based local inference with Ollama.
Upstream Documentation
For questions about individual open-source component functionality beyond the scope of this AMI's integration, the following upstream resources are available:
- Open WebUI Documentation: https://docs.openwebui.com/
- LiteLLM Documentation: https://docs.litellm.ai/docs/
- Ollama Quickstart Guide: https://docs.ollama.com/quickstart
Refunds
To request a refund, contact Code Creator at info@codecreator.com with your AWS Marketplace order details and a description of the issue.
Submitting a Support Request
Please include the following information to help expedite troubleshooting:
- EC2 instance type and region
- Description of the observed behavior
- Any relevant log output or error messages
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.