◉CLAUDE LABJP
●2.1.302 — Fork subagents are now on by default in claude -p, the Agent SDK and the desktop app. Turn them off with CLAUDE_CODE_FORK_SUBAGENT=0 (10/16)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 43 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…●2.1.302 — Fork subagents are now on by default in claude -p, the Agent SDK and the desktop app. Turn them off with CLAUDE_CODE_FORK_SUBAGENT=0 (10/16)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 43 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…
TAG

claude-api

83 articles
← Back to all tags
Related:
production44cost-optimization17tool-use11python8prompt-caching7api-sdk7observability7error-handling6agent6fallback5troubleshooting5rate-limit5
⬡ API & SDK/2026-05-04Intermediate

Implementing Usage-Based Billing with Claude API + Stripe: A Minimal Setup for Indie Developers

Learn how to measure Claude API token consumption and implement usage-based billing with Stripe Meter Events. A minimal Node.js setup that indie developers can ship in a weekend, with real gotchas from production.

⬡ API & SDK/2026-05-03Advanced

Building an Offline-Capable AI Notes App with Claude API and Local-First Sync — A Production Design with Replicache and IndexedDB

A production design guide for combining Claude API with a local-first sync engine. Walks through Replicache, IndexedDB, mutation queues, and idempotency keys with full TypeScript code.

⬡ API & SDK/2026-05-02Advanced

Building a Budget Circuit Breaker for Claude API in Production — Auto-Halt When Daily Token Spend Exceeds Your Cap

A practical guide to enforcing daily and monthly Claude API budget caps in production. Includes copy-paste Cloudflare Workers + KV / Durable Objects code, three response strategies (halt, degrade, alert), and the operational habits that keep the breaker honest.

⬡ API & SDK/2026-05-01Advanced

Stop Claude API Prompt Regressions with Golden-Dataset Testing

A complete production guide to catching the silent quality drift that hits Claude API prompts when models or prompts change — using golden datasets and LLM-as-a-Judge wired into CI.

⬡ API & SDK/2026-05-01Advanced

Claude API Telemetry on ClickHouse: A Production Guide to Cost, Latency, and Error Analytics

Stream per-request Claude API telemetry into ClickHouse, build sub-second dashboards with materialized views, and detect cost spikes, retry loops, and silent failures with practical SQL recipes.

⬡ API & SDK/2026-04-30Advanced

Building a Production Claude API Pipeline on Cloudflare Queues: Fault Tolerance, Backpressure, and Cost Control

A practical, code-first walkthrough for routing Claude API calls through Cloudflare Queues — covering producer/consumer code, retry-vs-DLQ branching, priority lanes, and token budgeting for production workloads.

⬡ API & SDK/2026-04-29Intermediate

Infrastructure Requirements for Claude API Deployment: Sizing, SLA, and Compliance Decisions Before Production

Your prototype works. But what does 'production-ready' actually mean? This guide walks through how to derive infrastructure requirements from traffic, SLA, and data-residency decisions — with concrete numbers and a sizing formula.

⬡ API & SDK/2026-04-29Advanced

Production Semantic Cache for Claude API — Similarity Thresholds, Pollution Defense, and What to Track

A production playbook for adding a semantic cache in front of Claude API — threshold tuning, multi-tenant isolation, pollution prevention, fallbacks, how it stacks with Anthropic's prompt caching, and the metrics that actually prove it works.

⬡ API & SDK/2026-04-28Intermediate

Four Infrastructure Levers That Cut Claude API Latency Before You Touch the Model

Before you downgrade Sonnet to Haiku to chase faster responses, the network and request shape around your Claude API calls usually has more headroom. Here are four infrastructure levers — region selection, connection pooling, prompt caching, and streaming — with code and measurement notes.

⬡ API & SDK/2026-04-28Advanced

Building a Recurring Billing SaaS with Claude API and Stripe — From Architecture to Production

A complete architecture guide for building a SaaS product powered by Claude API with Stripe recurring billing. Covers usage metering, tiered pricing, webhook handling, and production deployment patterns.

⬡ API & SDK/2026-04-27Advanced

Production-Grade Hallucination Defense for Claude API: A Multi-Layer Architecture

Prompt engineering alone is not enough to suppress hallucinations in production. After a real customer incident, I rebuilt the system around four defensive layers — input grounding, tool-use escape hatches, citations, and post-hoc verification. This is the implementation playbook.

⬡ API & SDK/2026-04-26Advanced

Replay-Driven Testing for Claude API: A Production Pattern for Recording and Replaying Responses

A production-grade design for stabilizing Claude API tests by recording and replaying real responses. Covers cassettes for Messages, Streaming, Tool Use, CI integration, and incident replay.