# LM Studio

LM Studio is a tool that allows you to run large language models (LLMs) locally on your computer. You can integrate it with VNTranslator to provide high-quality translations.

## 1. Download LM Studio

Visit the official **LM Studio** website and download the app <https://lmstudio.ai/>

## 2. Download an LLM Model

<figure><img src="/files/dUGrcku0fEvsWdu75PoR" alt=""><figcaption></figcaption></figure>

In this example, we will use **Gemma 3 12B** as the model

* Open **LM Studio** and click on the **Discover** tab in the left sidebar
* In the pop-up window, choose **Model Search** and enter the name of the model you want
* Click **Download** to download the model to your computer

## 3. Run the LLM Model

<figure><img src="/files/bwjqooqEvcQ06Elw0ARp" alt=""><figcaption></figcaption></figure>

* From the top menu in **LM Studio**, select the model you downloaded to start running it

## 4. Start the Server in LM Studio

<figure><img src="/files/d8ADxwZx3KNSN97UJp7T" alt=""><figcaption></figcaption></figure>

* Click on the **Developer** tab in the left sidebar
* Then click **Start Server**

{% hint style="info" %}
**Note:** The default server endpoint is: `http://localhost:1234/`
{% endhint %}

## 5. Configure VNTranslator

<figure><img src="/files/gObQVBqBmFALpnMBCCdj" alt=""><figcaption></figcaption></figure>

* In the MT Settings, enter the **model name** you started in **LM Studio** into the **Model** field


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vntranslator.com/advanced/llms/lm-studio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
