Overview
LocalAI chat interface
The LocalAI web UI, served on port 80 through an authenticating nginx proxy, chatting with the pre pulled local model over the OpenAI compatible chat completions API.
LocalAI chat interface
LocalAI home dashboard
LocalAI model gallery
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview LocalAI is a free, open source, self hosted alternative to the OpenAI API. It exposes the same OpenAI compatible REST API for chat completions, completions, embeddings, audio and image generation, but runs entirely on your own infrastructure with no external API calls and no GPU required. This image delivers LocalAI fully installed and configured as a system service, with a small instruct model pre pulled so the chat API and the web interface work the moment the instance boots.
Application Stack The LocalAI single binary installed under /opt/localai and run by a dedicated unprivileged service account. The models directory stored on a dedicated data disk so your downloaded models are independently resizable and survive instance replacement. A systemd service that starts LocalAI on boot and restarts it on failure. An nginx reverse proxy that publishes the web UI and the OpenAI compatible API on port 80 behind HTTP Basic authentication.
OpenAI Compatible API Point any OpenAI client library or tool at the instance and change only the base URL. LocalAI serves the chat completions, completions, embeddings, models and other OpenAI compatible endpoints, so existing applications work unchanged against models running on your own hardware. A small CPU friendly instruct model is pre pulled and ready, and you can install hundreds more from the built in gallery through the web UI or the model apply API.
Secure First Boot On the first boot of your instance a one shot service generates a fresh LocalAI API key and a fresh admin password, both unique to that instance, wires the API key into the runtime and the password into the nginx credentials file, and writes them to a root only file. The inference server itself binds to loopback only and is never exposed without authentication. No shared or default credentials ship in the image.
Ready To Use The web UI is served on port 80 through nginx. Sign in with the generated administrator credentials to chat with the pre pulled model, browse and install gallery models, and inspect the running backends. The OpenAI compatible API is served on the same port behind the same login plus the generated API key as a bearer token.
cloudimg Support 24/7 technical support by email and chat. Help with deployment, model installation and configuration, the OpenAI compatible API, prompt templates, embeddings, the model gallery, TLS and performance tuning.
Use Cases A private, self hosted drop in for the OpenAI API. Running local language models with no data leaving your infrastructure. Powering chat, retrieval augmented generation and agent applications on your own hardware. Generating embeddings for search and similarity. Air gapped and compliance constrained inference.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- LocalAI drop in OpenAI API replacement preinstalled as a systemd service with a small instruct model pre pulled, so the chat completions API and the web UI work on port 80 the moment the instance boots, no GPU required
- Serves the OpenAI compatible chat, completions, embeddings and models endpoints behind an authenticating nginx proxy, with the models directory on a dedicated independently resizable data disk and hundreds of gallery models installable from the web UI
- Hardened first boot generates a fresh API key and admin password for every instance and stores them in a file only the root user can read, with 24/7 technical support from cloudimg
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
t3.large Recommended | t3.large | $0.10 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c5a.12xlarge | c5a.12xlarge instance type | $0.24 |
c5a.16xlarge | c5a.16xlarge instance type | $0.24 |
c5a.24xlarge | c5a.24xlarge instance type | $0.24 |
c5a.2xlarge | c5a.2xlarge instance type | $0.24 |
c5a.4xlarge | c5a.4xlarge instance type | $0.24 |
c5a.8xlarge | c5a.8xlarge instance type | $0.24 |
c5a.large | c5a.large instance type | $0.08 |
Vendor refund policy
Refunds available on request.
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
Initial release of LocalAI 4.4.3, the open source drop in OpenAI API replacement for local inference.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant). The LocalAI web UI is served on port 80: browse to http://<instance-public-ip>/ and sign in with user admin and the generated password. Retrieve the credentials with: sudo cat /root/localai-aws-credentials.txt. The OpenAI compatible REST API (/v1/models, /v1/chat/completions, /v1/embeddings and more) is served on the same port 80 under /v1/ and is gated by the generated LocalAI API key sent as an Authorization Bearer token (point any OpenAI client at http://<instance-public-ip>/v1 with that key). A small instruct model named smollm2-135m-instruct is pre pulled and ready; install more from the gallery through the web UI. The models directory lives on a dedicated data disk mounted at /var/lib/localai.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this product by email and live chat. Our engineers help with deployment, configuration, updates, performance tuning and troubleshooting; critical issues receive a one hour average response. Contact support@cloudimg.co.uk .
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.