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

# LM Studio

> Configure LM Studio as an LLM provider for translation generation.

## Provider value

Use `lmstudio` in `llm.profiles.<name>.provider`.

## Example profile

```json theme={null}
{
  "llm": {
    "profiles": {
      "default": {
        "provider": "lmstudio",
        "model": "qwen2.5-7b-instruct",
        "prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
      }
    }
  }
}
```

## Optional environment variables

`LM_STUDIO_BASE_URL` defaults to `http://127.0.0.1:1234/v1`.

`LM_STUDIO_API_KEY` defaults to `lm-studio`.
