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
Install LM Studio from lmstudio.ai.
Load a model.
Start local server (
Developer -> Start Server).Configure in AI Backend settings tab.
Configuration
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
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.
Related Pages
Last updated
