Choose a model
Connect a model server, set the organisation's default, the Strong and Fast roles, and an agent's own model.
A model is what an agent thinks with. You connect your organisation's own model servers on Settings › Models: each one is an address, a model id and usually an API key. One of them is the organisation's default, which every agent uses unless it has a model of its own. Two optional roles, Strong and Fast, send some side work to a different model.
Before you start
- Have the model server's base URL, the model id it expects and, for a hosted provider, an API key.
- Reviews, goals, tools and asking other agents all need a model that can call tools. Plain chats and PRD drafts do not. Pick a tool-calling model if you can.
- If the page says Keys can't be saved on this portal yet. The Entropix team needs to set a secret key., you can only add a model that needs no key until that is fixed.
Which model an agent uses
For every piece of work, the portal picks the agent's model in this order:
- The agent's own model, if an admin picked one on its Settings tab (see Agent settings).
- Otherwise, the organisation's default model.
- Otherwise, this portal's own model, when the portal has one. The page then says Using this portal's model and its name, and that your prompts, repository text and tool results go to it until you add your own.
- Otherwise, none: the agent's settings say No model — chat and goals are off.
Add a model endpoint
- Open Settings › Models and go to Add a model endpoint.
- Under Start from, choose your provider. It fills in the name and the base URL.
- Type the Model id, for example the id your provider lists for the model you want.
- Paste the API key, if the server needs one.
- Open Advanced only if you need to change a limit (below).
- Choose Add endpoint.
The portal saves the endpoint and tests it at once, waiting up to 20 seconds. You land on the endpoint's Edit panel, which shows the Test result. A failed test never undoes the save: you can fix the endpoint and choose Test again. The first endpoint your organisation adds becomes its default.
| Provider | Base URL it fills in |
|---|---|
| OpenAI | https://api.openai.com/v1 |
| Anthropic | https://api.anthropic.com/v1 |
| Google Gemini | https://generativelanguage.googleapis.com/v1beta/openai |
| Groq | https://api.groq.com/openai/v1 |
| Together | https://api.together.xyz/v1 |
| Fireworks | https://api.fireworks.ai/inference/v1 |
| OpenRouter | https://openrouter.ai/api/v1 |
| Ollama (local) | http://localhost:11434/v1 |
| Other / gateway | Nothing: type your own. |
The fields
| Field | What it does | Rules and default |
|---|---|---|
| Name | How the endpoint is shown everywhere in the portal. | One line, up to 80 characters, unique in your organisation. |
| Base URL | The server's address. | http or https, with no user name or password in it, no query and no fragment. A path is fine. |
| Model | The model id sent with every request. | Required. |
| API key | Sent to the server with every request. | Optional. Stored encrypted and never shown again; the field then reads Saved — type to replace. Leave it empty to keep the saved key. |
| Key from the runner | Your organisation's runner adds its own key, so the key never reaches the portal. | Leave API key empty. See Runners. |
| Max tokens | The longest answer the model may write. | 0 to 32,768; empty means the default. Reasoning models need 4,096 or more. |
| Reasoning effort | How hard a reasoning model thinks. | default, none, low, medium or high. If answers come back cut off, try none. |
| Timeout (seconds) | How long one request may take. | 0 to 1,800; empty or 0 means the default. |
| Context window (tokens) | The most the model can read at once. | 4,000 to 2,000,000. Empty means the portal reads it from the server when it can, or assumes 128,000. |
Anthropic and every other server
An endpoint whose base URL is on api.anthropic.com is called through Anthropic's own API, with prompt caching. Every other endpoint is called as an OpenAI-compatible server. Behind an OpenAI-compatible gateway such as LiteLLM or the Bedrock Access Gateway, one base URL can reach Bedrock, Vertex, Azure or Anthropic models. Per-team keys, spend caps and routing then belong to that gateway, not to the portal.
Test a model
Every save runs a test, and Test again runs one whenever you like. The test sends one short request that offers the model a tool named ping and asks it to call it. The result is one of:
| Result | What it means |
|---|---|
| Works · can call tools | The server answered and the model called the tool. It can do everything. |
| Works, but can't call tools — not usable for reviews. | The model answers, so chats and PRD drafts work. Reviews, goals, tools and asking other agents do not. |
| A reason in plain words | The test failed. What the provider said shows the server's own words, with your key blanked out. |
The table at the top of the page shows each endpoint's last test in one line: its context window and where that number came from (for example read from the server, known for this model or set by you), Tools ✓ or Tools ✗ did not call a tool, and when it was checked, in UTC. A row turns amber, with Reviews, goals, tools and delegation need a model that calls tools. Long chats and goals get cut off below 16k., when its model cannot call tools or its window is under 16,000 tokens. A row never tested reads Not checked yet.
Set the organisation default
- Choose Make default on an endpoint's row. Every agent with no model of its own uses it from its next piece of work.
- Choose Use this portal's model on the default's row to clear the default. Agents with no model of their own then fall back to this portal's own model.
When you have endpoints but no default, the page warns: No organisation default. Pick one below, or agents fall back to this portal's model.
Strong and Fast roles
Under Model roles, an admin can send two kinds of side work to models of their own. Strong starts as Same as each agent's model, Fast as Each agent's own model (checks cost more).
| Role | Label on the page | The work it takes |
|---|---|---|
| Strong model | writes plans and runs checks that need judgement | The step-by-step plan for a chat question that needs one, and the second reading of a review's findings when that review option is turned on. |
| Fast model | routes messages and writes summaries | Deciding how to handle an incoming chat message, checking an answer and a goal's report against its notes, chat summaries and shortening long chats, choosing and rewording what to recall from memory, pulling facts out of conversations and merging them, and picking which other agents join a review. |
Choose a model for each and Save model roles. With no Fast model, the answer check, deciding how to handle a message, and choosing and rewording what to recall run on each agent's own model, and the page says so under the roles: No Fast model: answer checks, routing and memory picks use each agent's own model. That costs more on a large model: a chat turn may make up to three of these small calls besides its answer, so a cheap Fast model cuts the bill. Only the explore helper still needs a Fast model set (see Feature switches). A Fast model on the same endpoint as an agent's own model is that model.
Embed model: memory search by meaning
Agents find facts, log entries and kept channel messages by their words. With an Embed model they also find them by meaning, so Can we ship at the end of the week? finds Deploys freeze on Fridays. The Embed model panel sits below Model roles.
- Under Model server, pick one of your saved endpoints. It must serve OpenAI-compatible embeddings (
POST /embeddings): Gemini, OpenAI, Ollama, vLLM and LiteLLM do. Anthropic servers are listed with Anthropic has no embeddings API and cannot be picked. - Type the Embedding model, for example
gemini-embedding-001(offered for a Gemini server) ortext-embedding-3-small. Choose Save embed model. - Choose Check. The portal embeds two short texts and reads how many numbers come back. Fewer than 1,536 are padded; more are cut only for a model trained for that (
gemini-embedding-001,text-embedding-3-small,text-embedding-3-large,nomic-embed-text), otherwise the check fails and says so.
Once the check passes the panel says Meaning search is on, with the model and, while the background work catches up, Embedding N of M items by kind and how many were too short to embed (fewer than four words, or only "ok", "thanks" and the like). New items are embedded within a minute or so; until an item is done, words still find it.
With meaning search on, each kept message, log entry and fact is sent to this server when it is stored, including what is already kept. A channel that starts being kept after you set the Embed model says so in its start notice; channels already being kept are not told again, and their line on Connections › Channels adds sent to the server's host for search. Setting, changing and clearing the Embed model are in the audit log.
- Changing the model re-embeds everything in the background; until then words find the rest.
- Clearing it (pick None — search by words only) stops all embedding at once. The vectors are kept for seven days, so picking the same model again within a week uses them as they are; after that they are deleted. Removing the endpoint clears it too.
- The switch.
memory.embedturns it off for an organisation without touching the setting (see Feature switches). The panel then says Meaning search is turned off for this organisation (feature key).
Change or remove an endpoint
- Below the table, open Edit and the endpoint's name (the name in the table links to it).
- Change any field and choose Save. The test runs again.
- To remove it, choose Remove.
The portal refuses to remove an endpoint while an agent uses it, saying which: used by agent and the agent's name. Pick another model on those agents first. If the endpoint is only the organisation's default, removing it also clears the default, and the page says Removed and its name, and that agents now use this portal's model. A Strong role that used the endpoint goes back to Same as each agent's model, a Fast role to Each agent's own model (checks cost more).
This portal's own model
A portal can come with a model of its own, set up by whoever runs it. When yours has one, a section shows its model id, its max tokens and its context window, and admins can choose Check now to test it. You cannot change this model, only use your own instead: Add a model endpoint in that section fills the add form from it.
How it works
- Prompt size. Every request is measured before it is sent. On most servers it is checked against a prompt budget set by whoever runs the portal (see Configuration). On Anthropic's API, the first request of each piece of work is counted in tokens against the model's context window. A request over the limit is not sent; the work stops and says to give it less (shorter instructions, fewer agents or repositories) or to use a model with a larger context.
- Long chats. A chat summarises its older messages once it reaches 70% of the model's context window, so it can keep going. See Chat in the portal.
- Fallback. Each agent can also have a fallback model, used once for a call its own model fails for a provider reason. See Agent settings.
- Usage. Every model call is counted per agent and per job. See Usage.
What you can and can't do
- Add as many endpoints as you like, from different providers.
- Give one agent its own model and leave the rest on the default.
- Send planning, summaries and other side work to cheaper or stronger models with the roles.
- Read every endpoint and its test result as a member or viewer.
- Add, change, test or remove endpoints, or choose the default or the roles, unless you are an admin.
- See a saved API key again.
- Remove an endpoint an agent still uses.
- Change this portal's own model.
Troubleshooting
- The provider turned the API key away. Check the key.
- The server refused the key. Paste a fresh key, save, and test again.
- Nothing answered at that address. Check the Base URL.
- The address is wrong or the server is down. Check the base URL, including the path your provider needs (often ending in
/v1). - The provider does not know that model name.
- Correct the Model id to the exact id your provider lists.
- It took too long to answer.
- Try again, or raise Timeout (seconds) under Advanced.
- That address is private or inside this portal's own network. Use a public https address, or the Entropix team needs to allow it.
- The portal does not call private or local addresses, such as the Ollama (local) preset's
localhost, unless whoever runs it allows that network. Use a publichttpsaddress, or ask them to allow it. - a model endpoint named "…" already exists
- Names are unique. Pick another, or edit the existing endpoint.
- base URL must be http(s) with no credentials, query or fragment
- Remove any
user:password@,?…or#…from the address. Put the key in API key. - Answers come back cut off
- Raise Max tokens, or set Reasoning effort to none.