New Tool Radar

Local AI

Set a System Prompt Preset for a Chat in LM Studio

Save a system prompt and sampling settings as a preset in LM Studio, and pin it to a model for consistent chats.

Schematic with three steps: Write the system prompt; Save it as a preset; Pin it to a model.

A preset in LM Studio bundles a system prompt with temperature, context size, and chat template into one named setting. Saving one means every new chat with that preset starts with the same instructions, instead of retyping them.

What you need

  • LM Studio installed with a model loaded
  • A system prompt written down, under 300 tokens
  • A chat open in LM Studio

Step 1: Write the system prompt

In the chat view, open the system prompt box and type the instruction, for example: You are a concise assistant. Answer in short bullet points. Keep it under 300 tokens; a shorter prompt leaves more context for the conversation.

Step 2: Save it as a preset

Set the temperature and other settings you want, then use the Presets dropdown and choose Save current settings as new preset. Give it a clear name such as concise-bullets. Preset files live in the LM Studio presets folder.

Step 3: Pin it to a model

Use the pin icon to bind the preset to the current model, so loading that model applies it. Note that presets do not auto-apply to API calls; they affect chats in the app.

Worked example: a concise-bullets preset

The table below is a synthetic example. The preset behaviour and the 300-token guidance come from the cited LM Studio preset guide; the preset name is illustrative.

Part Value Expected result
System prompt You are a concise assistant. Short bullet answers
Preset concise-bullets Saved in Presets dropdown
Pin Pinned to model Applies on model load

Expected result (UNTESTED). new chats with the preset answer in short bullet points without retyping the instruction, and the preset appears in the Presets dropdown. This check was not run live; the preset behaviour comes from the cited guide.

Limits

  • Presets do not auto-apply to API calls made to the local server.
  • A system prompt over 300 tokens is discouraged by the guide.
  • Pinning binds the preset to one model; other models need their own pin.
  • Preset files are stored per machine and do not sync between computers.

Sources

See all