| 1 | --- |
| 2 | title: "LM Studio" |
| 3 | --- |
| 4 | |
| 5 | <Tip> |
| 6 | **Discover LM Studio models [here](https://hub.continue.dev/lmstudio)** |
| 7 | </Tip> |
| 8 | |
| 9 | <Info> |
| 10 | Get started with [LM Studio](https://lmstudio.ai/download) |
| 11 | </Info> |
| 12 | |
| 13 | ## Configuration |
| 14 | |
| 15 | <Tabs> |
| 16 | <Tab title="YAML"> |
| 17 | ```yaml title="config.yaml" |
| 18 | models: |
| 19 | - name: <MODEL_NAME> |
| 20 | provider: lmstudio |
| 21 | model: <MODEL_ID> |
| 22 | apiBase: http://<MY_ENDPOINT>/v1 # if running a remote instance of LM Studio |
| 23 | ``` |
| 24 | </Tab> |
| 25 | <Tab title="JSON (Deprecated)"> |
| 26 | ```json title="config.json" |
| 27 | { |
| 28 | "models": [ |
| 29 | { |
| 30 | "title": "<MODEL_NAME>", |
| 31 | "provider": "lmstudio", |
| 32 | "model": "<MODEL_ID>", |
| 33 | "apiBase": "http://<MY_ENDPOINT>/v1" // if running a remote instance of LM Studio |
| 34 | } |
| 35 | ] |
| 36 | } |
| 37 | ``` |
| 38 | </Tab> |
| 39 | </Tabs> |
| 40 | |
| 41 | <Note> |
| 42 | The default `apiBase` is `http://localhost:1234/v1` |
| 43 | </Note> |
| 44 | |
| 45 | <Info> |
| 46 | **Check out a more advanced configuration [here](https://hub.continue.dev/lmstudio/qwen-qwen3-coder-30b?view=config)** |
| 47 | </Info> |