lan-inference-endpoint

Public

Forked from lmstudio/openai-compat-endpoint

Routes LM Studio chat to a remote OpenAI-compatible server on the LAN. Configured for LM Studio Server.

236 Downloads

README

LAN Inference Endpoint

A fork of lmstudio/openai-compat-endpoint that lets LM Studio's chat UI talk to an OpenAI-compatible server on your local network (LM Studio, llama.cpp, vLLM, Ollama, etc.) instead of a cloud provider.

What's different from upstream

  • model is now a free-text field, not a dropdown of Claude/GPT models. Model IDs are sent exactly as typed.
  • No more OpenAI vs. Anthropic branching by model name — one Base URL and one API Key, both set in global config.
  • No cloud fallback. If Base URL is empty, the plugin errors instead of calling api.openai.com/api.anthropic.com.
  • Removed the Anthropic API key field.

Setup

In the plugin's global settings, set:

  • Base URL — e.g. http://192.168.1.123:1234/v1
  • API Key — any placeholder value works if your server doesn't require auth

Then type the model ID your server expects in the generator's config.