Skip to main content
Version: 4.0

3.3.1 Model & runtime configs

A Model & runtime config tells an agent which model to use, how to reach the model provider, and how much the agent may spend per model call. You create a configuration once and share it between agents and Analysis Engine profiles.

Open M4AI › Library › Model & runtime configs. The list shows each configuration's Provider · model, current Revision, Runtime budgets, and how many agents and profiles use it. Click a configuration to open it, or choose New configuration.

The Model & runtime configs list with a Fireworks configuration open: the provider, the model, the hidden API key, the runtime budgets, and the agents that use it

Revisions​

Configurations are not published. Every save creates a new revision:

  • The first save, Create configuration, makes the configuration usable immediately.
  • Each later save, Save as rev 2 and so on, creates the next revision.

An agent or profile pins the exact revision it was set up with, so changing a configuration never changes an agent that is already published. To move an agent to a newer revision, update its draft and publish again. Revision history lists the revisions, and Used by lists the agents and Analysis Engine profiles with the revision each one pins.

Model​

  • Provider: the model provider. Switching to another provider clears the model, the authentication and the provider properties.
  • Model: the model or deployment name at that provider, for example claude-sonnet-5-5. Required.
  • Authentication and the provider's own fields: see the table below.
ProviderFieldsAuthentication
OpenAIAPI key
Azure OpenAIBase URL, API versionAPI key, or Entra access token
OllamaBase URLNone
AnthropicAPI key
Google Vertex AIProject, LocationService account (JSON file)
Google Generative AIAPI key
AWS BedrockAWS regionBedrock bearer key, or AWS access keys (access key ID, secret access key, optional session token)
Cohere, NVIDIA AI Endpoints, Fireworks, Groq, Mistral AI, Together AI, xAI, CerebrasAPI key
OAuth2 ProxyProxy endpoint, Auth base URL, Token path, Client IDClient credentials (client secret)
vLLMBase URLNone, or API key
WatsonxBase URL, Project IDAPI key

Secrets such as API keys are never shown again once saved. The field then reads Configured; enter a replacement: type a new value to replace it, or choose Clear to remove it.

Runtime behaviour​

FieldMeaningDefault
Context window (tokens)The most tokens the model can accept.131,072
Response budget (tokens)The most tokens the model may produce per model call. Must be smaller than the context window.16,384
Tool calls per attemptThe most tool calls the agent may make per attempt.16
Model-call timeout (s)How long a single model call may take.300

All four are whole numbers of at least 1.

Provider properties​

Under Advanced · provider properties, you can pass further settings to the provider, for example top_p. Each property has a Property name, a Type (string, integer, float, boolean, null, object or array), a value, and a Secret checkbox that hides the value like an API key. Choose + Add property to add one.

Delete a configuration​

Choose Delete configuration to permanently delete the configuration with every revision and secret. The confirmation lists the agents and Analysis Engine profiles that pin it: they can no longer run or be published until they choose another configuration, and Analysis Engine runs in progress fail.