Want to deploy powerful open-source AI models like Qwen 2.5, Llama 3, and DeepSeek-R1 locally, but struggling to find a simple and easy-to-use method?
Don't worry! The golden combination of Ollama + Open WebUI will clear all obstacles for you.
This article will provide a step-by-step tutorial, detailing how to easily build a local AI environment using Ollama + Open WebUI, giving you an exclusive and powerful AI assistant to explore the infinite possibilities of AI!
Warm Reminder: Due to hardware limitations, local deployment usually cannot run the largest version of DeepSeek-R1 (such as 67B). But don't worry, smaller models (such as 1.3B or 7B) can run smoothly on most personal computers and provide excellent reasoning capabilities. More importantly, you can choose the version that best suits your needs!
Why Choose Ollama + Open WebUI?
Among many local deployment solutions, the Ollama + Open WebUI combination stands out and becomes the first choice for many AI enthusiasts. What is their charm?
- Ollama: Simplified Model Engine
- Ollama is like an "AI model treasure chest". With just one command, you can download, install, and run various mainstream large language models, such as Llama 3 and DeepSeek-R1!
- Open WebUI: Elegant and Easy-to-Use Interactive Interface
- Open WebUI provides a gorgeous coat for Ollama. It provides a beautiful and intuitive web interface.
- Completely open source and free.
After deployment, just open http://127.0.0.1:8080
in your browser to start chatting with your AI assistant:
Exclusive for Windows Users: One-Click Start Integrated Package, Say Goodbye to Cumbersome Configuration!
Considering the difficulties that Windows users may encounter when configuring the Docker environment, we have thoughtfully prepared an integrated package that can be used after downloading and extracting it, truly achieving "out-of-the-box" experience!
Download and Extract the Integrated Package:
Integrated Package Download Address: https://www.123684.com/s/03Sxjv-JmvJ3
- If you have not installed Ollama, please double-click the
ollama-0.1.28-setup.exe
file in the integrated package to install it. The installation process is very simple, just click "Next" all the way.
- If you have not installed Ollama, please double-click the
Start WebUI:
- Double-click the
启动webui.bat
file in the integrated package to start Open WebUI.
- When you start it for the first time, the system will prompt you to set up an administrator account. Please follow the prompts to complete the registration.
- Double-click the
Choose the Model You Want to Use
After entering Open WebUI, you will see the model selection area in the upper left corner. If there is no model in the list, don't worry, it means you haven't downloaded any models yet.
You can directly enter the model name in the input box to download it online from Ollama.com:
Model Selection Tips:
- Model Treasure House: Go to https://ollama.com/models to browse the rich model resources officially provided by Ollama.
- Parameter Scale: Each model has different versions (such as 1.3B, 7B, 67B, etc.), representing different parameter scales. The more parameters, the more powerful the model is, but it also requires more computing resources (memory and video memory).
- Do What You Can: Choose the right model according to your hardware configuration. Generally speaking, if your "memory + video memory" size is larger than the model file size, you can run the model smoothly.
- Deepseek-R1 Selection: Search for
deepseek-r1
in Ollama's model library to find it.
Taking deploying the deepseek-r1
model as an example:
Select the Model Specification: On the https://ollama.com/library page, find the model version you want to deploy (such as
deepseek-r1
).Download the Model: Paste the model name (such as
deepseek-r1
) into the input box in the upper left corner of Open WebUI, and click the "Pull from ollama.com" button to start downloading.Wait for the Download to Complete: The download time depends on your network speed and model size, please be patient.
Start Your AI Journey
After the model is downloaded, you can chat with DeepSeek-R1 in Open WebUI! Explore its powerful functions!
If the model supports it, you can also upload pictures, files, etc. for multimodal interaction. Let your AI assistant not only be able to speak well, but also "read pictures"!
Advanced Exploration: Hidden Treasures of Open WebUI
Open WebUI has more functions than that! Click the menu button in the upper left corner and you will find more surprises:
Personalized Customization: In the "Settings" panel, you can adjust the interface theme, font size, language, etc. according to your preferences to create an exclusive AI interaction experience.
- You can also customize prompts to make your AI assistant understand you better!
Multi-User Management: In the "Administrator" panel, you can set user registration methods, permissions, etc. to facilitate multiple people sharing your local AI resources.
Adjust Detailed Parameters: Click in the upper right corner to set advanced parameters
Multi-Model Comparison: Which One is Better?
Open WebUI also supports multi-model comparison function, allowing you to easily compare the output results of different models and find the one that best suits your needs!
GPU Acceleration: Squeeze Out Your Graphics Card Performance! (Optional)
If you have an NVIDIA graphics card and have installed the CUDA environment, then congratulations, you can use Ollama to accelerate model inference through simple operations, greatly improving the response speed of the AI assistant!
- Double-click the
GPU-cuda支持.bat
file in the integrated package to install CUDA dependencies.
Ollama + Open WebUI, this golden combination, opens a door to the local AI world for you. Now, you can get rid of the cloud constraints and create your own AI think tank, and explore the infinite possibilities of AI!