
Part 1: Trends in Generative AI
Part 2: Running local models
Running local models
- By Wesley Cobb
Imagine tapping into the power of AI—without ever connecting to the internet, without hitting usage limits, and without paying a single cent to an AI provider. That’s what running LLMs locally makes possible. Whether you’re a developer testing the latest APIs, an engineer comparing cutting-edge models, or just someone who values privacy and full control over your data, this post is for you. In Part 2 of our Next Gen LLMs series, we’ll walk through how to get up and running with two popular tools—LM Studio and Ollama—that let you run powerful models directly on your machine, using the hardware you already own. No filters, no fees, no compromises.
LM Studio
LM Studio is a lovely little desktop application that runs on Linux, Windows, and the M series models of Mac. As of this writing LM Studio is on version 0.3.11 and allows you to run LLMs on your desktop or laptop completely offline.

It serves models with an in-app Chat interface or an OpenAI API compatible server. You can download models from Hugging Face right inside the application – pretty much any model that supports the GGUF format (so Llama, Mistral, Phi, Gemma, etc).
The application lets you easily control token window length and weight quantization (fp32 vs. fp16 vs. fp8 etc) for the models. It also gives you fine control over how (or if) to use GPU support for running the various models.

In addition to the GUI based interface there is a separate interface (“lms”) which supports directly loading, unloading, serving, and configuring models from the command line or programmatically. The lms interface also allows one to control GPU usage though it lacks some of the fine details like quantization that the GUI provides.

If you’re running Linux (with/without an Nvidia GPU), Windows (with/without an Nvidia GPU), or a Mac with an M-series processor, then LM Studio is an easy to install solution that provides good support for your GPU and easy configuration & access for hundreds of LLM models from Hugging Face (and other sites). It also looks good!
Ollama
Ollama (Github) is a more traditional character based (command line) package for running and managing LLMs locally. It runs on Linux, Windows, all flavors of Mac, and even has an official Docker image (if one prefers that sort of isolation to direct local installations). Like LM Studio it supports a wide variety of models. Pretty much any GGUF model (most of the models that Hugging Face and LMStudio support) is either available already on that site – or can be imported from LM Studio.
As of April 2025 there are some differences with LM Studio…
- Ollama does not support AMD GPUs on Macs. Ollama does support the ARM64 GPUs on Mac M-series computers though.
- On Linux and Windows computers Ollama supports both Nvidia and AMD GPUs out of the box. One can add ARM64 support with an additional download.
- It also provides experimental support for Intel ARC GPUs
Ollama can serve models in very much the same way that LM Studio does with an endpoint accessible locally using the OpenAI API. Ollama also supports a full REST API for running and managing its (local) library of models that you’ve installed.
Ollama has been around for some time now and supports a large collection (many dozens) of “community based” web & desktop integrations, libraries, and GUI tools.
For a jumping-off point to the Ollama support community stretches. Here are the first few of literally hundreds of Web & Desktop integrations for Ollama that exist:



This is roughly ½ of the Web & Desktop integrations! Then there are Cloud Interfaces, Terminal Interfaces (even an Emacs Interface), and numerous other library interfaces.
Ollama is literally open source. You can go to github and download the code, compile it yourself from scratch and run it. Of course, you can also go to the ollama.com main page and download a version of the package that has been precompiled for your machine.
Finding models to install into Ollama is a simple as going to the Ollama models search page and browsing for models. There you’ll see something like this:

Installing a model is then as simple as selecting one of the highlighted variants and waiting for the download to complete. Note that it’s assumed that you already know whether you have the computing resources to run the 4b (b = billion), 12b, or 27b variants of a model like Gemma3.
The command line interface is quite straightforward:

So, for example to see which models you’ve downloaded and have available to run:

And running a model can be as simple as…


Discussion
LM Studio has slick visually appealing user interface — Ollama has many front ends available, but none is as polished as LM Studio is. Ollama does not support AMD GPUs on Macs though it does support Apple M-series (ARM64) GPUs. LM Studio does not seem to support AMD or Intel GPUs on any operating system. Both platforms support Nvidia GPUs.
If you’re a hands-on person who likes to write code yourself, I think you’ll find Ollama a more comfortable platform to work with, but both platforms, serve models locally and both platforms have APIs that are relatively easy to work with.
Next time we’ll start running models and look at ways of deciding how well models are performing.
LM Studio has slick visually appealing user interface — Ollama has many front ends available, but none is as polished as LM Studio is. Ollama does not support AMD GPUs on Macs though it does support Apple M-series (ARM64) GPUs. LM Studio does not seem to support AMD or Intel GPUs on any operating system. Both platforms support Nvidia GPUs.
If you’re a hands-on person who likes to write code yourself, I think you’ll find Ollama a more comfortable platform to work with, but both platforms, serve models locally and both platforms have APIs that are relatively easy to work with.
Next time we’ll start running models and look at ways of deciding how well models are performing.

ABOUT THE AUTHOR
Dr. Wesley Cobb
Principal Data Scientist
Dr. Wesley Cobb is a Principal Data Scientist at Blueprint. He has spent more than 20 years developing AI/ML applications for the Energy, Defense, Security, and Information Technology sectors and has been awarded more than a hundred patents related to that work. He has been with Blueprint since 2020. He holds a PhD in Physics from Brandeis University.
