Flowise logo
Bot builders

Use TokenRex with Flowise

Connect Flowise chatflows and agents to TokenRex with ChatOpenAI Custom.

Setup checked against the linked documentation. Screenshots are reference examples from the tool's publisher, not proof of a TokenRex connection. Live execution inside this third-party app has not been tested; verify a short request before running larger tasks.

Before you start

  • Flowise installed or a workspace
  • Permission to create credentials
  • A TokenRex API key

Setup methods

01

OpenAI Custom Model node

  1. 1

    Create a chatflow and add OpenAI Custom Model (called ChatOpenAI Custom in older versions).

  2. 2

    Create a private ChatOpenAI credential with your TokenRex key.

  3. 3

    Set Model Name to gpt-6-astra. In Additional Parameters, set Base Path to https://tokenrex.ai/api/public/v1, without /chat/completions.

    Flowise ChatOpenAI credential dropdown and Additional Parameters
    Official Flowise node screenshot; node names vary by version. Official source
    1. 1Connect Credential: create a private credential for your key.
    2. 2Additional Parameters: set the custom Base Path.
  4. 4

    Set model capabilities from verified specifications, connect the node to your chain or agent, save and test.

Setup reference
02

ChatOpenAI with a custom Base Path

  1. 1

    Add the ordinary ChatOpenAI node and use the same private credential.

  2. 2

    Set Additional Parameters → Base Path to https://tokenrex.ai/api/public/v1.

  3. 3

    Use this route only if the node allows your exact model ID. Otherwise use OpenAI Custom Model, rather than substituting an unrelated OpenAI model.

Setup reference

Troubleshooting

Authentication fails
Check that the saved TokenRex key is active and belongs in the tool's API-key field, not its subscription sign-in. Remove accidental spaces, check your wallet balance, and never share the key in screenshots or exported settings.
The model is missing or the request URL returns 404
Copy an exact enabled model ID from Models & Pricing. Follow this method's URL field: some tools expect the versioned base, others the root or full completion address. Check the documented API protocol before changing the path.
Chat works but streaming or tools fail
Test a short plain-text conversation first. Confirm the selected model and installed tool version support the required protocol and capabilities. Enable agent actions only after separately checking streaming and tool calls.

Verify the connection

Send a short message with the selected model, read its response, then confirm the exact model appears in your TokenRex usage. Test streaming and tool use separately before larger agent tasks.