From 1cb49099014ac538f44acc281b568f9d599f2991 Mon Sep 17 00:00:00 2001
From: Duarte Santos
Date: Mon, 31 Aug 2026 08:46:09 +0200
Subject: [PATCH] Coach-Doku: ehrliche Warm-Zeiten (eine bis wenige Minuten, je
nach CPU)
Gemessen auf der Staging-VM (~12 Prompt-Tokens/s): Review mit frischer Payload 222 s warm;
'etwa eine Minute' gilt erst auf moderner Hardware.
---
.env.example | 3 ++-
docs/AI_COACH.md | 4 +++-
website/docs.html | 3 ++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.env.example b/.env.example
index bc16929..ed16451 100644
--- a/.env.example
+++ b/.env.example
@@ -150,7 +150,8 @@ RP_NAME=openGym
# COACH_JOB_TIMEOUT_MS gives a job longer than the default five minutes. Only a
# local model on a CPU needs it — and normally only for the first request after
# the model server restarts (the api pre-warms the rules cache after that; a
-# warm review on a 3B model takes about a minute). A hosted API that needs
+# warm review on a 3B model takes one to a few minutes, depending on the CPU).
+# A hosted API that needs
# more has a problem. Never goes below one minute.
#
# COACH_JOB_TIMEOUT_MS=1500000
diff --git a/docs/AI_COACH.md b/docs/AI_COACH.md
index eb0c106..52f428b 100644
--- a/docs/AI_COACH.md
+++ b/docs/AI_COACH.md
@@ -259,7 +259,9 @@ is a bad way to find that out.
A job is given five minutes by default, which is generous for any hosted API. A model running
on a CPU behind the compatible endpoint can need more — with a warm cache a 3B model answers
-in about a minute, but the first job after the model loads pays the full prompt once — so
+in one to a few minutes depending on the CPU (an old 4-core box manages ~12 prompt tokens/s;
+a modern one several times that), but the first job after the model loads pays the full
+prompt once — so
`COACH_JOB_TIMEOUT_MS` in `.env` raises the budget (never below one minute); the api's own
HTTP client waits as long as the job, and the chat says "this can take a while" rather than
promising minutes when the endpoint is a local one. The phone's BYOK mode does the same on
diff --git a/website/docs.html b/website/docs.html
index 2791c92..524e113 100644
--- a/website/docs.html
+++ b/website/docs.html
@@ -199,7 +199,8 @@ docker compose up -d
Honest sizing, from measuring exactly this on a small box:
- A ~3B model at Q4 (like
qwen2.5:3b) fits a 4–6 GB container and
- answers a review in about a minute on a 4-core CPU once its cache is warm.
+ answers a review in one to a few minutes once its cache is warm — a modern 4-core
+ CPU sits at the fast end, an old low-power box at the slow one.
- A 4B model needs ~6 GB+ for its container. Squeezed into less, it doesn't
fail — it thrashes, generating at ~1 token/second. Smaller and comfortable beats bigger
and swapping.