Choosing a model
You don't have to choose. Once your agent is connected, its self-test tries the open-weights models that fit your GPU, scores each on real Keikaku work, and recommends the best one for each kind of work. This page explains what it considers, in case you want to know or pick differently.
Let the agent choose
When you create an agent, the model you pick is only a starting point. Open the agent in Keikaku and click Start self-test under Model setup. In variable mode the agent uses the best model for each kind of work (chat, planning, coding, testing) and switches between them as it goes; in locked mode it does one kind of work with one model. Either way the recommendation is pre-selected, and you can choose another from the results.
What it considers, by VRAM
The self-test shortlists models from the Keikaku catalog that can fit your GPU, plus any catalog model you already have installed. Typical shortlists:
| GPU VRAM | Models it will usually test |
|---|---|
| 8 GB | qwen2.5-coder:7b, granite4.1:8b |
| 16 GB | gpt-oss:20b, devstral:24b, qwen2.5-coder:7b |
| 24 GB | qwen3-coder:30b, north-mini-code-1.0, qwen3.6:35b-a3b |
| 48 GB and up | qwen3-coder-next, gpt-oss:120b, qwen3-coder:30b |
Whether a model really fits is measured, not assumed: a model that spills from the GPU onto the CPU is flagged as a poor fit, because it will be slow. The minimum useful speed is 10 tokens per second for chat and 4–5 for planning, coding and testing.
How models get pulled and cleaned up
The agent downloads any model it needs through your local Ollama — during the self-test, or the first time it switches to a model. Models the self-test downloaded but didn't end up using are deleted again afterwards. Models you installed yourself are never deleted. You can also pull ahead of time:
ollama pull gpt-oss:20b
No GPU? CPU fallback
Ollama runs on CPU if there's no GPU — fine for trying Keikaku out, but much slower. On
CPU the self-test will usually only find small models fast enough
(qwen2.5-coder:7b and smaller). For real throughput, use a GPU.
Hosted models (optional)
Keikaku runs entirely on open-weights models on your own hardware — nothing has to leave your network. If you prefer, you can also connect an agent to a hosted model with your own API key, stored as a project secret in Keikaku and never baked into the agent. That sends prompts to the provider, and it's never required.