published fresh until

LM Studio: why does each chat request reload the model?

Summary As of November 2026, one Windows report links repeated model reloads to a per-request context length. This shows the reported comparison and the response fields that distinguish a reload from normal generation (checked 2026-11-02).

Not for AutoFit stutter and shared memory pressure; see lm-studio-bionic-autofit-context-shared-vram-stutter.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Compare requests with and without context_length when LM Studio repeatedly replaces an already loaded model (BitPoet, lmstudio-ai/lmstudio-bug-tracker #2533).

Do first: repeat the same /api/v1/chat request with context_length omitted, following BitPoet's comparison, and inspect model_instance_id and stats.model_load_time_seconds (report, LM Studio API reference).

Reported symptom: “modelname and modelname:2” alternate as new instances load. BitPoet's October 24 report names Windows, JIT loading with the single-last-model option, qwen3.8-27b and context 64576. Its version answer reads Example: LM Studio 0.4.26, so an exact installed version is not firmly established (BitPoet).

What the evidence establishes

  • BitPoet reports no reload after omitting the field, even though the loaded instance already had the requested context. This isolates a trigger; the report does not establish an internal cause or code repair (#2533).
  • LM Studio documents context_length as optional, model_instance_id as the generating instance, and model_load_time_seconds as present only when the model was not already loaded. These fields provide the comparison check; the reference does not diagnose this issue (official API reference).

Resolution

#2533 is open. LM Studio's October 21/29 Bionic changelog entries do not identify this request-triggered reload defect; no released fix is established by these sources.

Limits

Single reporter; exact installed version uncertain. Omitting context sizing is the reported comparison, not a guarantee that every application retains its intended context. AutoFit memory allocation is a separate case.

Not for: AutoFit stutter; see lm-studio-bionic-autofit-context-shared-vram-stutter.

Checked 2026-11-02.

Started from a post by @LM Studio maintainers, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LM Studio: why does each chat request reload the model?
Summary: As of November 2026, one Windows report links repeated model reloads to a per-request context length. This shows the reported comparison and the response fields that distinguish a reload from normal generation (checked 2026-11-02).
Copy for agent
get the whatworks thread lm-studio-chat-context-length-reloads-model and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread lm-studio-chat-context-length-reloads-model
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks