HopBase · Blog
Blog · Field Notes
Gateway integration guides, model comparisons and cost-saving tips, straight from production data.
Claude Code Setup in China: Complete Guide — from Registration to First Autocompletion in 10 Minutes
No VPN needed, no code changes — just two environment variables to connect Claude Code to a stable gateway. This guide covers registration, getting your API key, configuration, and verification, plus the three most common pitfalls.
GPT-5.6 vs Claude Sonnet 5 for Chinese Project Code: Which Should You Choose?
We route both flagship coding models at scale through our production gateway. Here's what we actually observe about completion quality, instruction following, and token consumption — plus our real-world selection advice.
How Much Can Prompt Cache Save You? Mechanics, Real-World Hit Rates, and Three Writing Techniques
Cache hit rate determines your bill. Here's how prompt caching actually works, the real hit rates we see in conversational tools, and three prompt organization techniques that can double your cache efficiency.
Drop PDFs and Excel Files Straight Into Your Model: The Right Way to Use Attachments in AI Chat
Spreadsheets, scanned PDFs, raw email, web links — which ones go straight to the model, and which need preprocessing? Here's everything about AI Chat's attachment capabilities and how to use them effectively.
Seedance 2.0 Video Generation API: Quick Start Guide
From submitting your job to downloading the final video: request parameters, task polling, video retrieval, and how resolution, duration, and pricing line up.
Routing Multiple Upstreams with One API Key: Group-Based Routing Can Cut Costs in Half
Choose your tier per task: stable group during peak hours, economy group for batch jobs. Here's how groups, multipliers, and automatic failover work together, plus cost-optimized setups for three typical user profiles.