#871·kotaemon

Should a placeholder key still be the way to reach a hosted endpoint?

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

kotaemon builds its model pool from flowsettings and the Resources tab, and the Add tab asks for a vendor out of a list that is all vendor classes, ChatOpenAI, AzureChatOpenAI, LCAnthropicChat, LCGeminiChat, LCCohereChat, LCOllamaChat and LlamaCppChat. The OpenAI entry declares its api_key as required on the class, and docs/local_model.md tells people to type ollama or dummy into that field when the server is one they run themselves, so for an endpoint with no account behind it the working pattern is a placeholder standing in for a credential. KH_LLM_EXTRA_VENDORS is the way in without editing that list, and a class added there inherits the same required key.

So the pool ends up built out of accounts people hold and servers people run at home, and a hosted endpoint that charges per call is neither of those. BlockRun is one OpenAI-compatible base URL that answers chat, image, video, music, speech and sound effects, each call settling on its own in USDC over x402 so a user brings a wallet and no key at all, and the search endpoint rides the same payment flow, which is the shape of the retriever backend your open pull #862 is adding. https://blockrun.ai

Would a vendor of that shape be welcome in the list, or does the pool want to stay with hosts people run or accounts they own? I can write the class and the spec the way the existing entries read and open it for review, and I am just as happy to hear that a hosted endpoint with nothing to hold does not belong there.