惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
V
V2EX
PCI Perspectives
PCI Perspectives
Latest news
Latest news
博客园 - 三生石上(FineUI控件)
C
CERT Recently Published Vulnerability Notes
W
WeLiveSecurity
Last Week in AI
Last Week in AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
WordPress大学
WordPress大学
V
Vulnerabilities – Threatpost
H
Heimdal Security Blog
Attack and Defense Labs
Attack and Defense Labs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - 叶小钗
V
Visual Studio Blog
Jina AI
Jina AI
P
Proofpoint News Feed
罗磊的独立博客
SecWiki News
SecWiki News
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 热门话题
Security Archives - TechRepublic
Security Archives - TechRepublic
The Hacker News
The Hacker News
Hugging Face - Blog
Hugging Face - Blog
N
News and Events Feed by Topic
NISL@THU
NISL@THU
T
Tailwind CSS Blog
T
Tenable Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Recent Announcements
Recent Announcements
H
Hacker News: Front Page
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
Tor Project blog
宝玉的分享
宝玉的分享
Help Net Security
Help Net Security
S
Security Affairs
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
G
GRAHAM CLULEY

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Run Claude Code For Free (for Fun and Profit)
Jerry Tian · 2026-06-03 · via DEV Community

Jerry Tian

Uber blew through its entire 2026 IT budget on AI in 4 months. The State of FinOps Report now lists "FinOps for AI" as the number one priority for 2026 — surpassing traditional cloud cost optimization for the first time. And in typical fighting-an-AI-problem-with-more-AI fashion, Google announced a FinOps Explainability agent at Cloud Next '26 whose entire job is to autonomously investigate why your other AI is costing so much. They also shipped Spend Caps that literally pause your API traffic when the budget runs out.

When a hyperscaler builds a product specifically to help you stop spending money on their platform, you know the burn rate has gotten out of control.

The default for AI-powered dev tools is a $20–200/month subscription piped to someone else's servers. Most developers don't question it. They sign up, hand over a credit card, and start streaming every keystroke to a data center in Virginia. But the silicon you already own can run surprisingly capable models. And the best agentic coding tool — Claude Code — already speaks the protocol you need to point it at a local model or a free cloud endpoint instead.

Your Code Doesn't Need a PhD

Most coding tasks aren't "explain quantum mechanics." They're summarize, classify, extract, rewrite, refactor. Local models handle these well. A 9B parameter model running on your laptop can rubber-duck a bug, suggest a refactor, and scaffold a component without ever touching a network socket.

As Brad Taunt put it: you took a UX feature and turned it into a distributed system that costs you money. The same logic applies to dev tooling. Every keystroke going to a remote API means latency, data exposure, vendor lock-in, and billing surprises. You're paying to solve problems your own hardware can solve.

The Setup Is Two Scripts

Here's the key insight: Claude Code doesn't care where the model lives. It speaks an OpenAI-compatible protocol. You can point it at a cloud endpoint, a local Ollama instance, or a free tier — the agentic scaffolding (tool use, file editing, shell execution, git awareness) stays the same.

Free cloud models via OpenRouter:

#!/bin/bash
MODEL="openrouter/auto:free"

export ANTHROPIC_DEFAULT_HAIKU_MODEL="$MODEL"
export ANTHROPIC_DEFAULT_SONNET_MODEL="$MODEL"
export ANTHROPIC_DEFAULT_OPUS_MODEL="$MODEL"
export ANTHROPIC_BASE_URL="https://openrouter.ai/api"
export ANTHROPIC_AUTH_TOKEN="sk-or-..."  # your OpenRouter API key
export ANTHROPIC_API_KEY=""
claude --model "$MODEL"

Save this as claude-openrouter somewhere on your PATH (/usr/local/bin, ~/.local/bin, etc.), chmod +x it, and you can launch it from anywhere with a single command.

Local models via Ollama:

#!/bin/bash
MODEL="gemma4:31b"

export ANTHROPIC_DEFAULT_HAIKU_MODEL="$MODEL"
export ANTHROPIC_DEFAULT_SONNET_MODEL="$MODEL"
export ANTHROPIC_DEFAULT_OPUS_MODEL="$MODEL"
export ANTHROPIC_BASE_URL="http://localhost:11434"
export ANTHROPIC_AUTH_TOKEN="ollama"
export ANTHROPIC_API_KEY=""
ollama pull "$MODEL"
claude --model "$MODEL"

Save this one as claude-ollama. Zero cost. Zero network. Zero privacy concerns. The model runs on your machine, the data stays on your machine, and you can work on an airplane.

chmod +x claude-openrouter claude-ollama
mv claude-openrouter claude-ollama /usr/local/bin/

Now you have two commands: claude-openrouter for free cloud inference, claude-ollama for fully local. Pick whichever fits the moment.

Why Claude Code and Not the Alternatives

Johanna Larsson recently documented her experience running local models with Pi and OpenCode. Both work, but both have friction.

Pi is powerful, but you can end up spending more time tuning the harness than doing the work. OpenCode is promising, but still rough around edge cases.

Claude Code is the more mature agentic scaffolding. Battle-tested tool use, file editing, shell execution, git awareness, and context management. The critical difference: you get the best tool interface regardless of which model you choose. The tool is the constant. The model is the variable. Swap in Gemma 4 locally, swap in a free OpenRouter model on the road, swap in Sonnet when you need the heavy artillery. The workflow stays identical.

When Free Catches Up to Frontier

Here's the prediction that should make investors nervous: the gap between open models and frontier models is shrinking on a predictable curve. Look at the OpenRouter rankings — open and non-frontier models are already taking serious share on OpenRouter:

  • Tencent GLM / Hy3 Preview — 2.68T tokens/week (+12%)
  • Moonshot Kimi K2.6 (Qwen family) — 1.61T tokens/week (+11%)
  • DeepSeek V4 Flash — 1.11T tokens/week (+58%)
  • Google Gemma 3 Flash — 1.07T tokens/week (+11%)
  • DeepSeek V3.2 — 868B tokens/week (+4%)
  • DeepSeek V4 Pro — 816B tokens/week (+99%)
  • MiniMax M2.7 — 745B tokens/week (+2%)

DeepSeek, MiniMax, Tencent, and Qwen-family models are already eating Claude and GPT's market share on token volume. The business risk isn't that open models become better than frontier models. It's that they become good enough for high-volume work. Each generation closes the distance faster than the last. What Opus 4.7 can do today, an open model running on your laptop will do in 12–18 months. Maybe less.

When that happens, the pricing model of OpenAI and Anthropic collapses. Their valuations assume the moat is intelligence itself. But intelligence is commoditizing faster than any technology in history. Every architecture gets open-sourced. Every training trick leaks. And here's the thing — most tasks are overserved by frontier models anyway. You wouldn't hire Einstein to be your restaurant's chef. You don't need a 200 IQ model to rename a variable, write a unit test, or scaffold a React component.

Imagine in the not-so-distant future, an open model catches up to Opus 4.7 capability. You run it locally, or hit it through a free endpoint. The willingness to pay $200/month evaporates overnight for most developers.

The Bottom Line

We should be investing in local model ecosystems — not as a hobby, but as infrastructure. Open models as a subsystem in your workflow saves on token cost, sure. But the deeper reason is structural. The tech industry has a tendency to concentrate power into fewer and fewer hands. The lesson of Lord of the Rings was not that the wrong person had the ring. It was that the ring should not exist. We've seen this movie before with cloud, with social, with search.

AI doesn't have to follow the same script. The models can run on your hardware. The weights can be open. The inference can be distributed. No single company needs to be the gatekeeper between you and your own development workflow.

Two scripts. Zero dollars. Full agentic coding. Keep the ring distributed.

Originally published at tianjerry.com.