# Connect SCM to LM Studio (llama3 etc) and run offline AI models for FREE

**URL:** <https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277>\
**Category:** workflow\
**Created:** [May 20, 2024, 11:49am UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277 "2024-05-20T11:49:52Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 20, 2024, 11:49am UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/1 "2024-05-20T11:49:52Z")

</div>

## 1. Install LM Studio on your computer

Download and install LM Studio

> **[LM Studio - Local AI on your computer](https://lmstudio.ai/)**
>
> Run local AI models like gpt-oss, Llama, Gemma, Qwen, and DeepSeek privately on your computer.

* * *

## 2. Download model

Switch to power user UI

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/2/2b65e5641a6d2343151782186919ed2f72087eb2.png)

Click on discover

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/a/a437de7edf82d5dc14df5c67940ed8eb4cda83c9.png)

Find and install a model, eg Llama3, DeepSeek etc

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/0/089af444b3b4dd1595d6873b03e7807a79ff0f63.png)

If you are using a reasoning model that returns `<think>` tags, you should use DeepSeek inside SCM.

SCM will remove the think tag output for you automatically.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/a/a663842daba276d5b2a5178d0861379cf5941020.png)

* * *

## 3. Load model

Click select a model

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/d/d672289ebb64d20f39f12b867adf15f75a51f7c4.png)

Click on model

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/6/67102e9e06b9f87b8741de167497fc7da7035046.png)

Configure settings, eg allow GPU Offload to make it run quicker

Click load model

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/90f1717781aae1fb8232ad01db440d88a7be647a.png)

What model you can runs depends on your PC ram and graphics card.  
Larger models require more ram.

Verify model is correctly loaded in UI

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/7/73c1fe54884ccae9753657971b9f79ae37beb780.png)

* * *

## 4. Start API server

We need to start the API server so SCM can access it.

Click on developer

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/9bfd45af19b525830d12686ac20cbe90c3731032.png)

Make sure status says ‘Running’

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/b/b6e4c318cc74779aeba3e0861ee9b9602394185e.png)

Click on the toggle if it is not running.

![image](https://forum.seocontentmachine.com/uploads/default/original/2X/6/614055681d5d9053a796c0242a411306dc694ba4.png)

* * *

## 5. Fill out API details inside SCM

You must select either OpenAI Alt 1, 2 or DeepSeek (for reasoning models)

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/c/c1a5faf48e9a425153902d96c3739e16c74bbd49.png)

Find the completion URL of the model.

Check the developer logs for the full url.

You are looking for /chat/completions

eg: [http://localhost:1234/v1/chat/completions](http://localhost:1234/v1/chat/completions)

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/1/1efaa5f92c9deee3d1f09125d43b3c3c56c4bd81.png)

Copy and paste this into the URL field inside SCM.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/6/6eddaafac415a1c112709dfb7efb1d701d8a2e22.png)

Find the model name in LM studio.  
eg: deepseek-r1-distill-qwen-7b

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/8/8e60fc08f162d835405409cde9898494455ae503.png)

Copy and paste this into SCM.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/4/4e32ba1e75ad887c460789e5a237061c702e0c24.png)

* * *

## 6. Test

In SCM, select the correct AI service.  
eg deepseek (or openAI alt)

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/b/bab876ef0b6879700bffb814ada122dd9a97e1b0.png)

Open the Ask AI chat box

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/4/4888a53b634d03118dbdb17628a8beef971fb1d2.png)

Say hello!

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/d/dbc380e66ef0a796f7ee4bceb30a7b01559a3cad.png)

Check LM studio for errors.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/d/d57330f8439f27ef216eba4306a4a2eeb660e2af.png)

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/2/28499ee2da9d22bc0a5a2516e9387667a97906ba.png)

* * *

## 7. Troubleshooting errors

Chat returns error undefined retry…

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/f/f855077d80e3838842107b5b3291a9b6243a56e9.png)

Check LM studio log.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/f/f5272d18152cedf60106959aa4b22d83981d77f8.png)

Select correct endpoint (must end in /chat/completions)

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/e/ef8033b25bcb7635fc3f1523a41d1e1a56fd9f0e.png)

Verify endpoint is pasted into SCM correctly.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/6/6a97da4e9ea5f6b57cd3c1965c9f624cc9c741d1.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 20, 2024, 11:57am UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/2 "2024-05-20T11:57:55Z")

</div>

[![](https://forum.seocontentmachine.com/uploads/default/original/1X/23abd41aa313a6be53e5b78b2d2fc223d252b9a0.jpeg "Unlimited free content AI content using Meta Llama3 & LM Studio with SCM") ](https://www.youtube.com/watch?v=v_1zDVjcB_Y)

---

<div class="post-metadata">

**Author:** ![Ryan](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@Ryan](https://forum.seocontentmachine.com/u/Ryan)\
**Post date:** [May 20, 2024, 1:53pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/3 "2024-05-20T13:53:08Z")

</div>

Thanks for sharing this. But the video seems to be private.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 20, 2024, 2:29pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/4 "2024-05-20T14:29:23Z")

</div>

Set to public

Thanks for the heads up

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 20, 2024, 2:43pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/5 "2024-05-20T14:43:53Z")

</div>

Hopefully youtube algo can help people discover SCM!

Invest in hardware for long term benefit, local AI and homelab is the future.

 ![20240316_121540](https://forum.seocontentmachine.com/uploads/default/original/1X/19eeb8dde3ac67791843e5dd224164c668562532.jpeg)

---

<div class="post-metadata">

**Author:** ![SEO](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@SEO](https://forum.seocontentmachine.com/u/SEO)\
**Post date:** [May 20, 2024, 2:45pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/6 "2024-05-20T14:45:32Z")

</div>

Hey Tim, this is a great feature. Hope you send use emails for each feature updates. Love that.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 20, 2024, 3:03pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/7 "2024-05-20T15:03:07Z")

</div>

Just for ref:

I have RTX 4090 and inference speeds are lightning fast.  
On just an AMD 5800x3d CPU inference speed was very slow, around 1-2 words a second.

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 20, 2024, 3:09pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/8 "2024-05-20T15:09:56Z")

</div>

Desperately want hardware to run 70b q8 model fast.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 20, 2024, 3:23pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/9 "2024-05-20T15:23:22Z")

</div>

anything rtx theoretically should be better than cpu.

The other is ram requirements.

Need more than 32gb ram, and to run in dual channel means going to 64gb.

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 20, 2024, 3:26pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/10 "2024-05-20T15:26:26Z")

</div>

Yeah, mobo first with dual GPU and 4 ram slot, should give great foundation for 5-10 years.

---

<div class="post-metadata">

**Author:** ![SEO](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@SEO](https://forum.seocontentmachine.com/u/SEO)\
**Post date:** [May 20, 2024, 4:44pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/11 "2024-05-20T16:44:34Z")

</div>

@Tim what is the speed of 4090?

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 20, 2024, 9:30pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/12 "2024-05-20T21:30:19Z")

</div>

> [@SEO](#):
>
> what is the speed of 4090?

From LM Studio  
About 30 tokens a second  
 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/273f7eb222cc9861c2b9da82bd4b795c3af3e707.png)

For fun mainly CPU AMD 5800x3d with low GPU usage  
0.5 tokens a second  
 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/f4b34f78f27272176efa55f8b857007a0cd4123e.png)

Basically without a GPU a large 70B model wasn’t usable

---

<div class="post-metadata">

**Author:** ![Devebder](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/d/b3f665/32.png) [@Devebder](https://forum.seocontentmachine.com/u/Devebder)\
**Post date:** [May 23, 2024, 5:17pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/13 "2024-05-23T17:17:20Z")

</div>

And What Processor you are using with it?

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 23, 2024, 7:29pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/14 "2024-05-23T19:29:06Z")

</div>

CPU AMD 5800x3d

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 27, 2024, 1:46pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/15 "2024-05-27T13:46:47Z")

</div>

For anyone that can’t run models on their PC,  
Groq AI is a free online alternative.

[How to signup to Groq AI for free unlimited llama3 70B (GPT4 competitor) calls](https://forum.seocontentmachine.com/t/how-to-signup-to-groq-ai-for-free-unlimited-llama3-70b-gpt4-competitor-calls/300)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [July 16, 2025, 1:16pm UTC](https://forum.seocontentmachine.com/t/connect-scm-to-lm-studio-llama3-etc-and-run-offline-ai-models-for-free/277/16 "2025-07-16T13:16:31Z")

</div>

Split this topic on July 16, 2025, 1:16pm UTC

7 posts were split to a new topic: [Unable to connect to LM Studio](https://forum.seocontentmachine.com/t/unable-to-connect-to-lm-studio/818)
