RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootStartLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Eruo Fredoline
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

© 2026 runlocalai.coIndependently operated
RUNLOCALAI · v38
  1. >
  2. Home
  3. /Learn
  4. /How-to
  5. /How to configure LM Studio server settings
HOW-TO · SET

How to configure LM Studio server settings

intermediate·10 min·By Eruo Fredoline
Target environment
Ubuntu 24.04 · Ollama 0.4.xWindows 11 · Ollama 0.4.xmacOS 15 · Ollama 0.4.x
PREREQUISITES

LM Studio v0.2+ installed

What this does

Adjusts runtime parameters of the embedded API server including port binding, context window size, GPU offload split, temperature, and maximum token output. After completion, the server serves requests with the desired behavior and performance.

Steps

  1. Open the Server tab and load a model. Click the Server icon in the navigation bar. Use the model selector to choose a model, then click Load to place it in memory.

  2. Set the bind host and port. In the server configuration panel, locate the Host and Port fields. The default host is 127.0.0.1 (localhost only). To allow connections from other machines, change the host to 0.0.0.0.

  3. Adjust inference parameters. Locate the inference sliders for context length, temperature, and max tokens. Slide each parameter to the desired value. Changes take effect on the next request.

  4. Enable GPU acceleration if available. If the system has a compatible GPU, locate the GPU Offload toggle and enable it. Adjust the offload percentage to match available VRAM.

  5. Restart the server to apply changes. After modifying settings, click Stop Server (if running) then Start Server again.

Verification

curl -s http://localhost:1234/v1/models
# Expected: a JSON response showing the loaded model with applied settings

Common failures

  • Port already in use — The chosen port is claimed by another process. Run netstat -an | grep <port> to identify the conflict, or choose a different port.
  • Connection from remote hosts fails — The host is still bound to 127.0.0.1. Change the binding to 0.0.0.0 and ensure the firewall allows incoming connections.
  • GPU offload causes out-of-memory errors — Reduce the offload split to 50% or lower.
  • Temperature slider has no effect — Some model quantizations are tuned to specific temperature ranges. Verify the model's configuration card for recommended bounds.

Related guides

  • How to use LM Studio as a local API server
  • How to download models in LM Studio
  • Course Local AI Fundamentals
RELATED GUIDES
SET
How to use LM Studio as a local API server
SET
How to download models in LM Studio
← All how-to guidesCourses →