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 laptop screen showing open-source AI model benchmarks with Kimi K3 and Claude Opus 4.6 comparison charts
Open SourceScore: 65

Open-Weight Models Just Matched Claude Opus 4.6 — Here's How to Run Them

Route Claude Code to open-weight models like Kimi K3 and DeepSeek V4 Flash via ANTHROPIC_BASE_URL or LiteLLM. Test cheap models before spending Opus 4.6 credits. The open-weight revolution is now a Claude Code workflow decision.

·2d ago·3 min read··4 views·AI-Generated·Report error
Share:
Source: simonwillison.netvia simon_willisonSingle Source
How do I use open-weight models like Kimi K3 or DeepSeek V4 Flash inside Claude Code?

Use Claude Code's `ANTHROPIC_BASE_URL` env var or an MCP proxy like LiteLLM to route requests to open-weight models like Kimi K3 or DeepSeek V4 Flash. This lets you test whether a cheaper open model handles your task before spending on Claude Opus 4.6.

TL;DR

Kimi K3 and DeepSeek V4 Flash now rival proprietary frontier models — you can hook them into Claude Code via local LLMs for zero-cost experimentation.

Key Takeaways

  • Route Claude Code to open-weight models like Kimi K3 and DeepSeek V4 Flash via ANTHROPIC_BASE_URL or LiteLLM.
  • Test cheap models before spending Opus 4.6 credits.
  • The open-weight revolution is now a Claude Code workflow decision.

The Open-Weight Tipping Point Has Arrived

5 AI Prompts to Put Claude Opus 4.6 to Work

Simon Willison joined Oxide and Friends to discuss a week that flipped the AI landscape: Kimi K3 proved open-weight models can match proprietary frontier ones, and Microsoft got nearly every AI leader to sign a letter on open weights — except Anthropic.

Days later, DeepSeek V4 Flash 0731 dropped, open-sourcing a 304B model that beats V4-Pro at just $0.14. For Claude Code users, this isn't abstract news. It's a workflow decision.

What Changed

Three things happened in one week:

  1. Kimi K3 matched proprietary frontier models on benchmarks — the first open-weight model to do so convincingly.
  2. DeepSeek V4 Flash 0731 was open-sourced, beating its predecessor at a fraction of the cost.
  3. Microsoft's open-weight letter got signed by nearly every major AI player — except Anthropic, which published its own position.

Anthropic's stance matters for you: Claude Code is tied to Claude models. But nothing stops you from pointing Claude Code at open weights.

What It Means For You

Claude Code with Claude Opus 4.6 scores 78.9% on Terminal-Bench 2.1 — that's the gold standard. But for routine tasks, you may be overpaying.

Open-weight models like DeepSeek V4 Flash cost pennies. If you can route your simple refactors, doc generation, or test writing to a cheap open model, you save Opus credits for the hard problems.

Try It Now

Claude Opus 4.6 Regression: What Broke and How to Fix It

Option 1: ANTHROPIC_BASE_URL

Claude Code respects the ANTHROPIC_BASE_URL environment variable. Point it at a local or hosted open-weight endpoint:

export ANTHROPIC_BASE_URL=http://localhost:8080
claude

Run a local server with vLLM or Ollama serving DeepSeek V4 Flash or Kimi K3.

Option 2: LiteLLM Proxy

LiteLLM translates Anthropic's API format to any provider. Set it up once:

pip install litellm[proxy]
litellm --model deepseek/deepseek-v4-flash --port 8080

Then point Claude Code at it:

export ANTHROPIC_BASE_URL=http://localhost:8080
export ANTHROPIC_API_KEY=sk-dummy
claude

Option 3: Per-Project Config

Add this to your project's .claude/settings.json to use open weights only in specific repos:

{
  "env": {
    "ANTHROPIC_BASE_URL": "http://localhost:8080",
    "ANTHROPIC_MODEL": "deepseek-v4-flash"
  }
}

When Open Weights Make Sense

  • High-volume, low-complexity tasks: test generation, boilerplate, simple regex fixes
  • Cost-sensitive projects: open-source work, side projects, learning
  • Privacy-sensitive contexts: run fully local with Ollama, zero data leaves your machine

When To Stick With Opus 4.6

  • Complex multi-file refactors where Claude Code's agentic loop shines
  • Security-critical code: Anthropic's Claude models just demonstrated strong cybersecurity capabilities (and one embarrassing incident — but the capability is real)
  • MCP-heavy workflows: open-weight models have weaker tool-calling reliability

The Prediction Game

Willison's new prediction: "The Pope says something about open models" by year-end. Whether or not that happens, the trend is clear — open weights are now a legitimate Claude Code backend, not a toy.

Set up the LiteLLM proxy this week. Test one real task with DeepSeek V4 Flash. Compare the output quality against Opus 4.6. You'll know exactly when to switch.


Source: simonwillison.net

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

Claude Code users should treat the open-weight revolution as a routing opportunity, not an existential threat. The practical move: set up a LiteLLM proxy once, then use Claude Code's `/model` command to switch between Claude Opus 4.6 and open-weight models per task. This gives you the cost benefits of open models without losing Claude Code's agentic scaffolding. Second, watch Anthropic's security posture. The company's refusal to sign Microsoft's open-weight letter, combined with the disclosed cyber incidents, suggests Anthropic will lean harder into safety features in Claude Code. Expect policy-controlled execution layers and deterministic security workflows (already rolling out per recent updates). If you run open-weight models locally, you lose those guardrails — so keep Claude for anything touching production credentials. Finally, benchmark your own workloads. The gap between open and proprietary models is narrowing weekly. A simple script that runs the same 10 prompts through both backends and scores the outputs will tell you more than any benchmark. Re-run it monthly — the answer will keep changing.
Compare side-by-side
Anthropic vs Microsoft
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