openai-compat-endpoint

Public

Forked from lmstudio/openai-compat-endpoint

OpenAI, Claude, or any other OpenAI compat endpoint

5 Downloads

1 fork

README

OpenAI-Compatible Endpoint Plugin for LM Studio

A plugin for LM Studio that enables using any OpenAI-compatible API with a configurable Base URL and API key.

Features

  • ✅ Custom model input — use any model name
  • ✅ Configurable Base URL (OpenAI, Anthropic, local servers, proxies)
  • ✅ Response streaming
  • ✅ Tool calls / function calling support

Configuration

Global Settings (Shared)

FieldDescription
API KeyYour API key (protected field)
Base URLAPI endpoint URL (default: https://api.openai.com/v1)

Model Settings (Per-conversation)

FieldDescription
ModelModel name to use (e.g., gpt-4o-mini, claude-3-5-sonnet-20241022)

Supported Providers

ProviderBase URLExample Model
OpenAIhttps://api.openai.com/v1gpt-4o-mini
Anthropichttps://api.anthropic.com/v1claude-3-5-sonnet-20241022
LM Studio Localhttp://localhost:1234/v1local-model
Ollamahttp://localhost:11434/v1llama3.2
OpenRouterhttps://openrouter.ai/api/v1openai/gpt-4o-mini
z.aihttps://api.z.ai/api/coding/paas/v4glm-4.7
Custom proxyhttps://your-proxy.com/v1