Flowise
Use AICredits in Flowise chatflows and agentflows through the OpenAI-compatible ChatOpenAI configuration.
Use this page with an AI assistant
Opens a new chat with this docs URL and the correct AICredits base URLs.
Flowise is a visual builder for LLM chatflows, RAG pipelines, and agents. Because AICredits is OpenAI-compatible, Flowise can call AICredits from OpenAI or ChatOpenAI nodes.
ChatOpenAI Node
In a Flowise chatflow or agentflow, add an OpenAI-compatible chat model node and configure it with:
| Field | Value |
|---|---|
| Credential / API key | sk-your-aicredits-key |
| Base path / base URL | https://api.aicredits.in/v1 |
| Model name | Pick from Models |
Recommended starter model:
openai/gpt-4o-miniFor higher-quality coding, planning, or agent tasks, use:
anthropic/claude-sonnet-4.5
google/gemini-2.5-proFlowise field names vary by version. Use the field that maps to OpenAI's base URL, base path, or configuration base path, and set it to https://api.aicredits.in/v1.
Example RAG Flow
Use this basic Flowise structure:
Document Loader → Text Splitter → Vector Store Retriever → Conversational Retrieval QA Chain → ChatOpenAISet the ChatOpenAI model to an AICredits model ID. This lets the retrieval and prompt orchestration stay inside Flowise while model access, billing, and usage logs go through AICredits.
Hostinger Deployment Notes
If your Flowise container is internet-facing, enable Flowise authentication and keep it updated. Flowise workflows can call external tools and execute agent steps, so treat a public Flowise instance as a production admin surface.
Use a separate AICredits API key per Flowise environment:
| Environment | Recommended key |
|---|---|
| Testing | Low monthly cap |
| Internal team | Team-specific monthly cap |
| Production chat app | Dedicated production key |
Verify
Run the chatflow with:
Say "AICredits via Flowise" and nothing else.Then check Dashboard → Usage for the request.
Troubleshooting
OpenAI key required — Paste the AICredits key in the OpenAI credential field.
Wrong endpoint — The base URL must include /v1.
Model list is empty — Type the model ID manually from Models.