SyncAI.news, a Varaisys broadcasting
Liberate your OpenClaw
HF

Hugging Face Blog

· 2 min read

AI LabsHugging Face Blog

Liberate your OpenClaw

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.

Hugging 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 token here. Then you can add that token to openclaw like 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 recommend GLM-5 because of its excellent Terminal Bench scores, but there are thousands to chose from here.

You can update your Hugging Face model at any time entering its repo_id in 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 more here.

Local 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:

Original source

This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on huggingface.co

Similar News