docs: add OpenLux to the OpenAI-compatible providers section
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- documentation
Research direction
Add an OpenLux page under content/providers/04-openai-compatible-providers/. Read nearby OpenAI-compatible provider pages to match the documentation structure, then verify the setup details against the issue’s provided base URL, environment variable, and createOpenAICompatible example. Done when the page explains setup and usage consistently with the existing provider docs.
Written by the indexing model from the issue text.
Description
Description
Please add an OpenLux page to content/providers/04-openai-compatible-providers/.
Disclosure: I work on OpenLux (COGNIS AI PTE. LTD., Singapore). This is a vendor request, so weigh it accordingly.
OpenLux is an OpenAI-compatible API gateway. One API key reaches chat models from OpenAI, Anthropic, Google, DeepSeek, Alibaba (Qwen), xAI, Moonshot (Kimi), Zhipu (GLM), MiniMax and others, billed pay-as-you-go in USD. It is a live paid service with public sign-up at https://www.openlux.ai.
The integration needs no provider package. createOpenAICompatible with a baseURL is the full setup.
Vendor-controlled AI SDK instructions
- AI SDK guide: https://doc.openlux.ai/en/tutorials/vercel-ai-sdk-setup
It shows@ai-sdk/openai-compatiblewithcreateOpenAICompatible, the base URL below andOPENLUX_API_KEY. - Docs: https://doc.openlux.ai/en/tutorials/00-intro
- Model list and prices: https://www.openlux.ai/console/models?view=table (sign-in required)
Setup facts
- Base URL:
https://api.openlux.ai/v1 - Auth:
Authorization: Bearer <key>. Keys are created in the console after sign-up at https://www.openlux.ai/register?channel=c_zluxhnwa. - Env var used in examples:
OPENLUX_API_KEY - Model discovery:
GET https://api.openlux.ai/v1/modelswith the key lists the model IDs. - Example chat model IDs:
claude-sonnet-5-5,gpt-5.4,gemini-3.1-flash-lite,deepseek-v4-pro,qwen3.5-plus.
Tested on 2026-11-26 with [email protected] and @ai-sdk/[email protected]
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';
const openlux = createOpenAICompatible({
name: 'openlux',
baseURL: 'https://api.openlux.ai/v1',
apiKey: process.env.OPENLUX_API_KEY,
includeUsage: true,
});
const { text } = await generateText({
model: openlux('claude-sonnet-5-5'),
prompt: 'Say hello in one sentence.',
});
generateTextworks withgpt-4o-mini,claude-sonnet-5-5,deepseek-v4-proandgemini-3.1-flash-lite.streamTextworks withqwen3.5-plus. WithincludeUsage: true, streamed usage arrives at the end.- Reasoning:
providerOptions: { openlux: { reasoningEffort } }is passed through.claude-sonnet-5-5(high) anddeepseek-v4-pro(low) return reasoning text, andqwen3.5-plusreports reasoning tokens in usage. - Tool calling and multi-step tool use with
stopWhen: work ongpt-4o-mini,claude-sonnet-5-5anddeepseek-v4-pro(two steps, tool input parsed, final answer uses the tool result). - Structured output: with
supportsStructuredOutputs: true,Output.objectsendsjson_schemaand works ongpt-4o-miniandgemini-3.1-flash-lite.
OpenLux is also proposed for models.dev (https://github.com/anomalyco/models.dev/pull/14665) with the same provider ID and env var.
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 5.7k
- Avg merge
- 19h 31m
- Merged PRs (30d)
- 593
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vercel/ai
-
factory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
discovery:other factory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel/ai#25682 · 4 comments ·
Maintainers usually reply within 1 day
-
factory-active factory-waiting-on-user task-identify-bug-discovery-awaiting-author task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
vercel/ai#25668 · 3 comments ·
Maintainers usually reply within 1 day
-
docs: add Vidai Control Room to the OpenAI-compatible providers sectionPossibly taken @wasim-builds claimed this 1 day ago. Openfactory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
factory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
activepieces/activepieces#17974 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
OHDSI/Data2Evidence#3777 ·
Maintainers usually reply within 3 days
-
bug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AOSSIE-Org/PictoPy#1802 · 2 comments ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Termix-SSH/Plugin-Snippets#26 · 1 comment ·
Maintainers usually reply within 1 day
-
agent-reported bug from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nightly-labs/openbot#20504 ·
Maintainers usually reply within 1 day