LobeChat
Configure LobeChat or LobeHub with AICredits as an OpenAI-compatible provider for self-hosted chat and agents.
Use this page with an AI assistant
Opens a new chat with this docs URL and the correct AICredits base URLs.
LobeChat, now part of the LobeHub project, is a polished self-hosted AI chat and agent interface. Use AICredits as an OpenAI-compatible provider when you want one key for multiple models and INR billing.
Provider Settings
In LobeChat or LobeHub, add an OpenAI-compatible provider:
| Setting | Value |
|---|---|
| Provider | OpenAI / OpenAI-compatible |
| API key | sk-your-aicredits-key |
| Base URL / proxy URL | https://api.aicredits.in/v1 |
| Model | Pick from Models |
Recommended model IDs:
openai/gpt-4o-mini
anthropic/claude-sonnet-4.5
google/gemini-2.5-flashIf your deployment uses environment variables for the OpenAI provider, set:
OPENAI_API_KEY=sk-your-aicredits-key
OPENAI_PROXY_URL=https://api.aicredits.in/v1Some LobeChat versions call the base URL field a proxy URL. It should still point directly to https://api.aicredits.in/v1.
Hostinger Deployment Notes
LobeChat is useful as a team-facing model workspace when you want a refined chat UI without building one. Use separate AICredits keys for personal testing and team deployments so usage and budget caps stay clear.
Verify
Select an AICredits model and ask:
Reply with "AICredits via LobeChat" and nothing else.Then check Dashboard → Usage.
Troubleshooting
Requests still go to OpenAI — Confirm the proxy/base URL is set and the app has restarted.
Model not listed — Add the AICredits model ID manually if the UI supports custom model names.
401 Unauthorized — Replace the key with a current AICredits API key.