Date: 2026-01-12 Status: accepted Decision Makers: Project Team Master ADR: ADR-000
In the context of running many LLM inference calls for training and experimentation, facing the choice between cloud APIs (OpenAI, Anthropic, OpenRouter) and local inference,
We decided for LM Studio as the primary LLM provider with OpenAI-compatible API, and neglected cloud-first approaches and Ollama integration,
To achieve unlimited experimentation without API costs, faster iteration cycles, and full control over model selection, accepting that users must download and run LM Studio, initial setup is more complex, and hardware requirements are higher.
"In the context of running many LLM calls for training, facing the choice between cloud and local, we decided for LM Studio, and neglected cloud APIs, to achieve unlimited experimentation without costs, accepting that setup is more complex."
- Cost: Training runs may require hundreds of LLM calls; cloud APIs would be prohibitively expensive
- Speed: Local inference avoids network latency and rate limits
- Control: Full control over model selection, quantization, and parameters
- Privacy: All data stays local
- Compatibility: LM Studio's OpenAI-compatible API enables easy migration if needed
| Option | Pros | Cons |
|---|---|---|
| OpenAI API | Best models, simple setup | Expensive for training, rate limits |
| Anthropic API | Strong reasoning | Even more expensive |
| Ollama | Simpler setup | Less model variety, no streaming reasoning |
| LM Studio | Full control, free | Higher setup complexity |
| Type | ADR | Description |
|---|---|---|
| Part Of | ADR-000 | Technology choice |
| Supports | ADR-001 | Enables pure LLM approach |
| Relates To | ADR-003 | Experiences stored in memory |
| Spec | Section | Relationship |
|---|---|---|
| Spec 11: LLM Sudoku Player | LMStudioClient | LM Studio integration |
| Spec 13: LLM Profile Management | Full spec | Profile management |
- Evidence gathered
- Agreement reached
- Documentation complete
- Review completed
- Dependencies mapped
- References linked
- Master ADR updated
| Date | Change | Author |
|---|---|---|
| 2026-01-12 | Added dependencies and Master ADR | Project Team |
| 2026-01-12 | Initial version | Project Team |