Local LLMs with OpenClaw: Ollama, Llama 3.3, Qwen 3.5 & MiniMax M2.5 – A Practical Benchmark

    Local LLMs with OpenClaw: Ollama, Llama 3.3, Qwen 3.5 & MiniMax M2.5 – A Practical Benchmark

    28. Februar 20266 min read
    Till Freitag

    TL;DR:Local LLMs with OpenClaw are production-ready in 2026. Llama 3.3 is the all-rounder, Qwen 3.5 the efficiency champion, MiniMax M2.5 the coding beast. All run via Ollama – no cloud, no cost, no privacy trade-offs."

    Till Freitag

    Why Local LLMs?

    Cloud APIs are convenient – but they come with three problems:

    1. Cost: GPT-4o costs ~$15 per million output tokens. With heavy agent use, $300–700/month is realistic.
    2. Privacy: Every API call sends data to US servers. GDPR-compliant? Only with a data processing agreement and risk assessment.
    3. Dependency: API down? Rate limit reached? Your agent stops working.

    Local LLMs solve all three problems. And in 2026, they're finally good enough for production use.

    30-second version: Install Ollama, pull a model, connect OpenClaw – done. No API key, no per-token cost, no data shared with third parties.

    The Candidates

    We tested four models suitable for local use with OpenClaw:

    ModelProviderParametersActive ParamsContextArchitecture
    Llama 3.3Meta70B70B128KDense
    Qwen 3.5 27BAlibaba27B27B256KDense
    Qwen 3.5 35B-A3BAlibaba35B3B256KMoE
    MiniMax M2.5MiniMax230B10B200KMoE

    What Does MoE Mean?

    Mixture of Experts (MoE) is the secret behind the new models: although the model has 230B parameters, only 10B are activated per token. The result: GPT-4-level quality at a fraction of the compute.

    Installation via Ollama

    All models can be downloaded with a single command:

    # Install Ollama (if not already installed)
    curl -fsSL https://ollama.com/install.sh | sh
    
    # Pull models
    ollama pull llama3.3           # 40 GB – needs 48 GB RAM
    ollama pull qwen3.5:27b        # 16 GB – runs on 22 GB RAM
    ollama pull qwen3.5:35b        # 20 GB – only 3B active (MoE)
    ollama pull minimax-m2.5       # 101 GB (3-bit) – needs 128 GB RAM

    Connect to OpenClaw

    openclaw config set models.providers.ollama.apiKey "ollama-local"
    openclaw config set agents.defaults.model.primary "ollama/qwen3.5:27b"

    Performance Benchmarks

    Tested on Apple M3 Max (128 GB RAM) and NVIDIA RTX 4090 (24 GB VRAM):

    Speed (Tokens/Second)

    ModelM3 Max (128 GB)RTX 4090 (24 GB)Notes
    Llama 3.3 70B~18 t/s~25 t/sNeeds a lot of RAM
    Qwen 3.5 27B~35 t/s~55 t/sBest speed/quality trade-off
    Qwen 3.5 35B-A3B~60 t/s~80 t/sMoE turbo: only 3B active
    MiniMax M2.5~15 t/sNot possible*Needs >24 GB VRAM

    *MiniMax M2.5 requires at least 64 GB RAM or a multi-GPU setup.

    Quality (Benchmarks)

    ModelMMLU-ProHumanEvalSWE-BenchAgentic Use
    Llama 3.3 70B68.982.5★★★★☆
    Qwen 3.5 27B71.285.1★★★★☆
    Qwen 3.5 35B-A3B69.583.8★★★★☆
    MiniMax M2.574.189.380.2%★★★★★

    Result: Qwen 3.5 27B offers the best trade-off between speed, quality, and resource consumption. MiniMax M2.5 is the strongest model but requires significantly more hardware.

    Cost Comparison: Cloud vs. Local

    Cloud Costs (per month, estimated at 50M tokens)

    ProviderModelInputOutputTotal/Month
    OpenAIGPT-4o$2.50/1M$10/1M~$300
    AnthropicClaude 3.5 Sonnet$3/1M$15/1M~$400
    OpenAIGPT-4o mini$0.15/1M$0.60/1M~$20

    Local Costs (one-time + electricity)

    SetupHardwareOne-timeElectricity/MonthBreak-Even
    Mac mini M4 Pro48 GB RAM~$2,400~$157–8 months
    Mac Studio M3 Max128 GB RAM~$4,900~$2512–15 months
    Linux Server + RTX 409064 GB RAM~$3,200~$408–10 months
    Raspberry Pi 58 GB RAM~$130~$51 month

    Bottom line: After ~8 months, self-hosting is cheaper than any cloud API. With heavy usage (>100M tokens/month), break-even drops to 3–4 months.

    Offline Scenarios

    Local LLMs have one decisive advantage no cloud can offer: They work without internet.

    When Is Offline Relevant?

    • On the road: On trains, planes, construction sites – anywhere without stable internet
    • Air-gapped environments: Security-critical infrastructure (government, military, healthcare)
    • Edge deployments: IoT gateways, factory floors, remote offices
    • Resilience: When the cloud API goes down, your agent keeps running
    # Compact model for offline use on modest hardware
    ollama pull qwen3.5:35b    # MoE: only 3B active, runs on 22 GB RAM
    
    # For Raspberry Pi / edge devices
    ollama pull phi-3:mini      # 3.8B parameters, 4 GB RAM

    OpenClaw Offline Config

    {
      "agents": {
        "defaults": {
          "model": {
            "primary": "ollama/qwen3.5:35b",
            "fallbacks": ["ollama/phi-3:mini"]
          }
        }
      },
      "network": {
        "offline_mode": true,
        "web_search": false
      }
    }

    Which Model for Which Use Case?

    Use CaseRecommended ModelWhy
    Email triageQwen 3.5 27BFast, 256K context for long threads
    Code analysisMiniMax M2.5SWE-Bench 80.2%, best coding model
    Quick responsesQwen 3.5 35B-A3BMoE: 60+ t/s on Apple Silicon
    SummarizationLlama 3.3 70BSolid quality, broad language understanding
    Offline / edgeQwen 3.5 35B-A3BMoE + 256K context at low resource use
    Raspberry PiPhi-3 MiniOnly model under 4 GB RAM

    Qwen 3.5: The Newcomer in Detail

    Alibaba's Qwen 3.5 deserves special attention. The model family brings several firsts in 2026:

    • 256K context: Twice as much as Llama 3.3 – ideal for long email threads or document analysis
    • 201 languages: A true multilingual model, perfect for international teams
    • Multimodal: The 27B and 122B variants can also process images
    • Thinking mode: Built-in chain-of-thought reasoning, toggleable per parameter
    • MoE variants: 35B-A3B activates only 3B parameters – runs on a MacBook Air
    # Enable thinking mode (for complex tasks)
    ollama run qwen3.5:27b --thinking

    MiniMax M2.5: The Coding Beast

    MiniMax M2.5 from Shanghai took the AI community by surprise:

    • SWE-Bench Verified: 80.2% – on par with Claude Opus 4.6
    • 230B parameters, 10B active: MoE architecture for efficiency
    • Agentic design: Natively optimized for tool calling and search
    • 200K context: Enough for complete codebases

    The catch: You need at least 64 GB RAM (ideally 128 GB) for the 3-bit quantized model. But if you have the hardware, you get a model that competes with the best cloud APIs – at zero cost.

    # MiniMax M2.5 via Ollama (needs a lot of RAM!)
    ollama pull minimax-m2.5
    openclaw config set agents.defaults.model.primary "ollama/minimax-m2.5"

    Hybrid Strategy: Best of Both Worlds

    Our recommendation for productive teams:

    TaskModelLocal/Cloud
    Email & customer dataQwen 3.5 27B🏠 Local
    Code reviewsMiniMax M2.5🏠 Local
    Quick routine tasksQwen 3.5 35B-A3B🏠 Local
    Complex analysis (non-sensitive)Claude 3.5 Sonnet☁️ Cloud
    Image generationDALL-E 3 / Flux☁️ Cloud

    Rule of thumb: Personal data → always local. Everything else → based on budget and quality requirements.

    Conclusion

    Local LLMs are no longer a compromise in 2026 – they're a strategic decision. With Qwen 3.5 as the efficiency champion, MiniMax M2.5 as the coding powerhouse, and Llama 3.3 as the proven all-rounder, there's a model for every use case.

    Combined with OpenClaw and Ollama, you get an AI agent stack that:

    • Costs nothing (after hardware amortization)
    • Works offline
    • Is GDPR-compliant (no data shared with third parties)
    • Matches cloud APIs in many scenarios

    Break-even is at 3–8 months. After that, every token is free.


    Want to run local LLMs with OpenClaw in production? Talk to us – we help with hardware recommendations, setup, and model selection.

    More on this topic: What is OpenClaw? · OpenClaw Self-Hosting Guide · NanoClaw: The lean successor

    TeilenLinkedInWhatsAppE-Mail

    Related Articles

    OpenClaw Self-Hosting Guide: GDPR-Compliant in 30 Minutes
    February 28, 20264 min

    OpenClaw Self-Hosting Guide: GDPR-Compliant in 30 Minutes

    Self-host OpenClaw with Docker, persistent storage, and local LLMs via Ollama – fully GDPR-compliant because no data eve

    Read more
    OpenClaw audit: an inventory of promises that held – and the ones that fizzled
    June 8, 20264 min

    The OpenClaw Audit 2026: What's Left of All the Promises?

    OpenClaw was the hot thing in 2024, a LinkedIn religion in 2025, and supposedly dead in 2026. An honest audit: what held

    Read more
    OpenClaw audit: inventory of promises kept – and promises that fizzled
    June 8, 20264 min

    OpenClaw Audit 2026: What's Left of All Those Promises?

    OpenClaw was the hot new thing in 2024, a LinkedIn religion in 2025, and supposedly dead in 2026. A sober audit: what he

    Read more
    Self-Hosted & Privacy Layer 2026: Ontheia, Anything LLM & Privacy Router
    June 4, 20264 min

    Self-Hosted & Privacy Layer 2026: Ontheia, Anything LLM & Privacy Router

    If you take GDPR seriously, there's no way around self-hosting. Ontheia, Anything LLM, NanoClaw and the Privacy Router c

    Read more
    NVIDIA RTX Spark – Local AI First: laptop as a local AI cloud while hyperscaler infrastructure shows cracks
    June 3, 20265 min

    NVIDIA RTX Spark: When the Laptop Becomes the AI Cloud – Local AI First Gets Real

    DGX Spark was the prelude, RTX Spark is the rollout. Why NVIDIA's RTX Spark platform flips the cloud-default assumption

    Read more
    Diagram of a Privacy Router: local models for sensitive data, cloud models for everything else
    March 17, 20264 min

    NemoClaw: NVIDIA's Privacy Router and What It Means for Agent Architecture

    NVIDIA enters the Claw ecosystem with NemoClaw – and brings a concept that could reshape agent architecture: Privacy Rou

    Read more
    Architecture diagram of a Privacy Router: data flow split into local and cloud paths
    March 17, 20266 min

    Building a Privacy Router with OpenClaw: A Practical Guide with Code

    Privacy Routing is the concept – but how do you build it? A practical guide with OpenClaw, a policy engine, and concrete

    Read more
    Coding-Agent Layer 2026: OpenCode, Aider, Continue.dev & Co. Compared
    June 4, 20264 min

    Coding-Agent Layer 2026: OpenCode, Aider, Continue.dev & Co. Compared

    Deep dive into the coding-agent layer: which OpenClaw coding rival fits which workflow? OpenCode, Aider, Continue.dev, S

    Read more
    Enterprise Gateway Layer 2026: LiteLLM, Portkey, Cloudflare, Kong, AWS Strands & Privacy RouterDeep Dive
    June 4, 202611 min

    Enterprise Gateway Layer 2026: LiteLLM, Portkey, Cloudflare, Kong, AWS Strands & Privacy Router

    Enterprises need an LLM gateway today – Microsoft Scout is only announced. LiteLLM, Portkey, Cloudflare AI Gateway, Kong

    Read more