Appearance
Fresh
Completions
Text completion for base models (legacy OpenAI endpoint).
Heads Up
This endpoint is no longer supported by OpenAI. LM Studio continues to support it.
Using this endpoint with chat‑tuned models may produce unexpected tokens. Prefer base models.
- Method:
POST - Prompt template is not applied
- See OpenAI docs: https://platform.openai.com/docs/api-reference/completions
[Chat Completions
Send a chat history and get the assistant's response.](/openai-compat/chat-completions) [Embeddings
Generate embedding vectors from input text.](/openai-compat/embeddings)