How to Import LM Studio Models into Ollama (No Re-Download!) πŸš€

Downloaded a bunch of models in LM Studio? πŸ“¦

Now you want to try Ollama… and it wants you to download them all over again? 😩

Nope! In this guide, you’ll learn how to import LM Studio models into Ollama using the .gguf files already on your computer. It takes about 5 minutes. ⏱️

πŸ–₯️ Example: Qwen3 8B on Windows. Works with any GGUF model.


⚑ Quick Answer

Create a one-line Modelfile that points to your LM Studio .gguf file:

FROM C:/path/to/your-model.gguf

Then import and run it:

ollama create qwen3 -f .\Modelfile.txt
ollama run qwen3

Want the easy step-by-step version? Let’s go! πŸ‘‡


Step 1: Find Your GGUF Model Path in LM Studio πŸ“‹

In LM Studio, go to My Models β†’ click β‹― next to your model β†’ Copy absolute path.

How to copy the GGUF model path in LM Studio

It looks something like this:

C:/Users/YOU/.cache/lm-studio/models/lmstudio-community/Qwen3-8B-GGUF/Qwen3-8B-Q4_K_M.gguf

Step 2: Create an Ollama Modelfile πŸ“

  1. Create a folder, like C:\ollama-models
  2. Inside it, create a file called Modelfile.txt
  3. Type FROM, a space, then paste your path:
FROM C:/Users/YOU/.cache/lm-studio/models/lmstudio-community/Qwen3-8B-GGUF/Qwen3-8B-Q4_K_M.gguf

Save it. That’s the whole file. Really! πŸ˜„

Ollama Modelfile pointing to an LM Studio GGUF model


Step 3: Install Ollama on Windows ⬇️

Grab it from the official Ollama download page and install.

Ollama download

Then open PowerShell and type:

ollama list

Ollama list command showing no models installed

Empty? Perfect. Let’s fill it up. πŸ‘‡


Step 4: Import the Model into Ollama ✨

cd C:\ollama-models
ollama create qwen3 -f .\Modelfile.txt

πŸ’‘ qwen3 is just a nickname. Call it anything you like!

Ollama create command importing an LM Studio model

See success? You did it! πŸŽ‰


Step 5: Run Your Model in Ollama πŸ‘‹

ollama run qwen3

run qwen

Type a message, hit Enter, and chat away. πŸ’¬

Chatting with the imported Qwen3 model in Ollama terminal

Not a terminal fan? Open the Ollama app and pick qwen3 from the list. πŸ–±οΈ

Using the imported Qwen3 model in the Ollama app

ollama_ls

How to Remove an Imported Model from Ollama πŸ—‘οΈ

ollama stop qwen3
ollama rm qwen3

Relax, your LM Studio copy stays safe. 😌


Troubleshooting πŸ€”

  • File not found? Make sure your path ends with .gguf and you ran cd to the right folder first.
  • ollama not recognized? Close PowerShell and open it again.

FAQ ❓

Does importing save disk space? No. Ollama makes its own copy of the model. You save download time, not space.

Does this work with any LM Studio model? Yes, as long as the model is a .gguf file.

Can I delete the model from LM Studio after importing? Yes! Ollama keeps its own copy, so it will still work. Just test it first. πŸ˜‰


That’s it! Now you know how to import LM Studio models into Ollama. One model, two apps, zero re-downloads. Happy chatting! πŸ€–

Written on September 10, 2026