Tip #60: Run AI models locally (it's private & free!)


Hi Reader,

Most of us access Large Language Models (LLMs) through a web interface, like ChatGPT or Claude. Itโ€™s highly convenient, though there are two potential drawbacks:

  • Cost: Some amount of usage is free, but heavy usage (or access to premium models) costs money.
  • Privacy: Depending on the service, your chats may be used to train future models. (Or at the very least, your chats may be accessed if ordered by a court.)

One solution is to run an LLM locally, which has gotten much easier with the release of Ollamaโ€™s new app. Iโ€™ll tell you all about it below! ๐Ÿ‘‡


Sponsored by: Superhuman AIโ€‹

Find out why 1M+ professionals read Superhuman AI daily.

AI won't take over the world. People who know how to use AI will.

Here's how to stay ahead with AI:

  1. โ€‹Sign up for Superhuman AI. The AI newsletter read by 1M+ pros.
  2. Master AI tools, tutorials, and news in just 3 minutes a day.
  3. Become 10X more productive using AI.

โ€‹Join 1 million pros and start learning AIโ€‹

โ€‹

๐Ÿง  Run AI models locally with Ollama

โ€‹Ollama is a popular open-source project that makes it easy to run LLMs directly on your local machine. Here are the main benefits of Ollama:

  • Cost: Models are free to download and use.
  • Privacy: Your data and prompts never leave your machine.
  • Offline access: Once models are downloaded, they can be used without Internet access.
  • Multiple providers: Hundreds of open source models are available from dozens of providers.
  • Easy to switch: You can try out many different models from a single interface.

Until recently, Ollama was only available for the command line, but last week they released an app that gives you a graphical interface for chatting with models:

You can also chat with your files, and some models also support image understanding.

Hereโ€™s how to get started with Ollama:

  1. โ€‹Download the app for Mac, Windows, or Linux.
  2. Open the app and start a chat with any of the models listed in the dropdown.
  3. Wait for the selected model to download, after which the model will respond.

The only challenging aspect is selecting which model to use! There are many models to choose from, and most of them have multiple parameter sizes.

For example, hereโ€™s the model page for gemma3:

Models size can range from less than 1 GB to hundreds of GBs! Generally, larger models will be higher quality, but they will also require more resources to run.

Just a warning: If you have older hardware, it may not be possible to find a model that runs at an acceptable speed while giving high-quality results.

But if you find one that works well for you, itโ€™s pretty exciting to be able to run models locally and for free! ๐ŸŽ‰


Thanks for reading, and feel free to share it with a friend! ๐Ÿค

New readers can subscribe here. ๐Ÿ’Œ

- Kevin

P.S. Distract your LLM with cats ๐Ÿˆ

Learn Artificial Intelligence from Data School ๐Ÿค–

Join 25,000+ intelligent readers and receive AI tips every Tuesday!

Read more from Learn Artificial Intelligence from Data School ๐Ÿค–

Hi Reader, On Friday, I announced my forthcoming book, Master Machine Learning with scikit-learn. In response, my Dad asked me: How does the subject of this book relate to Artificial Intelligence? In other words: What's the difference between AI and Machine Learning? Ponder that question for a minute, then keep reading to find out how I answered my Dad... ๐Ÿ‘‡ AI vs Machine Learning Here's what I told my Dad: You can think of AI as a field dedicated to creating intelligent systems, and Machine...

Hi Reader, Yesterday, I posted this announcement on LinkedIn and Bluesky and X: Kevin Markham @justmarkham Dream unlocked: I'm publishing my first book! ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰ It's called "Master Machine Learning with scikit-learn: A Practical Guide to Building Better Models with Python" Download the first 3 chapters right now: ๐Ÿ‘‰ https://dataschool.kit.com/mlbook ๐Ÿ‘ˆ Thanks for your support ๐Ÿ™ 1:47 PM โ€ข Sep 11, 2025 1 Retweets 5 Likes Read 1 replies This has been a dream of mine for many years, and I'm so excited...

Hi Reader, Hope youโ€™ve had a nice summer! โ˜€๏ธ As for me, Iโ€™ve been finishing my first ever book! I canโ€™t wait to tell you about it and invite you to be part of the launchโ€ฆ stay tuned ๐Ÿ‘€ Today's email focuses on a single important topic: AIโ€™s impact on your mental health ๐Ÿง  Read more below! ๐Ÿ‘‡ Sponsored by: Morning Brew The 5-Minute Newsletter That Makes Business Make Sense Business news doesn't have to be dry. Morning Brew gives you the biggest stories in business, tech, and finance with quick...