How do I use Leiolai in Open WebUI?
Add Leiolai as an OpenAI-compatible connection in Open WebUI’s admin settings. Enter the Leiolai /v1 URL and API key, then select leiolai-1 in a new chat. Supply the model ID manually if automatic discovery does not show the model.
Where do I add the connection?
Open Open WebUI’s Settings, Admin, Connections, then Manage OpenAI API Connections. Add a connection with https://api.leiolai.com/v1 as the URL and your Leiolai key as the API key. Save the connection before selecting leiolai-1.
Which model ID should I use?
Use leiolai-1. If discovery does not list the model, enter the ID in the connection’s Model IDs setting. Select the corresponding model in a new chat to test the saved connection.
Which key restriction fits a private conversation?
A Leiolai Private-only key selects confidential handling without needing an extra mode field. Research-only keys are for non-sensitive Research work. An unrestricted key requires mode in every request.
Choose the key restrictionHow do I test the new connection?
Start a new chat with Leiolai selected and send a simple text question. Confirm that the request succeeds before adding longer context or optional features. A failed request’s error code helps distinguish a key problem from a model or body-field issue.
Can the connection provide embeddings for document search?
No. This Open WebUI connection uses Leiolai’s chat API. Configure an embeddings provider separately for document-search features that require embeddings; the Leiolai API does not provide an embeddings endpoint.
What should I check if the model is missing?
Check the saved connection URL and key, then use the manual model ID setting. Confirm that the interface is showing the connection you just configured.
What should I check if a chat returns an API error?
For an Open WebUI request to Leiolai, read the status and error code, then check the key’s permission, balance, budget, and request fields. A 403 mode conflict requires a compatible mode or key; repeatedly sending the same request will not change that permission.
Find the correct fixHow do conversation length and response length affect cost?
Open WebUI history sent to Leiolai contributes input tokens, and the Leiolai answer contributes output tokens. Estimate the two separately using the request’s mode and effort.
Context and response limits Calculate API costs