Deploy AIRI Self-Hosted AI Companion
AIRI self-hosted AI companion with avatars, local chat and voice.
Airi
Storage
Just deployed
/data
Ollama
Just deployed
/root/.ollama
Redis
Just deployed
/data
Just deployed
/data
Just deployed
Just deployed
/var/lib/postgresql
Deploy and Host AIRI on Railway
AIRI is a self-hosted AI companion for the browser, with Live2D and VRM avatars, text chat, microphone input, and spoken replies. This one-click Railway template runs the AIRI web app, its API, and all inference services in your project. No external AI API keys are required.
About Hosting AIRI
Six services run in one Railway project. AIRI exposes a single public HTTPS endpoint. The model engines, database, session store, and object store use private networking. Models download on first boot and are cached on persistent volumes. Chat, transcription, and speech synthesis run on CPU.
Common Use Cases
- Chat with a personal AI character using a Live2D or VRM avatar.
- Speak into your microphone and listen to AIRI reply.
- Store supported synced data and uploaded media in your own Railway project.
Dependencies for AIRI Hosting
Deployment Dependencies
| Service | Purpose |
|---|---|
| AIRI | Stage Web, local account, API, and the public HTTPS gateway |
| Ollama | Text chat with Qwen2.5 1.5B |
| Voice | Multilingual Faster Whisper transcription and Kokoro speech synthesis, with a French voice selected by default |
| PostgreSQL | Persistent account and synced AIRI data |
| Redis | Sessions and coordination |
| RustFS | Private media storage with signed upload and download links |
First launch
- Deploy the template and open the generated AIRI domain.
- In the AIRI service variables, find OWNER_EMAIL and OWNER_PASSWORD. Use these with the email sign-in option. The template generates a new password for each installation and creates the local account on first boot.
- Give Ollama and Voice time to download their models. Start a chat, then allow microphone access to try voice input and spoken responses.
- Enable the AIRI sync options you want to use for supported data. PostgreSQL and RustFS use persistent volumes.
This template is designed for a personal web companion with one owner account. Microphone input uses recorded speech transcription. Desktop overlays and game integrations are outside the scope of this web deployment.
Why Deploy AIRI on Railway?
A single deployment configures the six services, connects them over the private network, and generates instance-specific secrets. The template supplies CPU models for chat and audio, and inference requires the owner's AIRI session.
Template Content


