Claude API cost-saving guide: controlling usage from hundreds down to tens of dollars per month

Claude API costs can easily spiral out of control—stronger models cost more per call, and longer context costs more. This post shares my approach to cost control. Claude Model Pricing Comparison (2026) Model Input $/MTok Output $/MTok Use case claude-opus-4-6 $15 $75 Complex reasoning, code generation claude-sonnet-4-6 $3 $15 General tasks, writing claude-haiku-4-5 $0.8 $4 Simple classification, summarization MTok = million tokens. 1 token ≈ 0.75 English words ≈ 0.5 Chinese characters. ...

2026-04-05 · 3 min · 587 words · Panshi

Claude Code in Real Use: How I Manage 9 Servers with AI

I’ve been using Claude Code—Anthropic’s CLI tool—to manage my fleet of servers since last year, and it’s genuinely changed how I work with infrastructure. This is what AI should be doing: not chatting, but actually getting things done. My setup 9 overseas VPS instances (AWS / DMIT / Tencent Cloud), distributed across the US, Hong Kong, Japan, and Singapore, running: Proxy nodes (Xray + Hysteria2) Quantitative trading strategies Monitoring stack (Prometheus + Grafana) Various automation scripts I used to SSH into each machine manually. Now I just tell Claude Code “update the Xray config on the Japan machine,” and it handles the SSH connection, modifies the config, restarts the service, and verifies it’s working. ...

2026-04-05 · 4 min · 689 words · Panshi

Pionex Grid Robot in Practice: Parameter Setup, Risk Management, and the Pitfalls I've Encountered

⚠️ KYC Requirements: Pionex doesn’t support KYC verification with mainland China IDs. You’ll need a valid ID from Taiwan, Singapore, Malaysia, the US, or similar regions. See Pionex’s official regional restrictions. Grid trading is the longest-running quant strategy I’ve deployed—simple but effective. This article shares my real experience running grid trading on Pionex. It’s not about getting rich overnight, but how to steadily let automated trading help you profit from market oscillations. ...

2026-04-03 · 4 min · 666 words · Panshi

Home Network Multi-Gateway Architecture: Mihomo Fine-Grained Traffic Splitting in Practice

After half a year of tinkering with my home network, I finally got a multi-gateway redundancy architecture working. This article shares the overall design approach—it’s for people with some hands-on experience who want a more stable network. Why You Need Multiple Gateways The biggest problem with a single gateway is a single point of failure: if your VPS gets blocked, the line stutters, or the machine crashes, your entire network goes down. ...

2026-04-01 · 3 min · 550 words · Panshi

1 Month, $5000 in AI Subscriptions and Tokens. I’m one person. With Claude Code + Codex + Copilot, I built 18 distinct systems. ~50k lines of code. If you hired 2 full-stack engineers to build this from scratch, it’d take 6–12 months and cost ¥300k–600k. Here’s what I built in each section 👇 (1/7) 【Quant Trading + Blog Traffic Acquisition】 🧠 Quant: Polaris strategy versions 1/5/6 live trading, dual-machine hot standby, backtesting lab v2 (Numba JIT + Walk-Forward + Monte Carlo + multi-symbol portfolio), desensitized Mac standby. ...

2 min · 406 words · Panshi