A FREE profile: run Braid on free model APIs, routing between them as each hits its limit and handing the work off to the next #164
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Braid needs either a local GPU (trogdor) or a paid API key (the Claude API, #155). Someone with neither cannot try it. Several providers offer free tiers of capable models, but each is narrow: a few requests a minute, a daily token or request cap, a smaller context window. No one of them can carry a whole run. Together they might.
This issue is to investigate a FREE profile: one backend profile (#161) that is really a router over a list of free providers. It uses one until it is throttled or exhausted, then hands the work off to the next and carries on, so a run can finish on free capacity alone.
Questions the investigation answers
Candidates to check, not a list to adopt: Google's Gemini API free tier, Groq, Cerebras, Mistral, OpenRouter's free models, GitHub Models, Cloudflare Workers AI, Hugging Face inference.
_model_spec), and a run's opencode config can declare several providers.Done when
The investigation reports which free providers can run Braid's steps, with their measured limits and terms. It recommends a design (between-step only, or mid-step handoff too) with its known costs. It is backed by one real run that finished on free providers alone, or by evidence of why that is not yet possible. The design then gets its own OpenSpec change.
Archived in OpenSpec as
free-profile(5a953a0). Shipped across 2026-10-17/18 (productionc1228b4): the Free profile with a GoModel router, ten providers (NVIDIA opt-in, Alibaba opt-in, Cloudflare, Cohere direct, Gemini, OpenRouter, Z.ai, Inception, OVH, Kilo, Zen), tiers and chains from probes, quota ledger and parking, and the top bar (#194). Task 13.2 is recorded from production runs 76, 77 and 78 on free providers alone: 76 failed on a dry chain (fixed, #196), 77 was stopped for #201, 78 completed apply groups 1-4 and 6 with steps pausing on spent quota, refused sessions moving (#200) and stalled models put behind (#195), and could not finish mainly because of #202. What is left is #205. Closing.