What is the LM Studio default port?

LM Studio’s default port is 1234. Once you start its local server, it is available at http://localhost:1234.

As of December 2, 2026, LM Studio’s documentation explains:

  • Start the server: use the toggle at the top left of the Developer page, or run lms server start in a terminal.
  • OpenAI-compatible base URL: http://localhost:1234/v1. LM Studio’s own REST API uses paths such as /api/v1/chat.
  • Change the port: run lms server start –port 3000, for example. Without –port, the command uses the last port you used.
  • Local network access: the server binds to 127.0.0.1 by default. Run lms server start –bind 0.0.0.0, or set LMS_SERVER_HOST, to listen on all IPv4 interfaces.
  • Authentication: off by default. LM Studio recommends turning on API token authentication before exposing the server beyond localhost.

Related: LM Studio Bionic 1.2.3 power-user guide, What are the LM Studio system requirements? and What is the Ollama default port?

Source: LM Studio docs, API quickstart; LM Studio docs, lms server start

Image: LM Studio logo, official brand asset from lmstudio.ai/brand, used under LM Studio’s usage terms. LM Studio is a trademark of Element Labs, Inc. FreeAnswers is not affiliated with or endorsed by LM Studio.



Related answers

1 thought on “What is the LM Studio default port?”

Leave a Comment