You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: add llamay to the OpenAI-compatible providers section #24227
Please add a llamay page to content/providers/04-openai-compatible-providers/, next to LM Studio.
Disclosure: I work on llamay. This is a vendor request, so weigh it accordingly.
llamay (https://llamay.com) is a local inference server for GGUF models from Kosa8 Labs. It's free to use but not open source. Downloads: https://llamay.com/download/. llamay serve -m <model> exposes an OpenAI-compatible API on http://127.0.0.1:11435/v1. No provider package is needed: createOpenAICompatible with a baseURL is the full setup.
Base URL: http://localhost:11435/v1. -addr changes it.
Auth: none by default. With llamay serve -api-key K, it takes Authorization: Bearer K, which is apiKey in createOpenAICompatible.
Model ids: Ollama-style names (qwen2.5:7b) or Hugging Face references (hf.co/bartowski/Qwen2.5-7B-Instruct-GGUF:Q4_K_M). GET /v1/models lists the models on disk.
import{createOpenAICompatible}from'@ai-sdk/openai-compatible';import{generateText}from'ai';constllamay=createOpenAICompatible({name: 'llamay',baseURL: 'http://localhost:11435/v1',});const{ text }=awaitgenerateText({model: llamay('qwen2.5:7b'),prompt: 'Write a vegetarian lasagna recipe for 4 people.',});
Tested with ai 7.0.157 and @ai-sdk/openai-compatible 3.0.81
generateText, streamText, a multi-step tool call with stopWhen, Output.object structured output, and embed, all against llamay serve -m qwen2.5:0.5b -embed all-minilm.
Also checked against the requests @ai-sdk/openai-compatible sends
Chat completions, plain and streamed. With stream_options.include_usage, usage arrives on the final chunk.
Tool calls, including tool_choice: "required" and named tool choice.
response_formatjson_schema, for structured output.
Activity
ai-sdk-factory commentedon Oct 29, 2026
Identify issue type
Identified as Documentation
Confidence: High
Rationale
The request is to document an already-compatible provider, without changing SDK behavior or adding a runnable example project.
Evidence
content/providers/04-openai-compatible-providers/, next to LM Studio.createOpenAICompatibleconfiguration is sufficient and no provider package is needed.