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.

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.
| Provider | Fields | Authentication |
|---|---|---|
| OpenAI | API key | |
| Azure OpenAI | Base URL, API version | API key, or Entra access token |
| Ollama | Base URL | None |
| Anthropic | API key | |
| Google Vertex AI | Project, Location | Service account (JSON file) |
| Google Generative AI | API key | |
| AWS Bedrock | AWS region | Bedrock 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, Cerebras | API key | |
| OAuth2 Proxy | Proxy endpoint, Auth base URL, Token path, Client ID | Client credentials (client secret) |
| vLLM | Base URL | None, or API key |
| Watsonx | Base URL, Project ID | API 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
| Field | Meaning | Default |
|---|---|---|
| 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 attempt | The 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.