Local models can need different memory budgets even when they run in the same application. In LM Studio, per-model defaults preserve a model's load settings so its next load uses the chosen context length.

The gear beside a model in Library opens that model's configuration. The Model Defaults section in application settings supplies broader defaults, while presets, system prompts and sampling settings control how responses are generated. A model's Load settings determine how it is prepared in memory.

A saved load setting takes effect on the next load, so an already loaded instance retains its current configuration. The context length limits the tokens available for instructions, conversation and responses; lowering it reduces memory demand but leaves less room for long conversations. The model must already be downloaded and unloaded before checking a fresh load.

Steps to set LM Studio per-model defaults:

  1. Open the model's gear in Library under My Models.

    The model panel identifies the selected model. The pictured model is Qwen2.5-1.5B-Instruct-GGUF.

  2. Select the Load tab in the model panel.
  3. Set Context Length to 2048.

    LM Studio saves this override automatically. The Customized badge and blue field marker identify a model-specific setting; a separate Save button is not required on this panel.

  4. Click Load Model in the model panel.
  5. Click Load Model in the confirmation dialog with the inherited Context Length of 2048 unchanged.

    A different value here means the intended default has not carried into this load. Editing the field in this dialog would hide that failure when checking persistence.

  6. Dismiss the model panel by clicking outside it.
  7. Select Model Server in the sidebar.
  8. Open the model's card under Loaded Models.

    Model Server lists loaded models even when its API server is stopped.

  9. Select Load in the loaded model's panel.
  10. Confirm Context Length is 2048 for the loaded model.

    This is the configuration of the loaded instance. A value of 2048 here, after leaving the load dialog's context value untouched, confirms that the saved default was used.

Share this guide