Open WebUI Integration
AVELIN API is fully compatible with Open WebUI — the most popular self-hosted AI chat interface with over 60K GitHub stars. Open WebUI gives you a polished ChatGPT-like experience while connecting to both local models and AVELIN's frontier API simultaneously.
Why AVELIN + Open WebUI? Mix local privacy with frontier intelligence — run small models locally via Ollama for sensitive tasks, then switch to AVELIN's 1M-token context models for complex work, all from the same beautiful interface.
Open WebUI (formerly Ollama WebUI) is a self-hosted, feature-rich AI chat platform that supports both local models through Ollama and remote OpenAI-compatible APIs at the same time. With over 60K GitHub stars, it's the most widely adopted self-hosted chat interface in the AI ecosystem. It includes built-in RAG with document upload and retrieval, web search integration, a model playground for comparing outputs, pipeline support for chaining operations, and function calling — all wrapped in a clean, responsive UI that rivals commercial offerings.
The killer feature is dual-mode operation: local and cloud simultaneously. Run Llama 3 on your own hardware for private conversations, then switch to avelin-coding-pro when you need to analyze an entire codebase with 1M-token context. Your data stays local when it matters, and you tap frontier capability when you need it. It's for developers, researchers, teams, and privacy-conscious users who want a self-hosted ChatGPT-quality experience without sacrificing access to the most capable models available.
Quick Setup
Step 1: Get your AVELIN API key
Sign up at avelin.ai and generate an API key. It will look like sk-ave...xxxx.
Step 2: Install Open WebUI
# Docker (recommended) docker run -d -p 3000:8080 \ --add-host=host.docker.internal:host-gateway \ -v open-webui:/app/backend/data \ --name open-webui \ --restart always \ ghcr.io/open-webui/open-webui:main
Open WebUI runs at http://localhost:3000 by default.
Step 3: Configure AVELIN as a Provider
- Log in and open the Admin Panel (shield icon)
- Go to Settings > Connections
- Under OpenAI API, click Add
- Enter your credentials:
- Click Save
Step 4: Start Chatting
- Open the model selector in the chat interface
- Choose an AVELIN model (e.g.,
avelin-pro) - Start chatting — or mix with your local Ollama models
Recommended Models
For General Chat: avelin-pro
For Code & RAG: avelin-coding-pro
Quick Reference
Why AVELIN for Open WebUI?
- Local + cloud hybrid: Keep Ollama for private tasks, add AVELIN for frontier capability
- Prompt caching: ~80% cost reduction on repeated system prompts and RAG contexts
- Automatic failover: AVELIN switches providers if one is slow or down — your WebUI stays responsive
- Model diversity: 9 specialized models through one API key, all available in the model selector
- Function calling: AVELIN's agentic models support Open WebUI's tools and pipelines
Advanced Configuration
Pipelines
Open WebUI supports pipelines for chaining operations. Use AVELIN's agentic models for complex multi-step workflows:
- Go to Admin Panel > Settings > Pipelines
- Configure a pipeline with
avelin-agentic-ultraas the reasoning model - Chain with local models for cost optimization on simpler steps
Web Search
Enable web search to give AVELIN models real-time context:
- Go to Admin Panel > Settings > Web Search
- Configure your search provider (Google, Bing, DuckDuckGo, etc.)
- AVELIN models will use retrieved results as context automatically
Model Comparison (Playground)
Use Open WebUI's playground to compare AVELIN models side by side:
- Open the Playground from the sidebar
- Add
avelin-proandavelin-ultraas two separate models - Send the same prompt to both and compare outputs
Troubleshooting
Related
- API Quickstart — First API call in 5 minutes
- LibreChat Guide — Another self-hosted chat alternative
- LobeChat Guide — Modern self-hosted option with plugins
- Model Catalog — Full model comparison
- Open WebUI Docs — Official documentation