#2629·chat-ui

Can a paid base URL sit in the table beside llama.cpp and Ollama?

Author: TheCheetah11Created Sep 25, 2026Updated Sep 25, 2026

The README says chat-ui speaks OpenAI compatible APIs only, and the table for pointing it at one already carries rows where the key is a stand in rather than a secret. llama.cpp is listed with the note that any string works because that server ignores it, and Ollama's row is the literal string ollama. The single endpoint type in src/lib/server/endpoints/openai/endpointOai.ts takes apiKey with a default that falls back from the environment to a stand in, and src/lib/server/models.ts builds each model's endpoints out of that one schema, discovered from the base URL and overridable through MODELS.

Every row there is either a server the reader runs or a router the reader holds a token for, so a hosted base URL that charges for each call has no key to paste and no row that fits. BlockRun is one OpenAI compatible base URL covering chat, image, video, music, speech and sound effects, and every call settles in USDC over x402, so a self hoster points OPENAI_BASE_URL at it and leaves any string in the key field. https://blockrun.ai

Would a row like that be welcome in that table, or is it meant for hosts the reader controls and a paid one is out of place? The open issue about pairing chat-ui with a community OpenAI compatible peer (#2615) reads like others are already reaching for this shape. Happy to write the row and check it against a local setup if you want it, and just as happy to hear it does not belong.