Claude Code × Python FastAPI in Production — Architecture, pytest, and Docker Deployment
Building production-ready Python FastAPI servers with Claude Code as an AI pair programmer — Pydantic v2, pytest automation, Docker, and CI/CD, with working code at each step.
Generating 300K Token Long-Form Content with Claude API — The output-300k Beta Feature Explained
Learn how to use the output-300k-2026-03-24 beta header in Claude API to generate up to 300,000 tokens of content in a single request. Covers setup, supported models, streaming, cost calculation, and Python/TypeScript code examples.
Claude API Files API — Persist Documents and Slash API Costs
Learn how to use Claude API's Files API to persist documents and avoid re-uploading costs. Upload PDFs and long documents once, reuse them across multiple API requests with this practical implementation guide.
Build a PDF Analysis and Summarization App with Claude API — Vision plus Extended Thinking
Learn how to build a PDF analysis and summarization application using Claude API's Vision capabilities and Extended Thinking, with step-by-step Python implementation.
Building Automated Agentic Loops with Claude SDK Tool Runner
Learn how to use Claude SDK's Tool Runner and Tool Helpers to build automated tool-calling loops (agentic loops) with practical code examples in Python and TypeScript.
Claude API Token Counting Guide — How to Estimate Token Usage and Optimize Costs Before Sending Requests
Learn how to use the Claude API Token Counting endpoint to estimate token usage before sending messages. Covers cost management, context window optimization, and production implementation patterns.
Claude Files API Guide — Upload Once, Reference Anywhere in Your API Calls
Learn how to use the Claude Files API to upload PDFs, images, and text once and reference them across calls. Includes Python and TypeScript examples, a production-grade retry helper, real token cost estimates, and hard-won operational tips.
Claude API Quickstart — Your First API Call in 5 Minutes
Get started with the Claude API. From your API key to your first Python and TypeScript request, plus error handling and cost estimates — a 5-minute quickstart.