Best Local LLMs for Open Claude Code
Open-source Claude Code CLI reimplementation, with an undocumented endpoint override for local models
Open Claude Code (by ruvnet) is a fully open-source reimplementation of Anthropic's Claude Code CLI, built from the same architecture, with 25 tools, MCP transports, and permission modes. Its documented provider support covers 5 cloud vendor APIs (Anthropic, OpenAI, Google, AWS Bedrock, Vertex), each needing a paid vendor key; the project's README makes no mention of Ollama, llama.cpp, or local models. It does expose a configurable OPENAI_BASE_URL (default https://api.openai.com/v1, described in its config as an "OpenAI-compatible base URL"), an undocumented setting that in practice can be repointed at a local OpenAI-compatible server. Because this is a community workaround rather than an officially supported feature, reliability is not guaranteed. If you get it working, the model requirements mirror Claude Code's agentic, tool-call-heavy loop: tool-calling reliability above all.
