Paying for AI APIs in China: Invoices, Compliance and Gateways
Compare three ways to pay for AI APIs from China: official overseas APIs, domestic cloud vendors, and aggregation gateways, with a pre-payment checklist.
Blog
「Developer tools」分类下的文章。
Compare three ways to pay for AI APIs from China: official overseas APIs, domestic cloud vendors, and aggregation gateways, with a pre-payment checklist.
As of Oct 17, 2026, DeepSeek's docs cover Claude Code environment variables and a Codex config.toml. Steps below, plus Harness and search billing dates.
Claude now exports OpenTelemetry traces (public beta, Oct 14). What's supported, how to connect it, and how to tell network lag from model time.
Claude Code Review left research preview on Oct 15, 2026 for Team and Enterprise. Setup steps, how to choose Quick, Standard or Deep, and a rollout checklist.
Claude Code now starts in auto mode in the terminal and VS Code. Here is how to check your mode, pin manual mode, and debug blocked or "Not run" commands.
Claude Code 2.1.287 (Oct 1, 2026) added Claude Mods so plugins can change deeper behavior. How mods, hooks and plugins relate, and how to install and verify.
When your API bill is higher than expected, the cause is usually cached and reasoning tokens, tokenizer differences, broken streams or auto-retries. Includes a usage field table, a logging script and a debugging order.
Cline v4.1.25 rolls out Cloud sessions, and the default model changed several times from Oct 13 to 17. Here is what changed, plus a 4-step check after you update.
OpenCode 1.19 stopped auto-updates and retired session sharing in October. Learn how to update manually and run a 5-point check before moving to OpenCode 2.
MCP tools missing after an upgrade? The protocol likely moved to 2026-07-28. Five checks: client version, server SDK, legacy fallback, description size, network.
Cursor launched Security Review and Rollouts on Sept 23, and the Origin marketplace opened to submissions Oct 13. Setup, permissions and false positives.
Cursor Remote Control (Oct 6) lets the iOS app reply to local agents. Pairing steps, enterprise toggle, Projects vs. Environments API, and network checks.
Since Oct 14, Codex with ChatGPT login can't use the old default model; API key sessions aren't affected. Who is hit, config.toml checks, and what 0.163 adds.
GitHub made Copilot local sandboxing GA on Oct 7, 2026, at no extra cost. What it restricts, where it runs, how admins enforce it, plus a 5-step check.
Official API, cloud-hosted or gateway? Compare payment, uptime, model coverage, data policy, latency and compliance, with a gateway checklist and commands.
HydraFusion is a GitHub Copilot preview that has several models work together on one answer. Here is how it works, who can use it, and what Max changes.
A Claude API relay sees your keys and prompts. Learn how relays work and run self-checks for data exposure, uptime, model swaps and billing, within the ToS.
xAI added an optional safety_identifier field in September 2026 so policy violations map to one end user, not your whole API key. How to generate and send it.
Choosing an API relay? Verify, don't trust: 8 checks on uptime method, billing units, data policy, API format, postmortems and latency, with curl examples.
Where Claude Code, Codex and OpenCode read the endpoint URL and API key, with copy-paste env vars and config files, a 401/404/timeout fix table and network self-checks.
How to route LLM requests by task tier, estimate token costs from OpenRouter list prices, compare DIY routing with aggregation gateways, and verify quality.