Provider costs
Claude API Pricing Comparison: Official vs Third-Party Providers
Compare Anthropic, OpenRouter, and API Route Claude API costs with token and cache pricing, worked examples, billing caveats, and a provider buying checklist.
Read guideAPI Route / Developer guides
Make an informed API purchase. Compare provider costs, connect your development tools, and verify what you pay for.
Provider costs
Compare Anthropic, OpenRouter, and API Route Claude API costs with token and cache pricing, worked examples, billing caveats, and a provider buying checklist.
Read guideDeveloper setup
Configure Claude Code with an Anthropic Base URL, environment variables, or CC Switch. Verify your first request, troubleshoot errors, and migrate safely.
Read guideCost engineering
Understand Claude cache writes, reads, TTLs, hit rates, and routing. Calculate break-even costs and reproduce a two-request prompt caching test in Python.
Read guideBilling integrity
Audit AI proxies for hidden prompt injection and synthetic cache traps. Compare multi-turn token growth, run the open-source benchmark, and protect your margins.
Read guideModel routing
Use a single OpenAI-compatible Base URL and API key to route Claude, Gemini, DeepSeek and other models. Setup, model switching, cost checks, and failure handling.
Read guideModel guide
Compare DeepSeek V4.1 Flash throughput with V4 Pro reasoning. Integrate via OpenAI SDK, stream reasoning tokens, and inspect pay-as-you-go billing.
Read guideDeveloper setup
Configure Codex and ChatGPT CLI with a custom provider in ~/.codex/config.toml. Understand wire_api responses, set up auth.json, use CC Switch, and troubleshoot errors.
Read guideArchitecture
Deconstruct Kimi K3.1 Pro: how 69 Kernelized Delta Attention (KDA) and 24 Gated Sparse Attention (DSA) layers eliminate 1M-token KV-cache bottlenecks in 3T MoE models.
Read guide