Liberate your OpenClaw

Hugging Face Blog News

Summary

Hugging Face provides a guide to migrate OpenClaw agents from restricted Anthropic Claude models to open-source alternatives via Hugging Face Inference Providers or local hardware using tools like Llama.cpp.

No content available
Original Article
View Cached Full Text

Cached at: 05/08/26, 09:14 AM

Liberate your OpenClaw

Source: https://huggingface.co/blog/liberate-your-openclaw Back to Articles

Anthropic is limiting access to Claude models in open agent platforms for Pro/Max subscribers. Don’t worry though, there are great open models on Hugging Face to keep your agents running! Most of the time, at a fraction of the cost.

If you’ve been cut off and your OpenClaw, Pi, or Open Code agents need resuscitation, you can move them to open models in two ways:

  1. Use an open model served through Hugging Face Inference Providers.
  2. Run a fully local open model on your own hardware.

The hosted route is the fastest way back to a capable agent. The local route is the right fit if you want privacy, zero API costs, and full control.

To do so, just tell your claude code, your cursor or your favorite agent:help me move my OpenClaw agents to Hugging Face models, and link this page.

https://huggingface.co/blog/liberate-your-openclaw#hugging-face-inference-providersHugging Face Inference Providers

Hugging Face inference providers is an open platform that routes to providers of open source models. It’s the right choice if you want the best models or you don’t have the necessary hardware.

First, you’ll need to create a tokenhere. Then you can add that token toopenclawlike so:

openclaw onboard --auth-choice huggingface-api-key

Paste your Hugging Face token when prompted, and you’ll be asked to select a model.

We’d recommendGLM-5because of its excellentTerminal Benchscores, but there are thousands to chose fromhere.

You can update your Hugging Face model at any time entering itsrepo\_idin the OpenClaw config:

{
  agents: {
    defaults: {
      model: {
        primary: "huggingface/zai-org/GLM-5:fastest"
      }
    }
  }
}

Note: HF PRO subscribers get $2 free credits each month which applies to Inference Providers usage, learn morehere.

https://huggingface.co/blog/liberate-your-openclaw#local-setupLocal Setup

Running models locally gives you full privacy, zero API costs, and the ability to experiment without rate limits.

Install Llama.cpp, a fully open source library for low resource inference.

# on mac or linux
brew install llama.cpp

# on windows
winget install llama.cpp

Start a local server with a built-in web UI:

llama-server -hf unsloth/Qwen3.5-35B-A3B-GGUF:UD-Q4_K_XL

Here, we’re using Qwen3.5-35B-A3B, which works great with 32GB of RAM. If you have different requirements, please check out the hardware compatibilityfor the model you’re interested in.There are thousands to choose from.

If you load the GGUF in llama.cpp, use an OpenClaw config like this:

openclaw onboard --non-interactive \                                                                                   
   --auth-choice custom-api-key \                                                                                         
   --custom-base-url "http://127.0.0.1:8080/v1" \                                                                         
   --custom-model-id "unsloth-qwen3.5-35b-a3b-gguf" \                                                                     
   --custom-api-key "llama.cpp" \                                                                                         
   --secret-input-mode plaintext \                                                                                        
   --custom-compatibility openai

Verify the server is running and the model is loaded:

curl http://127.0.0.1:8080/v1/models

https://huggingface.co/blog/liberate-your-openclaw#which-path-should-you-chooseWhich path should you choose?

Use Hugging Face Inference Providers if you want the quickest path back to a capable OpenClaw agent. Usellama\.cppif you want privacy, full local control, and no API bill.

Either way, you do not need a closed hosted model to get OpenClaw back on its feet!

Similar Articles

Anthropic says OpenClaw-style Claude CLI usage is allowed again

Hacker News Top

OpenClaw is a CLI tool that supports Anthropic Claude models via API key or Claude CLI reuse, with features including adaptive thinking defaults for Claude 4.6, fast mode service tier toggling, and configurable prompt caching. Anthropic has reportedly re-allowed OpenClaw-style Claude CLI usage.

Migrate from OpenClaw

Hacker News Top

A migration guide for moving from OpenClaw to Hermes Agent, detailing the transfer of persona, memory, skills, and config files with options for preview, dry-run, and secret migration.

We got local models to triage the OpenClaw repo for FREE!*

Hugging Face Blog

The blog post describes using local open-weight models like Gemma and Qwen in an agent harness to automatically triage issues and pull requests in the OpenClaw repository, enabling real-time notifications without relying on costly closed API models.