Build, host and run AI solutions.

Run open-source LLMs on CPU — no GPU required. OpenAI-compatible API, 200+ models, self-hosted in one command.
LocalAI (MIT, ~47k GitHub stars) is a free, open-source alternative to the OpenAI API. It runs on consumer-grade hardware without a GPU — any VPS with 2 GB RAM can serve Llama 3, Mistral, Phi-3, Qwen and 200+ other models via an OpenAI-compatible REST API. Your existing code that calls `openai.ChatCompletion.create()` works without modification: change the base URL to your VPS and all API calls are routed locally, with zero per-token cost and complete data privacy.
Deployed on a ServOrbit VPS, LocalAI becomes your private LLM backend: an endpoint your team's applications, RAG pipelines and agent frameworks call instead of OpenAI — with no cloud dependency, no usage limits, and no data leaving your infrastructure. LocalAI supports text generation, function calling, image generation (Stable Diffusion), speech-to-text (Whisper), and text embeddings — all from a single container.
curl http://localhost:8080/models/apply -d '{"id":"llama-3.2-3b-instruct:q4_0"}' downloads and activates any supported model.Replace your OpenAI API calls with a LocalAI endpoint on your VPS. Your SaaS, internal tool, or RAG pipeline sends requests to https://your-domain.com/v1/chat/completions — identical JSON, identical SDK, zero cost per token. Reaching the endpoint from another machine requires a domain attached to the VPS, since LocalAI only listens on the loopback; code running on the VPS itself calls http://127.0.0.1:8080/v1/chat/completions. Ideal for high-volume use cases where per-token API pricing becomes a bottleneck.
For legal, medical or financial applications where data cannot leave your infrastructure, LocalAI runs entirely offline once the model is downloaded. No requests ever reach an external API. The GGUF model files are stored in a Docker volume on your own disk.
Run embedding models (nomic-embed-text, mxbai-embed-large) locally alongside Qdrant on the same VPS to build a complete semantic search or RAG pipeline. No OpenAI embedding API cost, no data leaving your server, no rate limits.
Guide optimized for ServOrbit Cloud VPS.
Order a ServOrbit VPS with at least 2 GB of RAM; the system installed is Ubuntu 24.04. For comfortable multi-user use, or for models from 7 billion parameters upwards, 4 GB is recommended. Core count matters for speed: 4 vCPU noticeably reduce generation latency on models of 3 to 7 billion parameters.
Installing from your client area creates the localai/localai:latest container — an image of about 900 MB — mounts the local-ai volume on /build/models, and publishes the OpenAI-compatible API server on the loopback interface, at 127.0.0.1:8080. No model ships with it: the first request naming a model triggers its download into the persistent volume.
LocalAI opens without any credentials at all: your first move is to go through the model gallery and download one, since the installation provides none. The OpenAI-compatible API answers at the same address and is protected by no key — as long as the service listens only on the loopback interface, only users with SSH access to the VPS can reach it.
A single API call is enough: curl http://127.0.0.1:8080/models/apply -H 'Content-Type: application/json' -d '{"id":"llama-3.2-3b-instruct:q4_0"}'. LocalAI fetches the GGUF file and registers the model. The Q4 quantisation of a 3 billion parameter model fits in 2 GB of RAM; a 7 billion one calls for about 4.
Test the API from the VPS: curl http://127.0.0.1:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{"model":"llama-3.2-3b-instruct:q4_0","messages":[{"role":"user","content":"Hello!"}]}'. The response has exactly the shape of OpenAI's: changing the base URL in your existing code is all it takes to make it work.
In any OpenAI SDK, set base_url='https://<your-domain>/v1' and api_key='not-needed'; that public address assumes a domain attached to the VPS. From the VPS itself, use base_url='http://127.0.0.1:8080/v1'. Without a domain, open an SSH tunnel — ssh -L 8080:127.0.0.1:8080 root@<your-vps-ip> — and point at http://localhost:8080/v1. The port may be reassigned at install time: use the one shown on the app's card in your client area, 8080 being only the catalogue value. In LangChain that gives ChatOpenAI(base_url=..., api_key='x'); in LiteLLM, prefix the model with localai/; in Open WebUI, declare an OpenAI connection with that same base URL. Your existing code needs no other change.
LocalAI is open by default: no key is required. The application knows how to demand one through the LOCALAI_API_KEY environment variable, but the catalogue installation does not set one — so treat the endpoint as unauthenticated. As soon as a domain is attached, ServOrbit installs the nginx vhost and the TLS certificate; encryption protects the transport, it identifies nobody. As long as no key is in place, stay without a domain and work through an SSH tunnel, or publish an authenticating gateway instead — LiteLLM for instance — and keep LocalAI behind it.
Maintaining a project that uses LocalAI? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.
[](https://servorbit.com/vps-cloud?template=local-ai&utm_source=deploy-badge&utm_medium=referral&utm_campaign=local-ai)<a href="https://servorbit.com/vps-cloud?template=local-ai&utm_source=deploy-badge&utm_medium=referral&utm_campaign=local-ai"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy LocalAI on ServOrbit" height="40"></a>The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.
Run open-source LLMs locally via a dead-simple API. Pull Llama 3, Mistral, Qwen or DeepSeek in one command — OpenAI-compatible, zero per-token cost.
Artificial IntelligenceSelf-hosted OpenAI-compatible API gateway for 100+ LLMs — route between Ollama, Anthropic, Azure and more from a single endpoint, with per-key rate limits and spend tracking.
Artificial IntelligenceWeb interface to interact with your local or remote LLMs. Your data stays on your infrastructure — no third party involved.
Browse our help center and FAQ, or reach our team — callback, WhatsApp or email. Support in French, English and Arabic.