AICredits logo
Integrations

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:

SettingValue
API base URLhttps://api.aicredits.in/v1
API keysk-your-aicredits-key
ModelPick 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-key

Then 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 caseModel
General chatopenai/gpt-4o-mini
Coding helpanthropic/claude-sonnet-4.5
Long document chatgoogle/gemini-2.5-flash
Fast low-cost chatdeepseek/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.

On this page