Vichar
Self Host

Self Host Vichar

Deploy Vichar on your own infrastructure with Docker, Docker Compose, or Kubernetes on AWS, GCP, and Azure.

Vichar is a self-hostable platform that provides a unified API gateway for multiple LLM providers. Run it on your own infrastructure to keep full control over your data and avoid platform fees.

Pick the deployment path that matches where you're running it.

Which option should I choose?

  • Trying it out or running a single low-traffic instance? Start with Docker or Docker Compose on one machine.
  • Running in production? Deploy to Kubernetes with our Helm chart, and use a managed Postgres and Redis from your cloud.
  • On a specific cloud? Follow the AWS, Google Cloud, or Azure guide for the exact managed services to provision.

What you'll need

Every deployment is built from the same pieces:

  • Stateless services — the gateway, API, UI, and a background worker. Scale these freely; they hold no data between requests.
  • PostgreSQL — the source of truth for users, projects, keys, and usage records.
  • Redis — response caching and the queue that feeds the worker.
  • Provider API keys — the OpenAI, Anthropic, Google, and other credentials the gateway uses, injected as secrets.

In production, run PostgreSQL and Redis as managed services from your cloud provider so backups, failover, and patching are handled for you.

Set UI_URL to your Vichar dashboard origin. When unset, it uses https://app.vichar.io; with NODE_ENV=development, it uses http://localhost:3002.

Sign-up email restrictions

With HOSTED=true, administrators can manage the custom email-domain blocklist in Admin → Settings → Blocked sign-up email domains. Paste domains one per line or separated by commas, then save. Entries also block subdomains; updates apply to subsequent email sign-ups without a restart. Existing users can still sign in.

The custom list starts empty and has no built-in entries. Clearing and saving it removes custom domain blocks. The separate disposable-email and plus-address checks remain active in hosted mode.

How is this guide?

Last updated on

On this page

Ready for production?

Ship to production with SSO, audit logs, spend controls, and guardrails your security team will approve.

Explore Enterprise