This legacy guide covers the ChatCerebras v3.0 node from the final Flowise releases, including its model dropdown selector and automatic integration tracking.
Prerequisites
Before you begin, ensure you have:- Cerebras API Key - Get a free API key here.
- Existing self-hosted Flowise installation - Use this guide only to maintain an existing deployment.
- Node.js 24 - Required by the final Flowise 3.1.x package.
Install Flowise
1
Install Flowise via NPM
The easiest way to get started with Flowise is to install it globally using NPM:Alternatively, you can use Docker:
2
Start Flowise
Once installed, start Flowise with:This will launch Flowise on
http://localhost:3000. Open this URL in your browser to access the Flowise interface.Configure Cerebras in Flowise
1
Create a new Chatflow
In the Flowise UI, create a new chatflow to house your Cerebras-powered application:
- Click on “Chatflows” in the left sidebar
- Click the “+Add New” button
- Give your chatflow a descriptive name like “Cerebras Chat Assistant”
2
Add the ChatCerebras node
Flowise has a dedicated ChatCerebras node for seamless integration:
- In the canvas, click the ”+” button or drag from the left panel
- Search for “ChatCerebras” in the Chat Models category
- Drag the ChatCerebras node onto the canvas
3
Configure the ChatCerebras node
Click on the ChatCerebras node to open its configuration panel and configure the following settings:Required Settings:
-
Connect Credential: Click to add your Cerebras API Key
- If this is your first time, click “Create New”
- Enter your API key from cloud.cerebras.ai (starts with
csk-) - Give it a name like “Cerebras API”
- Click “Add”
-
Model Name: Select from the dropdown:
- gpt-oss-120b - General text, coding, and tool use
- Temperature: Control randomness (0.0 to 1.0, default 0.9)
- Max Tokens: Maximum response length
- Top P: Nucleus sampling parameter
- Streaming: Enable for real-time token generation (default: true)
The ChatCerebras node automatically:
- Configures the correct API endpoint (
https://api.cerebras.ai/v1) - Adds the integration tracking header for better support
- No manual configuration needed!
4
Connect additional nodes
Build out your chatflow by adding other nodes to create a complete application:Or with memory:
- Add a Prompt Template - Click ”+” and search for “Prompt Template” to customize your system prompts
- Add Memory (optional) - Search for “Buffer Memory” or “Conversation Buffer Memory” to maintain conversation context
- Connect the nodes - Draw connections between nodes by clicking and dragging from output ports to input ports
5
Test your chatflow
Once your nodes are connected, test your Cerebras-powered chatflow:
- Click the “Save” button in the top right
- Click the “Chat” icon to open the test interface
- Send a test message like “Hello! What can you help me with?”
- You should receive a response from your Cerebras-powered chatflow
https://api.cerebras.ai/v1.Using Cerebras with Flowise API
Flowise automatically generates REST APIs for your chatflows, allowing you to integrate Cerebras-powered AI into any application.1
Get your Chatflow API endpoint
In the Flowise UI:
- Open your chatflow
- Click the “API” button in the top right
- Copy the API endpoint URL (e.g.,
http://localhost:3000/api/v1/prediction/your-chatflow-id)
2
Make API requests to your chatflow
You can now call your Cerebras-powered chatflow from any application:The chatflow will use Cerebras Inference to generate responses, giving you the speed and performance of Cerebras through Flowise’s convenient API.
Direct Integration with OpenAI SDK
For advanced users who want to use Cerebras directly in custom Flowise nodes or external applications, you can use the OpenAI SDK with Cerebras configuration:Advanced Configuration
Using Environment Variables
For production deployments, store your Cerebras API key as an environment variable:${CEREBRAS_API_KEY}.
Streaming Responses
To enable streaming responses for real-time output:- In the ChatCerebras node, enable “Streaming”
- Your API responses will now stream tokens as they’re generated
- This is particularly useful for long-form content generation and provides a better user experience
Using Multiple Cerebras Models
You can create different chatflows for different use cases:- Text and coding: Use
gpt-oss-120b - Multimodal applications through a custom node: Use the
gemma-4-31bmodel - Reasoning applications: Review the model catalog before choosing a model
Next Steps
- Review the archived Flowise source and end-of-life announcement
- Try different Cerebras models to find the best fit for your use case
- For new projects, choose an actively maintained option from the integrations directory
FAQ
Error: 'Model not found' or invalid model name
Error: 'Model not found' or invalid model name
Ensure you’re using the correct model name format:
- Use
gpt-oss-120bas the default model - Do not leave the node on its retired
llama3.1-8bdefault - Check the model catalog before selecting a different model
Responses are slow or timing out
Responses are slow or timing out
If you’re experiencing slow responses:
- Check your internet connection
- Verify the Base URL is set to
https://api.cerebras.ai/v1(nothttp://) - Try reducing the
max_tokensparameter - Reduce unnecessary prompt and output tokens
- Check Cerebras status page for any service issues
Does the integration tracking header get added automatically?
Does the integration tracking header get added automatically?
Yes! As of ChatCerebras v3.0, the
X-Cerebras-3rd-Party-Integration: flowise header is automatically included in all requests. You don’t need to manually configure anything.This header helps Cerebras:- Track integration usage and performance
- Provide better support for Flowise users
- Identify and resolve integration-specific issues faster
How do I switch between different Cerebras models?
How do I switch between different Cerebras models?
Switching models is easy with the dropdown selector:
- Click on the ChatCerebras node in your chatflow
- Click the “Model Name” dropdown
- Select your desired model from the list (each has a description to help you choose)
- Save the chatflow
- Test with the new model
What additional latency can I expect when using Cerebras through Flowise?
What additional latency can I expect when using Cerebras through Flowise?
Flowise adds minimal overhead since it primarily orchestrates the workflow. The actual inference is performed directly by Cerebras, so you’ll experience the same ultra-low latency that Cerebras is known for. Any additional latency is typically negligible (< 50ms) and comes from Flowise’s workflow orchestration.

