Connect n8n to byesu API
Point n8n's built-in OpenAI Chat Model or Anthropic Chat Model credentials at byesu to power automated AI Agent tool-calling workflows, webhook pipelines, and structured output extractors with one pay-as-you-go API key.
Quick configuration
- OpenAI API Credential Base URL:
https://byesu.com/v1(all vendors via OpenAI Chat Model node) - Anthropic API Credential Base URL:
https://byesu.com(native/v1/messages+0.1xcache reads) - API Key: your byesu token (
sk-..., created in the defaultautogroup) - Recommended models:
claude-sonnet-5-5,claude-opus-5-5,gpt-6.2-sol,deepseek-v4-pro,gemini-4-argon
Option 1: OpenAI Chat Model Node (Unified Multi-Vendor Setup)
- Generate an
sk-...token in the byesu Console under the defaultautogroup (see Choosing a Group). - In n8n, open Credentials → Add Credential and select OpenAI API:
- API Key: paste your
sk-...token - Base URL:text
https://byesu.com/v1
- API Key: paste your
- Save the credential — n8n automatically tests
/v1/modelsand confirms the connection. - On your workflow canvas, add an AI Agent node, click + Model, and select OpenAI Chat Model.
- Pick your byesu OpenAI credential, switch Model to By ID (or Expression), and enter any active model ID:
gpt-6.2-sol,gpt-6.2-astra,gpt-6.1-sol,claude-sonnet-5-5,claude-opus-5-5,gemini-4-argon,gemini-3.8-flash,deepseek-v4-pro,deepseek-v4.1-flash, orgrok-4.7.
Option 2: Anthropic Chat Model Node (Native Claude & Caching)
For multi-step AI Agent loops on Claude 5.5 where the system prompt and tool schemas repeat on every tool iteration, use n8n's native Anthropic Chat Model sub-node:
- Go to Credentials → Add Credential → Anthropic API:
- API Key: your
sk-...token - Base URL:text
https://byesu.com
- API Key: your
- Connect an Anthropic Chat Model node to your AI Agent node and enter
claude-sonnet-5-5,claude-opus-5-5, orclaude-haiku-5-5. - Native
/v1/messagespreserves Anthropic tool-use blocks and0.1xprompt cache reads across agent iterations (Prompt Caching).
Engineering Tips for Reasoning & Claude 5.5 Nodes
- GPT-6.2 & reasoning parameters: When calling
gpt-6.2-sol,gpt-6.2-astra, orgpt-6.1-solthrough n8n's OpenAI Chat Model node, do not setTemperaturealongside reasoning effort options, and avoid legacymax_tokensparameter overrides (leave Maximum Number of Tokens unset or use modern completion token options — see unsupportedmax_tokensandreasoning_effortvalues). - Avoid HTTP 400 on Claude 5.5 sampling: Newer Claude 5.5 snapshots reject requests that pass both
temperatureandtop_p. If your Anthropic Chat Model or OpenAI Chat Model node returns400, remove fixed Top P / Temperature overrides under Options so both are not sent simultaneously (Claude 400 temperature + top_p fix). - Other groups & billing: Create tokens in
Glm(glm-5.3),Kimi(kimi-k3), ormedia(gpt-image-2/gemini-3.1-flash-image-ultraviaPOST https://byesu.com/v1/images/generations) when needed. Billing is pay-as-you-go per token with live rates visible in the byesu Console after sign-in.
Troubleshooting & Benchmarks
- 401 invalid_api_key: verify the credential Base URL (
https://byesu.com/v1for OpenAI,https://byesu.comfor Anthropic) and ensure no trailing whitespace on thesk-...key (OpenAI 401 fix). - 404 / no available channel: confirm the model ID matches the console list and your token's group (no available channel).
- 429 / benchmarks: check OpenAI 429 rate limit vs quota and live production benchmarks.