Saltar al contenido principal
INTERACTIVE SAVINGS CALCULATOR

Calculadora de costos API para agentes de código

Model your real Claude Code, Cursor, Cline, Roo Code, Codex, or OpenClaw token volume and compare monthly bills across official frontier APIs, fixed Max/Ultra plans, and bf16.ai pay-as-you-go.

Coding Client / Agent Preset

Heavy terminal agentic loops over native /v1/messages

AHORRO MENSUAL ESTIMADO
$145/ mo
-80% vs Claude Sonnet API ($181 → $37/mo)
Ahorro anual estimado
$1,735/yr
Monthly Token Volume
138.6M in · 4.3M out
3,080 turns/mo

Estimated Monthly Spend

Provider / PlanEst. Monthly Costvs Claude Sonnet API
bf16.ai — DeepSeek V4.1 Flash Uncensored
$0.26 in / $0.045 cached / $1.00 out · 1M ctx · vision
$17-91%
bf16.ai — Hybrid Split (30% GLM-5.3 + 70% DeepSeek Flash)Recommended
Flagship architecture + fast uncensored subagents
$37-80%
bf16.ai — GLM-5.3 Uncensored (100% Flagship)
$1.35 in / $0.25 cached / $4.20 out · 1M ctx
$83-54%
bf16.ai — Kimi K3.1 Pro Uncensored (2.8T MoE)
$1.95 in / $0.28 cached / $6.90 out · 1M ctx · vision
$115-37%
Anthropic Claude Sonnet API (Public Ref)
$3.00 in / $0.30 cached / $15.00 out · 200K std
$181Baseline
OpenRouter + Claude Sonnet (incl. 5.5% fee)
Upstream ref + 5.5% credit top-up fee
$191+5%
OpenAI Frontier API (Public Ref)
$2.50 in / $1.25 cached / $10.00 out
$251+39%
Claude Max 20x / Cursor Ultra Subscription
Fixed $200/mo subscription (rolling weekly caps apply)
$200+10%
Anthropic Claude Opus API (Public Ref)
$15.00 in / $1.50 cached / $75.00 out
$906+400%

Ready-to-Paste Config for This Client (Claude Code)

~/.zshrc (Claude Code native Anthropic endpoint — no /v1)
export ANTHROPIC_BASE_URL="https://api.bf16.ai"
export ANTHROPIC_API_KEY="$BF16_API_KEY"
export ANTHROPIC_MODEL="zai-org/glm-5.3-uncensored"
export ANTHROPIC_SMALL_FAST_MODEL="deepseek/deepseek-v4.1-flash-uncensored"

claude

Calculations use live bf16.ai retail token rates and public reference rates for third-party APIs (Claude Sonnet $3/$0.30/$15, Claude Opus $15/$1.50/$75, OpenAI frontier reference $2.50/$1.25/$10 per 1M input/cached/output tokens). Actual bills vary with context growth and cache hit ratio.

Not affiliated with Anthropic, OpenAI, Google, Z.ai, Moonshot AI, DeepSeek, or any third-party provider listed on this page. All trademarks belong to their respective owners. "bf16" is a brand name, not a statement about numeric precision. Third-party reference rates are public approximations; check official pricing pages for exact current terms.