Start Here
For most Crazyrouter users, these are the two recommended Coze integration paths:- Option 1: call Crazyrouter through a
Create from APIplugin - Option 2: call Crazyrouter through a workflow HTTP request node
- Coze features differ across editions, regions, and plans
- Coze’s published plan FAQ explicitly lists
custom modelas an enterprise flagship capability - For public documentation, the safer baseline is the HTTP / API plugin route
Who This Guide Is For
- Users who want to call Crazyrouter inside a Coze bot or workflow
- Users who want Crazyrouter to act as an external model endpoint
- Users who want the smallest reproducible setup before touching enterprise-only capabilities
- Teams that want plugin- or workflow-based access to multiple models
Recommended Public Setup
Public baseline: HTTP / API plugin route
Recommended parameters:- Request method:
POST - URL:
https://crazyrouter.com/v1/chat/completions - Headers:
Authorization: Bearer sk-xxxContent-Type: application/json
- First validation model:
gpt-5.4
Why this route comes first
Because it:- depends less on Coze plan differences
- makes it easier to tell whether the issue is Coze setup or Crazyrouter token / model scope
- is the most stable route to document publicly
Requirements And Prerequisites
| Item | Notes |
|---|---|
| Crazyrouter account | Register at crazyrouter.com first |
| Crazyrouter token | Create a dedicated token for Coze |
| Coze account | You need access to create bots, workflows, or plugins |
| Publish or debug access | At minimum, you should be able to debug a bot or workflow |
| Allowed models | Allow at least one chat model first |
gpt-5.4claude-sonnet-4-6gemini-3-pro-preview
Option 1: Connect Crazyrouter Through An API Plugin
Step 1: Create a dedicated Crazyrouter token for Coze
For the first pass, only allow:
gpt-5.4claude-sonnet-4-6
Step 2: Create an API plugin in Coze
In the Coze workspace, open the area that matches your current version, usually something like:
PluginsCreate PluginCreate from APIor a similarly named entry
Exact menu names may vary by Coze version, region, or product line, but the core idea is the same: create a plugin that calls an external HTTP API.
Step 3: Set the request method and URL
Enter:
Method:POSTURL:https://crazyrouter.com/v1/chat/completions
Step 5: Start with the smallest request body
For the first test, use:If your plugin UI supports parameter mapping, map user input into a placeholder such as
{{input}}.Step 6: Validate the plugin connection first
If your version supports plugin debugging, send:Make sure the API returns successfully before attaching the plugin to a bot or workflow.
Option 2: Connect Crazyrouter Through A Workflow HTTP Request Node
If you do not want to maintain a separate plugin, you can call Crazyrouter directly from a workflow HTTP request node.Recommended configuration
- Request method:
POST - URL:
https://crazyrouter.com/v1/chat/completions - Headers:
Authorization: Bearer sk-xxxContent-Type: application/json
- Body:
Recommended validation order
- Send a fixed string such as
Reply only OK - Replace the fixed string with a variable input
- Map the result into downstream nodes only after the HTTP node is stable
How To Think About “Custom Model Integration”
Some Coze versions or plans may support custom-model integration, but that should not be the default public Crazyrouter guide. Reasons:- Coze’s own plan FAQ currently lists
custom modelas an enterprise flagship capability - For most ordinary users, the most reproducible and lowest-friction route is still HTTP / API plugins
- This page therefore treats custom-model support as background context, not as the default public setup path
Recommended Models
| Use case | Recommended model | Why |
|---|---|---|
| First connection test | gpt-5.4 | Verified successfully in production on March 23, 2026, and best for validating the Coze-to-Crazyrouter path |
| Higher-quality output | claude-sonnet-4-6 | Better for stronger explanation and content generation |
| Gemini fallback path | gemini-3-pro-preview | Useful as a second compatibility-validation path |
Token Best Practices
| Setting | Recommendation | Why |
|---|---|---|
| Dedicated token | Required | Do not share a Coze token with desktop apps or IDE tools |
| Model allowlist | Strongly recommended | Start with only one or two models |
| Spending limit | Strongly recommended | Workflow loops and retries can multiply usage |
| Environment isolation | Recommended | Use separate tokens for dev / test / production |
| Leak handling | Rotate immediately | Replace the key if it appears in screenshots or shared workspaces |
Validation Checklist
- Created a dedicated Crazyrouter token for Coze
- Chosen the HTTP / API plugin route or workflow HTTP request route first
- Set the request URL to
https://crazyrouter.com/v1/chat/completions - Filled the
Authorizationheader asBearer sk-xxx - Set
Content-Typetoapplication/json - Validated the smallest request body with
gpt-5.4 - Confirmed the plugin or HTTP node works in standalone debugging
- Confirmed it still works after attaching to the bot or workflow
- Confirmed the request appears in Crazyrouter logs
Common Errors And Fixes
| Symptom | Common cause | Fix |
|---|---|---|
| 401 unauthorized | Token is wrong, expired, or copied incompletely | Generate a new token and re-enter the Authorization header |
| 404 | URL is wrong or missing /v1/chat/completions | Change it to the full URL |
| 403 / model not allowed | The token does not allow that model | Allow the model in Crazyrouter token settings |
model not found | Model name is wrong | Switch back to gpt-5.4 and revalidate |
| Plugin can be created but fails inside the bot | Input / output mapping is inconsistent | Fall back to a fixed-string test first |
| Workflow node fails intermittently | Input is too large, retries are too aggressive, or concurrency is too high | Shrink the input and return to a minimal test |
| You cannot find a “model management” custom-upstream entry from another tutorial | Your version or plan is different | Go back to the HTTP / API plugin route instead of relying on enterprise-only capabilities |
FAQ
What is the best Coze-to-Crazyrouter route?
In public docs, prefer the HTTP / API plugin route or the workflow HTTP request node route.Why is “custom model integration” not the main path here?
Because Coze capabilities vary a lot by version and plan, and Coze’s plan FAQ also placescustom model under enterprise flagship capabilities. Public docs should lead with the most reproducible lower-threshold HTTP path.
What URL should I enter?
Usehttps://crazyrouter.com/v1/chat/completions.
What should the first model be?
Start withgpt-5.4.
When should I add Claude or more models?
Only after the single-model, single-node, single-task path is already stable.If your goal is “make Coze call Crazyrouter reliably first”, the most important thing is not choosing the fanciest integration path. It is getting the smallest HTTP / API flow working end to end.