Skip to main content
Open WebUI is a feature-rich self-hosted AI platform that supports fully offline operation. Through APIYI, you can integrate various mainstream large language models in Open WebUI.

Quick Deployment

Docker Quick Start

Docker Compose Deployment

Configure APIYI

Method 1: Environment Variable Configuration

Set environment variables during deployment:

Method 2: Interface Configuration

  1. Access Open WebUI admin interface
  2. Go to Settings > Connections
  3. Configure in OpenAI API section:
    • API Base URL: https://api.apiyi.com/v1
    • API Key: Enter your APIYI key
  4. Click save configuration
Configuration Key Points
  • API Base URL needs to include the /v1 suffix
  • API Key can be obtained from APIYI Console
  • Recommended to use environment variable method for easier management and updates

Supported Models

Open WebUI supports 400+ mainstream AI models through APIYI.

See the models we recommend right now

Latest model recommendations, performance comparisons, and scenario-based guidance — covering writing, programming, fast responses, image generation, video generation, and more.
Why don’t we list specific models here?AI models are updated at a rapid pace. To make sure you always get accurate recommendations, we maintain the model list, performance data, and usage guidance in one place: the Model Recommendations page.

Core Features

RAG (Retrieval-Augmented Generation)

Open WebUI supports document upload and knowledge base features:
  1. Document Upload
    • Supports PDF, TXT, DOCX and other formats
    • Automatic vectorization storage
    • Supports multilingual documents
  2. Knowledge Base Management
    • Create specialized knowledge bases
    • Document classification and tagging
    • Intelligent retrieval matching

OpenAI Compatible API

Open WebUI provides a complete OpenAI compatible API:

Tool Integration

Supports external tools and plugins:
  • Web search
  • Code execution
  • Image generation
  • Document processing

Advanced Configuration

Multi-Model Configuration

Configure multiple model sources in docker-compose.yml:

User Permission Management

Data Persistence

API Integration Examples

Python Integration

JavaScript Integration

Troubleshooting

Common Issues

Connection Failed
  • Check if API Base URL is correct: https://api.apiyi.com/v1
  • Verify API Key validity
  • Confirm firewall settings
Model Unavailable
  • Check account balance
  • Confirm model is within service scope
  • Check APIYI service status
Upload Failed
  • Check file format support
  • Confirm sufficient storage space
  • Verify file size limits

Log Debugging

Enable debug mode:
View detailed logs:

Best Practices

Performance Optimization

  1. Model Selection
    • Pick a model that matches the complexity of the task
    • See the Model Recommendations page for up-to-date guidance on choosing a model
  2. Caching Strategy
    • Enable conversation caching
    • Set reasonable cache expiration time
    • Regularly clean unused cache
  3. Resource Management
    • Monitor memory usage
    • Set reasonable concurrent limits
    • Regularly backup user data

Security Configuration

Monitoring Alerts

Integrate monitoring system:
Need more help? Please check Open WebUI Official Documentation or visit APIYI Official Website.