Skip to content
Docs

Static Model

Static Model supplies an Agent with one fixed provider and model. It behaves the same as setting the provider and model on the Agent node itself, with the advantage that the choice is a separate node you can swap or reuse without editing the agent. You find it on the node picker’s AI shelf.

The node has a single output handle, Model. Connect it to the Agent’s Model handle. An agent reads one model node, and with none connected it uses the provider and model set on the Agent node itself.

The credential field names the key the model call pays with: a secret holding an API key, or a saved connection. Leave it empty to use the workspace key for the provider, set on the AI models page, with the server’s key as the final fallback.

The Static Model node's settings form, with the fields described below
The Static Model node's settings form, with the fields described below
FieldTypeDefaultDescription
Provider (provider)one of openai, anthropic, gemini, ollama, mistral, groq, xai, voyageai, openrouter, typesafe, eleven, openai-compatible, soniox ✦ (required) — The AI provider this model runs on, e.g. OpenAI or Anthropic.
Model (model)string ✦ (required) — The fixed model the connected agent uses, e.g. gpt-4o or claude-sonnet-5-5.
Credential (credential)string ✦ (optional) — The key this node pays with — a secret holding an API key, or a saved Connection. Leave it empty to use the workspace key for this provider, set on the AI models page.
Base URL (baseUri)string ✦ (optional) — Base URI override for the provider’s API, for proxies or compatible endpoints.

Fields marked ✦ accept expressions.

The node emits no output of its own and never runs as a step in the flow: it carries one Model handle and nothing routes into it. What it hands the agent is a single provider and model, used for every call the agent makes in that run.

Pin an agent to a cheap model (this mirrors the “Smoke / Model routing — static model” flow template):

  1. Add a Static Model node. Set provider to openai and model to gpt-4o-mini.
  2. Connect its Model handle to the Agent’s Model handle.

The agent now answers every request with gpt-4o-mini, whatever the Agent node’s own provider and model say. Swap the model for the whole flow by editing this one node.

  • Connecting several model nodes to one agent does not combine them: the first one is used and the rest are ignored.
  • The choice is fixed for the whole run. To choose per request, use one of the router nodes listed under Related.