AICredits logo
Integrations

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:

SettingValue
ProviderOpenAI / OpenAI-compatible
API keysk-your-aicredits-key
Base URL / proxy URLhttps://api.aicredits.in/v1
ModelPick from Models

Recommended model IDs:

openai/gpt-4o-mini
anthropic/claude-sonnet-4.5
google/gemini-2.5-flash

If your deployment uses environment variables for the OpenAI provider, set:

.env
OPENAI_API_KEY=sk-your-aicredits-key
OPENAI_PROXY_URL=https://api.aicredits.in/v1

Some 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.

On this page