Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs: recommend small models (Haiku/mini) for OAuth/subscription LLM backends

AkitaOnRails305f4ab276d9
diff --git a/README.md b/README.md
index 2913cb52..19ea0a05 100644
--- a/README.md
+++ b/README.md
@@ -339,6 +339,14 @@ short-lived Copilot API token via GitHub's `/copilot_internal/v2/token`, and
uses the Copilot Chat endpoint with `vscode-chat` integration headers. You can
also set `COPILOT_GITHUB_TOKEN`, `GH_TOKEN`, or `GITHUB_TOKEN` on the server.
+> [!TIP]
+> **For the OAuth/subscription backends (`anthropic-oauth`, `openai-oauth`,
+> `copilot`), pick a small, fast model** via `AI_MEMORY_LLM_MODEL` — e.g.
+> `claude-haiku-4-5` or `gpt-5-mini`. ai-memory's LLM work (consolidation,
+> lint, explore) is summarisation, not hard reasoning, so a Haiku/mini-class
+> model is plenty and is much easier on subscription rate limits. Save the
+> high-effort thinking models for your coding agent.
+
Embeddings are optional and separate from the LLM provider. Set
`AI_MEMORY_EMBEDDING_PROVIDER=openai`, `voyage`, `google`, or `gemini` when
you want vector reranking in addition to FTS5 + graph-neighbor retrieval.
diff --git a/docs/install.md b/docs/install.md
index 4446c194..b3282fe4 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -699,6 +699,14 @@ docker run -d --name ai-memory \
Both `ANTHROPIC_OAUTH_TOKEN` and `CLAUDE_CODE_OAUTH_TOKEN` are accepted;
ai-memory checks `ANTHROPIC_OAUTH_TOKEN` first.
+> [!TIP]
+> **Pick a small, fast model.** ai-memory's LLM work — session
+> consolidation, lint, and explore — is summarisation/extraction, not hard
+> reasoning, so a Haiku-class model is plenty: faster, cheaper, and far easier
+> on subscription rate limits than Sonnet/Opus. Set e.g.
+> `AI_MEMORY_LLM_MODEL=claude-haiku-4-5`. Save the high-effort thinking models
+> for your actual coding agent.
+
### OpenAI OAuth / Codex
`openai-oauth` is for ChatGPT Pro/Plus/Codex accounts. It does **not** use
@@ -727,6 +735,14 @@ docker exec -it ai-memory ai-memory auth login openai-oauth
Use `ai-memory auth status` to check whether a token is present and
`ai-memory auth logout openai-oauth` to remove it.
+> [!TIP]
+> **Pick a small, fast model.** Consolidation / lint / explore are
+> summarisation tasks, not hard reasoning — a mini-class model is plenty and
+> is much easier on subscription rate limits. Set e.g.
+> `AI_MEMORY_LLM_MODEL=gpt-5-mini` (the `gpt-5.5` default works but is
+> overkill for this workload). Reserve the high-effort reasoning models for
+> your coding agent.
+
### GitHub Copilot
`copilot` uses a GitHub user token, then exchanges it for a short-lived Copilot