TokenLab

Frameworks & Platforms

Langflow

Use TokenLab models from Langflow's OpenAI component

Overview

Langflow's OpenAI component includes an OpenAI API Base field. Point that field at TokenLab's OpenAI-compatible /v1 endpoint and use TokenLab model IDs.

OpenAI Component

  1. Add an OpenAI language model component.
  2. Set OpenAI API Key to your TokenLab key.
  3. Expand advanced settings.
  4. Set OpenAI API Base to https://api.tokenlab.sh/v1.
  5. Set Model Name to a TokenLab model ID.
  6. Connect the model output to your agent, chain, or workflow.

Values

FieldValue
OpenAI API Basehttps://api.tokenlab.sh/v1
OpenAI API Keysk-your-tokenlab-key
Model Namegpt-5.4-mini

Choose a model

Copy a current chat model ID from the Models page. The selected component must use an API format supported by that model.

If your application already uses LiteLLM Proxy, connect TokenLab through Langflow's LiteLLM Proxy component instead.

On this page