You will install Ollama, download the Qwen2.5 7B model once, and chat with it on your own computer without a cloud API or API key. It suits anyone who wants a private local language model. You need a computer with enough disk space for the 4.7 GB model.
YouTube video: Your Own Local AI in 3 Minutes with Ollama
Captions are available. Use CC in the YouTube player.
Choose a chapter (11)
- Video length
- 2 min 48 s
- Time to do it
- 10 minutes
- Difficulty
- Easy
- Steps
- 6
What you need
Steps
Install Ollama for your system. On Linux and macOS, run the install script in the terminal. On Windows, run the PowerShell install command.
Start the server with ollama serve. On macOS and Windows the Ollama app already runs it in the background, so you can skip this.
Check that the server is running by opening localhost:11434 in your browser.
Download the model with ollama pull qwen2.5:7b. The file is about 4.7 GB, so the first download takes a while.
Chat in the terminal with ollama run qwen2.5:7b. Type your prompt and press Enter to get a reply.
Send requests from your own apps by posting to the local API. Use the model name qwen2.5:7b, a messages list with a user role, and stream set to false.
Tips and common mistakes
The model downloads only once, so later chats run fully offline.
Keep the Ollama server running while you call the API, or requests will fail.
If a download stalls, rerun the pull command; it resumes where it stopped.
Questions
Do I need an API key?
No. Ollama runs the model on your machine, so there is no cloud account or key.
Where does the local API run?
It listens on localhost:11434, and you send POST requests with the model name and your messages.
Can I use a different model?
Yes. Check the instructions for your exact model before choosing this setting or amount.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


