
Veila is a privacy-first AI chat service, built and hosted in Switzerland. It gives people access to today’s most capable language models (from OpenAI, Anthropic, Google, Mistral, Meta, DeepSeek, Qwen and others) without handing over their identity to Big Tech.
I built Veila as a solo developer in my free time, and I fund it myself. It started in July 2025 and is now in production at veila.ai, with around a hundred versioned releases so far.
The idea
People tell AI assistants things they wouldn’t tell most humans: health questions, relationship problems, business ideas, half-finished drafts. When you use a provider directly, every one of those chats is tied to your account, your email, your IP address and your device, and can be merged into a detailed profile of you.
Veila puts a privacy layer between the user and the model:
- You write a message in the Veila chat app, just like in any other AI assistant.
- Veila strips your identity. The server removes identifying metadata such as your IP address, user agent and account, and forwards only the message.
- The model replies. The provider sees one request among thousands from Veila and can’t tell who asked.
Everyone’s prompts leave through the same door. And because chat history is end-to-end encrypted, the stored data is useless to anyone without the user’s password, including me.
Features
- End-to-end encrypted chat history, titles and folder names
- Anonymous proxying to model providers
- No prompt logs: messages are processed in memory and then discarded
- Sign up with only a username and password (no email or phone number)
- Many models from many providers, switchable mid-conversation
- Streaming responses, Markdown and code highlighting
- Web search and adjustable reasoning effort for models that support them
- Folders and favorites to organize chats
- Free daily token allowance, plus pay-as-you-go credits
- In-app feedback and feature voting, so users help shape the roadmap
- Light/dark theme and a responsive UI
- Swiss hosting, under strong privacy laws
Security architecture
End-to-end encryption is what makes Veila different from a simple proxy. All key material is derived in the browser, so the server never sees the password or the keys.
- Zero-knowledge login. The browser sends a hash derived from the password, and the server hashes it again with Argon2id. The plain password never reaches the server.
- Per-chat keys. Each chat has its own key, derived with HKDF, so chats are cryptographically isolated from each other.
- Encrypted metadata. Chat titles and folder names are encrypted too. Only what the service needs to work stays in plain text: timestamps (for sorting), the model used and token counts (for billing).
- The honest trade-off. To reach the model, a message has to pass through the server in plain text. Veila handles it only in memory, never logs, stores or analyzes it, and the provider can read the content but can’t tell who sent it. If you forget your password, your history can’t be recovered. That’s by design.
On top of this come rate limiting on all endpoints, abuse prevention for the free tier, a strict Content Security Policy, and regular security audits of the backend and frontend.
Business model
Veila has no ads, no data selling and no investors. Pricing is meant to be simple and transparent:
- Free: a daily token allowance with the full chat features.
- Pay-as-you-go: top up credits (from $10) and pay only for what you use. Credits are billed at model cost plus a transparent 30% markup.
Free users matter for privacy too: the more people send requests through Veila, the better each individual request blends in. Paid users cover the costs for everyone, and the long-term goal is to also fund an independent audit.
Tech stack
| Layer | Technology |
|---|---|
| Chat app | SvelteKit, Svelte 5, Tailwind CSS 4, Melt UI, Web Crypto API |
| Admin dashboard | SvelteKit (user management, invite codes, usage and revenue metrics, moderation) |
| Backend | Go, with a provider-agnostic LLM layer (OpenRouter adapter) |
| Database | PostgreSQL 17 with automatic migrations |
| Payments | Creem (one-time credit top-ups via webhooks) |
| Infrastructure | Docker Compose, Traefik, blue/green backend deployments, Ansible provisioning |
| Website & docs | Static HTML/CSS, with docs generated from Markdown |
| Operations | Self-hosted, privacy-friendly analytics and monitoring on a separate utility server |
A few design decisions I’m happy with:
- Provider-agnostic backend. Models, pricing and features like web search or reasoning effort go through a common interface, so adding a provider or model doesn’t touch the chat logic.
- Spec-driven development. Every larger feature, from E2EE storage and streaming to the free tier and payments, starts as a written spec in the repository. That keeps the work focused and makes it easy to use AI coding agents on a codebase where privacy mistakes are expensive.
- Boring, reproducible operations. CI checks with vulnerability scanning, Renovate for dependency updates, automatic semantic versioning with a changelog, a staging environment, and zero-downtime blue/green deploys to production.
What’s next
- Data export, so users can download their encrypted chats at any time
- An automatically generated table of contents to stay oriented in a long chat
- An independent security audit as Veila grows
Ideas and feedback are always welcome, in the app, on Discord, or at heynospam@xveila.ai.