People search for the best open source LLM as if one model wins every job. It does not. A 70 billion parameter model that leads a chat benchmark is a poor default on an 8 GB VPS, and a tiny model that replies in a second can fall apart when OpenClaw asks it to call a tool.
OpenClaw is self-hosted. The model is a config line, not a subscription. Point it at Ollama or at an API that serves open weights. Memory, skills, and chat channels stay when the model changes.
What "Best" Should Mean
Use four checks, in this order.
License. Results mix OSI open source with custom open-weight terms. Mistral 7B, Mixtral, and several Qwen and Phi releases use Apache 2.0 or MIT. Llama and Gemma use their own licenses. A private assistant is usually fine. If you will ship a product, read the model card first.
Size you can run. A Q4 7B or 8B model needs about 5 to 6 GB. A 14B model wants about 10 GB. A 32B model wants about 20 GB. A 70B model wants 40 GB or more, or a hosted endpoint. The local LLM hardware guide has the memory math.
Instruction following. OpenClaw reads files and runs tools. Fluent prose that ignores tool format feels broken. Test one real task before you change the daily config.
Context. Many 2026 models advertise 32k to 128k tokens. If long chats get vague, shorten the window or move that job to a larger model.
Open Source LLM Models Worth Shortlisting
These families cover most serious local setups in 2026. Pick the family, then the size that fits your RAM. See also the best local LLM roundup and private LLM models.
- Llama. The name most people mean by best open source LLM. Llama 3.1 8B is the small general pick. Llama 3.3 70B is the quality pick if you have the memory or a hosted endpoint. The license is custom, not Apache.
- Qwen. Often the better agent model at a given size. Qwen 2.5 at 7B, 14B, and 32B is strong on tools, multilingual text, and code, and many weights use Apache 2.0.
- Mistral. Mistral 7B and Mixtral stay fast under Apache 2.0. Newer releases vary, so check the card.
- Gemma and Phi. Gemma 2 9B is an efficient small alternative. Phi models do well on short reasoning, and several use MIT.
- DeepSeek. Distilled R1-style models help with planning, math, and hard code. They spend extra tokens thinking, so keep them off everyday chat.
For code, a coder-tuned model usually beats a general chat model of the same size. See best local LLM for coding.
Best LLM for OpenClaw
The best LLM for OpenClaw is the smallest model that finishes your real tasks without babysitting. A public leaderboard is a weak proxy.
On a modest always-on VPS, use a 7B to 14B model through Ollama. Qwen 2.5 14B is a strong default around 16 GB of RAM with no separate GPU. Llama 3.1 8B is the safer default closer to 8 GB. Both stay quick enough for Telegram.
Step up for coding, tool-heavy work, and long documents. A 32B model on a 24 GB GPU, or a 70B model on a larger host or API, is the quality tier. The multi-model setup can keep a cheap local model for routine chat and a larger model for hard tasks. If you are still choosing local versus API, read the self-hosted LLM guide and what LLM OpenClaw uses.
Best Open Source LLM for OpenClaw, by Job
Match the model to the job when you choose the best open source LLM for OpenClaw.
- Daily chat and short rewrites: a 7B or 8B model. Latency and cost matter most.
- Summaries and long notes: a 14B or 32B model with a real context window.
- Coding and refactors: a coder model in a size you can actually run.
- Planning and hard reasoning: a reasoning model, used on purpose, not as the default for every ping.
- Data that must stay on your machine: any of the above, run locally. A private LLM stays private only if weights and prompts stay on hardware you control.
Best Open Source LLM 2026, by Hardware
This map assumes Q4 quantization, the right default until you have memory to spare. It is the short version of the best open source LLM 2026 choice.
- 8 GB RAM, CPU only: Llama 3.1 8B, Qwen 2.5 7B, or a small Phi or Gemma. Keep context modest.
- 16 GB RAM: Qwen 2.5 14B or a similar 14B model. The sweet spot for a personal OpenClaw server.
- 24 GB GPU: a 32B model you run yourself.
- 48 GB, or a hosted GPU: Llama 3.3 70B or Qwen 2.5 72B, when quality matters more than wait time.
A phone is the wrong place for the larger models. Run the model on a server and reach it through OpenClaw. On-device inference is a separate problem, covered in run local AI.
Cheapest LLM for OpenClaw
Local weights are the cheapest LLM for OpenClaw once the server is paid for. Extra chats do not add an API line. A 7B model on a small VPS is often the lowest monthly total. See cost per month for where that spend goes.
Hosted open-weight APIs are the cheap path with no GPU. Prices move, so compare the current rate per million tokens. Keep small models on the everyday path and 70B or reasoning models on the hard path only. A free model that fails tool calls still costs you time.
How to Point OpenClaw at the Model
With Ollama on the same machine, the config is a model string:
model: ollama/qwen2.5:14b
# smaller default:
model: ollama/llama3.1
Restart after the change. Memory and skills stay. If the new model rambles, ignores tools, or cuts off long notes, switch back. Give two candidates the same task, a file read plus a short tool call, and keep the one that finishes cleanly.
For most installs in 2026, start with a 7B to 14B Qwen or Llama model through Ollama. Move to 32B or 70B only when a real task fails at the smaller size. The model is a replaceable part.
Run the Model You Choose, on a Server You Control
Install OpenClaw on a VPS, connect Ollama or an API key, and talk to it from Telegram. Swap models later without rebuilding the assistant.
Install OpenClaw Free