n8n workflows
Use HiWay as the LLM endpoint for every n8n AI node.
n8n's AI nodes (OpenAI, OpenAI Chat Model, Agent, etc.) let you override the API base URL through credentials. Create a new OpenAI credential pointing at HiWay and every AI node in your workflow gets smart routing for free.
1. Create the credential
- Open Credentials → New → OpenAI API.
- Paste your
hwy_key into the *API Key* field. - Expand *Options*. Set *Base URL* to
https://www.hiway2llm.com/v1. - Save. Name it something like
HiWay Routing.
2. Use it in any AI node
Pick HiWay Routing as the credential, set the model to auto, and your n8n agent now benefits from tiering, Guardian, and per-key budget caps.
Pin a tier for high-volume nodes
Batch classification or summarization nodes that run thousands of times per day should pin light — the quality is enough for most classifiers and the cost drops ~15×.