Flowise

Flowise

Build AI agents visually and route them through TokenMix.

Prepare TokenMix values

Start Flowise locally

npm install -g flowise
npx flowise start

Open http://localhost:3000 and create a Chatflow.

Configure the chat model

Use ChatOpenAI-Custom first because it lets you manually type a TokenMix model ID.

  1. Add a ChatOpenAI-Custom node.
  2. Create an OpenAI API Key credential and paste your TokenMix key.
  3. Set Model Name to a TokenMix model ID.
  4. Set Base Path to https://api.tokenmix.ai/v1.
  5. Keep Streaming enabled.
  6. Start with Temperature = 0.7.
  7. Leave Base Options empty unless you need custom headers.

Configure embeddings for RAG

For vector search or RAG, add OpenAIEmbeddingsCustom or OpenAIEmbeddings:

Do not use a chat model as an embedding model.

Test prompt

Explain TokenMix API in three short sentences and mention why it works well with Flowise.

Troubleshooting