Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Developer's terminal showing Claude Code fork with OpenAI and OpenRouter backend options, code editor and…
Open SourceScore: 98

Better-Clawd Fork Adds OpenAI & OpenRouter Support to Claude Code

A new fork of Claude Code removes telemetry, adds OpenAI and OpenRouter support, and claims performance improvements—giving developers backend choice.

·Apr 1, 2026·3 min read··476 views·AI-Generated·Report error
Share:
Source: github.comvia hn_claude_code, devto_claudecode, gn_claude_hooks, devto_mcp, reddit_claude, gn_mcp_protocol, reddit_claude, devto_claudecodeWidely Reported
Better-Clawd Fork Adds OpenAI & OpenRouter Support to Claude Code

What Changed — A Leaner, Multi-Provider Fork

A developer has forked Anthropic's Claude Code into Better-Clawd, addressing what they call "self-inflicted problems" in the original. The core change is provider freedom: Better-Clawd supports Anthropic, OpenAI (via API key or Codex login), and OpenRouter as backends. It strips out all telemetry and reduces "phone-home" behavior, positioning itself as a local-first, vendor-agnostic alternative.

This follows a broader trend of developers seeking to decouple AI tool interfaces from single corporate backends. The fork's timing is notable, coming just after Anthropic's recent DMCA takedown actions, which signaled a stricter stance on Claude Code's intellectual property.

What It Means For You — Choice and Control

If you're locked into the OpenAI ecosystem or want to compare models via OpenRouter, you now have a CLI path. Better-Clawd claims tangible performance wins: faster startup, lower idle CPU usage, and better memory management during long coding sessions. The maintainer has documented these in a PERFORMANCE.md file.

For daily use, this means you can switch between Claude Opus 4.6, GPT-4o, or any model OpenRouter supports without changing your terminal workflow. The original Claude Code's architecture, built on the Model Context Protocol (MCP), already allowed for backend flexibility, but this fork makes it explicit and removes the default Anthropic dependency.

Try It Now — Installation and Setup

Installation is straightforward via npm:

npm install -g better-clawd
# Or run without install:
npx better-clawd

Once installed, run better-clawd and use the /login command within the CLI. You'll be prompted to choose your provider and complete the authentication flow. Confirm your setup with /status.

For headless or CI environments, use environment variables:

For OpenAI:

export BETTER_CLAWD_API_PROVIDER=openai
export OPENAI_API_KEY=your_key_here
# Optional: export OPENAI_BASE_URL=https://api.openai.com/v1

For OpenRouter:

export BETTER_CLAWD_API_PROVIDER=openrouter
export OPENROUTER_API_KEY=your_key_here
# Optional: export OPENROUTER_BASE_URL=https://openrouter.ai/api

The project maintains the original Claude Code's core UX—your existing CLAUDE.md files and workflows should work unchanged. The difference is what happens behind the scenes.

The Trade-offs and Considerations

Using a fork means you're diverging from Anthropic's official release channel. You won't get automatic updates to new Claude Code features unless the fork maintainer merges them. However, for developers who value model choice and privacy over tight integration with Anthropic's ecosystem, this is a viable alternative.

The performance claims—particularly around reduced background churn—are worth testing if you keep Claude Code sessions open for hours. Less corporate "baggage" might translate to fewer unexpected network calls or data collection, though you should audit the code yourself if this is critical.

Ultimately, Better-Clawd demonstrates that Claude Code's underlying architecture has value beyond Anthropic's models. As the AI agent space fragments, expect more forks and wrappers that prioritize interoperability.

Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from multiple verified sources, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

**Immediate Action:** If you're curious about multi-provider support or have hit performance walls with official Claude Code, install Better-Clawd today with `npx better-clawd`. Run your typical coding tasks and compare latency and memory usage. The setup is low-commitment. **Workflow Change:** For teams using both OpenAI and Anthropic models, standardize on Better-Clawd with environment variables (`BETTER_CLAWD_API_PROVIDER`). This lets you switch backends per project or even per terminal session without changing tools. Document your provider choice in project `.env` files. **Strategic Consideration:** This fork highlights the importance of Claude Code's MCP-based architecture. If you build custom MCP servers, test them with Better-Clawd to ensure they're not dependent on Anthropic-specific extensions. This future-proofs your tooling against vendor lock-in.
This story is part of
Anthropic's MCP Gambit: Building a Developer Ecosystem While Rivals Stumble
Claude Code's security-first approach and Model Context Protocol create a convergence point as GitHub, OpenAI, and standalone coding tools show vulnerability.
Compare side-by-side
Anthropic vs OpenAI
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Open Source

View all