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
- Running torch nightly with CUDA 13.5 on 8x V100 via volta-forever, agent-driven setup — QuixiAI · 2026-12-02
- Anime.js v5 ships a visual animation editor that saves edits straight to your code — csuwildcat · 2026-12-02
- Lumine 2 claims first generalist agent to finish full AAA games like Cyberpunk 2077 — TianbaoX · 2026-12-02
- Open-Source Local MCP Server Connects Claude to D2L Brightspace, Read-Only — Illustrious_Key_9888 · 2026-12-02
- Domain Trust: A Security API and MCP Server for AI Agents to Vet Domains Before Interacting — Significant_Text8102 · 2026-12-02
- Subsola: a free open-source 3D map of underground utilities in 10 US cities, built with Claude Code — anselm · 2026-12-02