Open WebUI
Connect Open WebUI to AICredits as an OpenAI-compatible API endpoint for chat, teams, and local dashboards.
Use this page with an AI assistant
Opens a new chat with this docs URL and the correct AICredits base URLs.
Open WebUI can connect to OpenAI-compatible APIs. Use AICredits as the OpenAI endpoint to access multiple providers from one INR-billed API key.
Admin Settings
In Open WebUI, add an OpenAI-compatible connection:
| Setting | Value |
|---|---|
| API base URL | https://api.aicredits.in/v1 |
| API key | sk-your-aicredits-key |
| Model | Pick from Models |
If Open WebUI asks for an OpenAI API URL, use the /v1 endpoint exactly.
Docker Environment
For Docker deployments, set:
OPENAI_API_BASE_URL=https://api.aicredits.in/v1
OPENAI_API_KEY=sk-your-aicredits-keyThen restart the container.
Use an AICredits API key with a monthly budget cap if this Open WebUI instance is shared by a team.
Model Recommendations
| Team use case | Model |
|---|---|
| General chat | openai/gpt-4o-mini |
| Coding help | anthropic/claude-sonnet-4.5 |
| Long document chat | google/gemini-2.5-flash |
| Fast low-cost chat | deepseek/deepseek-v4-flash |
Verify
Open a new chat and ask:
Say "AICredits via Open WebUI" and nothing else.If the response succeeds, check Dashboard → Usage for the request log.
Troubleshooting
No models appear — Call GET /v1/models with your key to confirm the API connection works.
401 Unauthorized — Replace the key with a current AICredits API key.
Wrong endpoint — Make sure the base URL includes /v1.