Hugging Face shows how to route Claude Code through open-model backends
_akhaliq · x · 2026-07-28
Hugging Face documents how to run Claude Code on open models
The HF docs explain that Claude Code can be configured to use Hugging Face Inference Providers as its backend by setting ANTHROPICBASEURL and providing an HF token with the right permissions.
The page describes:
- the Claude Code CLI prerequisites,
- the need for an HF account/token that can call Inference Providers,
- an hf-claude extension that launches Claude Code with the environment preconfigured,
- and the general idea that Claude Code can work with a wide range of open models through HF’s router.
This is a practical setup guide for developers who want an agentic coding tool backed by non-Anthropic models.
Related event: Hugging Face Routes Claude Code to Open Models(2 posts)→
More from coding & agent
- theo builds his own visualizer for today's agent models, showing how cheap Luna really is — ivan_bezdomny · 2026-09-23
- Vite+ Hits RC: One Rust-Powered CLI to Replace Your Entire Web Toolchain — cnakazawa · 2026-09-23
- Tesla's in-car Grok agent books trips across Gmail, Calendar and Notion in one command — xiaohu · 2026-09-23
- Tesla's In-Car Grok Assistant Now Executes Cross-App Tasks in One Sentence — xiaohu · 2026-09-23
- Garry Tan says Capy lets him ship PRs much faster than Codex or Claude Code — garrytan · 2026-09-23
- DeskPilot: open-source native Python desktop client for local LLMs with MCP and sandboxed tools — poofph · 2026-09-23