For the complete documentation index, see llms.txt. This page is also available as Markdown.

LM Studio (Local)

LM Studio provides local model execution with an OpenAI-compatible API and a GUI model manager.

Requirements

  • LM Studio installed.

  • A model downloaded and loaded.

Setup

  1. Install LM Studio from lmstudio.ai.

  2. Load a model.

  3. Start local server (Developer -> Start Server).

  4. Configure in AI Backend settings tab.

Configuration

Setting
Default
Description

Preferred Backend

lmstudio

Select backend.

LM Studio URL

http://127.0.0.1:1234

Server API base URL.

LM Studio Model

lmstudio

Model identifier.

LM Studio API Key

(empty)

Optional bearer token.

LM Studio Headers

(empty)

Extra headers (Header: value).

LM Studio Auto-Start

On

Start server command automatically.

LM Studio Server Command

lms server start

Auto-start command.

LM Studio Timeout

120

Request timeout in seconds.

Notes

Use Auto-Start only if your LM Studio server command is stable in the same runtime environment as Burp.

Output Token Limits

The extension sets max_tokens per request type to bound output and reduce avoidable truncation:

Request Type

max_tokens

Chat

4096

Scanner (single request)

2048

Scanner (batch analysis)

4096

Payload generation

1024

Troubleshooting

  • Connection refused: verify server is running and URL/port match.

  • Model not found: confirm model ID from LM Studio server logs.

  • Timeouts: increase timeout or use smaller model.

  • Slow responses: local hardware constraints are expected on CPU-only setups.

Retry Behavior

If a request throws a classified transient transport exception, the extension makes up to 6 total attempts with five possible delays (500/1000/1500/2000/3000 ms). The connection's circuit breaker opens after 5 recorded transient failures and allows one half-open model request after 30 seconds. Each actual retry is logged in the AI Request Logger. See Backends Overview → Retry Behavior.

Last updated