> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typingmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LMStudio

You can set up LMStudio models as Custom models on [TypingMind.com](https://www.typingmind.com/) .

LMStudio currently supports:

* Microsoft's Phi-3
* Meta's Llama 3
* Falcon
* GPT-Neo-X
* Gemma
* and more

Here’s how!

[YouTube video player](https://www.youtube.com/embed/eu0epo4Qyyc)

> [!NOTE]
>
> Note: This instruction is for the Typing Mind Web version ([https://www.typingmind.com](https://www.typingmind.com)). For the macOS version and Setapp version, due to **Apple’s security policy**, requests to `http`  protocol are blocked. If you want to connect to the macOS app, you can still follow the instructions here, but with one additional step: you need to **setup HTTPS for LMStudio**. This can be done using various techniques (e.g., using a [local HTTPS proxy](https://www.npmjs.com/package/local-ssl-proxy)).

## Step 1: Download LMStudio

Go to [https://lmstudio.ai/](https://lmstudio.ai/) to download LMStudio for your device.

![Download Lm Studio](https://mintcdn.com/typingmind/pm53BB_D69NXvWmb/images/download-lm-studio.webp?fit=max\&auto=format\&n=pm53BB_D69NXvWmb\&q=85\&s=c6036083641087cb430bbdb2102dfd72)

## Step 2: Download the AI model

Search and download the specific AI model you want to use, such as Phi-3-mini-4k.

![Lm Studio Download Model](https://mintcdn.com/typingmind/pm53BB_D69NXvWmb/images/lm-studio-download-model.webp?fit=max\&auto=format\&n=pm53BB_D69NXvWmb\&q=85\&s=c8004c32067d4143aebe0d784df16f23)

## Step 3: Set up Local Server

* Go to **Local Server**
* From the top drop-down list, choose the model you downloaded in Step 2.
* Go to the **Configuration** section, enable all options.
* Click **Start Server**

![Untitled 2 1](https://mintcdn.com/typingmind/AJebv9GNiO42w_6y/images/Untitled-2-1.webp?fit=max\&auto=format\&n=AJebv9GNiO42w_6y\&q=85\&s=bce5268250cf00567d17e0f3b0a8d1cf)

You should see a confirmation message once the server starts.

![Untitled 3](https://mintcdn.com/typingmind/AJebv9GNiO42w_6y/images/Untitled-3.webp?fit=max\&auto=format\&n=AJebv9GNiO42w_6y\&q=85\&s=c7ed92cec74b196a11372749b8f2e29b)

## Step 4: Set up LMStudio models on TypingMind

* Go to **Manage Models**
* **Add Custom Models**
* Updates the following information to set up LMStudio models (example below is for Phi-3 mini)
  * **Name**: Microsoft Phi-3 (or you can give it any name you want)
  * **Icon URL (suggested):** [https://cdn.iconscout.com/icon/free/png-256/free-microsoft-26-722716.png](https://cdn.iconscout.com/icon/free/png-256/free-microsoft-26-722716.png)
  * **Endpoint**: `http://localhost:1234/v1/chat/completions`
  * **Model ID**: `microsoft/Phi-3-mini-4k-instruct-gguf/Phi-3-mini-4k-instruct-q4.gguf` (you can get your model ID after setting up local server here [http://localhost:1234/v1/models](http://localhost:1234/v1/models))

![Untitled 4](https://mintcdn.com/typingmind/AJebv9GNiO42w_6y/images/Untitled-4.webp?fit=max\&auto=format\&n=AJebv9GNiO42w_6y\&q=85\&s=e6bb80fd50eefd4517cd4c35d084ec53)

## Step 5: Start chatting

Interact with Phi-3 or your chosen AI model on TypingMind!

![Untitled 5](https://mintcdn.com/typingmind/AJebv9GNiO42w_6y/images/Untitled-5.webp?fit=max\&auto=format\&n=AJebv9GNiO42w_6y\&q=85\&s=214136564cbba0d945d0e9ef4e2ec56d)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.