Models
Makker treats models as opaque provider:model strings resolved by
LangChain's init_chat_model. Adding a new model is configuration, not a
code change.
Selection
Precedence, highest first: the --model flag, the workspace config, the
user config, $MAKKER_MODEL, the built-in default. A resumed session runs
the model it last ran.
In the web UI the current model is shown under the message box, beside the
context ring. Its menu lists your pinned and recent models, the three newest
models of each provider you have a key for, and your installed local models.
More models… searches everything, pins a model to the top of the menu,
and takes any provider:model typed in; API keys… sets a provider's key. /model opens the same menu, and
/model provider:model switches directly. In the terminal, /model opens the
same short list, and typing searches everything.
A switch keeps the conversation (see context handling) and is saved for the workspace, so the next session there starts on it.
Settings
Each model can be set to run differently, with only the settings it supports:
- Effort: how hard a reasoning model thinks, from the levels the model offers (the provider data lists them for cloud models; Ollama reports them for local ones). Unset, a model runs at its own default, and OpenAI models at medium.
- Context size: for a local model, the context it is loaded with; each size is listed with the memory it takes on this machine and whether it still fits on the GPU. Unset, it is sized automatically (see local models). For a hosted model, a smaller size caps the window Makker compacts against (nothing is sent to the provider), for a cheaper session or to see compaction sooner. Any size from 16K up to the model's maximum can be typed in.
- Output length: the most the model may write in one reply, its reasoning
included. Left alone, a model may write up to its maximum (Anthropic models,
which need a limit, get 24K). Raise it if long replies are cut off, or lower it
to cap them. On a small context it is at most a quarter of the window, so the
conversation keeps room to work in. It is set in the config file only (
outputunder the model, see configuration).
Settings are saved per model in the user config and apply in every workspace.
A change applies to the running session from its next turn. In the web UI the
effort shows after the model's name, and the model menu ends with a row for
the effort and one for the context size; a click opens the choices beside the
menu. In the terminal, /effort lists the levels and /effort <level> sets
one.
Providers beyond the bundled six work once their LangChain package is
installed, and Makker names the exact package when it is missing.
API keys are prompted for on first use and stored in the user-global .env
(configuration).
OpenRouter
OpenRouter is included. Save an API key and start the web UI:
makker key openrouter
makker
Then use /model to choose an OpenRouter model.
Azure OpenAI
An Azure OpenAI model ID names a deployment, azure_openai:<deployment>,
because Azure routes requests by deployment. Set the resource's endpoint and
API version, in the environment or the user-global .env, then save its key
and pick a deployment:
export AZURE_OPENAI_ENDPOINT=https://<resource>.openai.azure.com/
export OPENAI_API_VERSION=<api-version>
makker key azure_openai
makker web --model azure_openai:<deployment>
To offer deployments in /model, name one in AZURE_OPENAI_DEPLOYMENT, or
several, comma-separated, in AZURE_OPENAI_DEPLOYMENTS.
Whoever deploys a model names the deployment, so no bundled profile knows it.
Makker reads the profile of the OpenAI model behind it, by name:
gpt-5.5 as it is, and gpt-5.5-prod with the trailing -prod dropped. A
reasoning model then gets the OpenAI settings below, over the Responses API,
which needs an API version recent enough to have it. A deployment whose name
matches no OpenAI model runs without requested reasoning, and its context
window is unknown.
Your own model server
Any server that speaks OpenAI's chat completions API (an institution's model
gateway, vLLM, SGLang, llama.cpp, LM Studio, or a hosted service such as Groq
or Together) can be added without a code change, from the model menu's
Add a provider… or in providers.toml in the data folder. Its models are
then <name>:<model>, and makker doctor --model <name>:<model> checks that
the server answers, takes the key and serves the model. See
your own model server.
What the harness asks of a model
The agent is tool-driven: every Julia evaluation, file edit, and plot is a tool call, often ten or more per task. Models therefore need solid tool calling, and weaker models fail in characteristic ways: skipping tools and answering from memory, or calling a tool with malformed arguments. The bench's trajectory scorers exist to catch exactly this, and the canary suite is the quick way to qualify a new model (evaluation).
Reasoning
Models that can reason get it requested explicitly, because the provider
defaults hide it or skip it: recent OpenAI reasoning models default to
effort none (they do not reason at all), and Anthropic's extended
thinking is off without a budget. The builder asks the model's bundled
profile (BaseChatModel.profile) whether it reasons and then enables, per
provider:
- OpenAI:
reasoning={"effort": "medium", "summary": "auto"}, or the effort chosen in the settings. The model reasons when a task warrants it and the summary streams into the status line while it thinks. The-chathybrids, which reject the effort parameter, are excluded by the same profile data (they keep temperature support; true reasoning models do not). - Anthropic: extended thinking with a 10k-token budget (output capped at 24k so thinking leaves room for the answer). The thinking text streams into the same card.
- Gemini:
include_thoughts=True. These models think by default (levelhighon Gemini 3+), so the only thing to add is visibility. A Gemini model with no profile entry is treated as thinking, since every model newer than the bundled data thinks; the legacy non-thinking ones are marked explicitly in the data. - OpenRouter: models whose bundled profile supports reasoning receive
reasoning={"effort": "medium", "summary": "auto"}through the dedicated integration, which preserves reasoning across tool calls. - Ollama: think mode is requested explicitly for models the daemon reports as thinking-capable. Left at the daemon default, the thinking segment is dropped on the client side, and a turn the model spends entirely on thinking then surfaces as an empty reply with no tool calls, and the agent falls silent. Requested, the thinking is separated and visible.
Because the capability check is profile data shipped with the provider packages, new models are covered by upgrading the package, and there is no model list to maintain here. A model whose profile is missing (or a session without the provider key at build time) falls back to the plain spec string and simply runs without visible reasoning. Reasoning shows only when the model actually reasons: trivial prompts legitimately produce none.
The same profile data supplies the context window for /context and the
auto-compaction trigger, read without building the model; Gemini models
missing from the data ask the Gemini API for their limit instead. A model no
source knows is assumed to have 200K tokens (see
Context).
Local models (Ollama)
Local models run through Ollama with no key. What the harness handles for you:
- Capability gating: the selector checks that a model supports tool calling before offering it, and can pull a model that is not installed yet. An outdated Ollama can mis-parse a new model's template and lose tool support, so keep Ollama itself current.
- Context sizing: a local model is loaded with the largest context, up to
its maximum, that Ollama keeps entirely on the GPU. Memory per token
differs widely between models, so this is measured, not estimated: the
first time a model is used on a machine, Makker loads it at its maximum
and, only if that spills to the CPU, a few more times to narrow it down
(seconds per load). A model that spills even at 32K tokens is loaded at
32K, partly on the CPU, since the agent's own prompt needs that much. A
model whose Modelfile sets
num_ctx(such as a-64kvariant) is loaded at that size instead. Hosted:cloudmodels run at their full window. - Memory per size: the context sizes in the model's settings
show what the model takes at each, read from Ollama after loading it at
that size (the first time you open them), and whether it still fits on the
GPU; nothing is estimated. Every measurement is remembered per machine,
Ollama version and model version in
ollama-context.jsonin the state home, so an Ollama upgrade or a new version of the model is measured again; delete the file to measure again yourself. - Malformed tool calls: a weaker model occasionally serializes a tool call with unparseable arguments (e.g. two parallel calls merged into one). Such a reply would otherwise end the turn silently; instead the parse error is fed back and the model retries (see turns). Parallel calls themselves are normal and kept.
Expect local models to be noticeably weaker at multi-step tool use than the hosted ones. They are best for cheap iteration and offline work, with the bench as the honest comparison.
Models in the bench
makker eval takes model ids as the app writes them or in Inspect's
provider/model form, and one run can matrix several models. The agent under
test runs on the model as a session builds it, with a new user's settings, so
the bench measures what users get. See evaluation.