Skip to main content
This site is an independent third-party technical service provider. Claude™ and Anthropic® are trademarks of Anthropic, PBC. This site has no affiliation, endorsement, or partnership with Anthropic.

Claude API Blog: Tutorials, Pricing & Best Practices

Deep dives into Claude API — technical breakdowns, best practices, cost optimization tips, and real-world use cases. Written by developers, for developers.

Practical Guide to Extended Thinking: How to Use Thinking Budgets in the Opus 4.7 Era
Dev GuidesExtended ThinkingChain of Thought

Practical Guide to Extended Thinking: How to Use Thinking Budgets in the Opus 4.7 Era

Claude Opus 4.7 has deprecated budget_tokens and only accepts adaptive thinking with the effort parameter. This article covers complete Extended Thinking call patterns for Opus 4.7, Opus 4.6, and Sonnet 4.6, the correct way to use interleaved thinking in tool loops, prompt caching pitfalls, and a scenario-based effort selection table.

2026.05.28
Claude Code Routines Launches: Cloud-Based Automated Coding Triggered by Schedules, APIs, and GitHub Webhooks
Dev GuidesClaude Code RoutinesCloud Automation

Claude Code Routines Launches: Cloud-Based Automated Coding Triggered by Schedules, APIs, and GitHub Webhooks

Anthropic has introduced Routines for Claude Code, enabling coding tasks to run automatically in the cloud through schedules, HTTP API calls, or GitHub events, without an always-on local machine or self-managed cron. This article explains how Routines work, how to configure the three trigger types, branch safety and daily run limits by plan, and includes complete code for integrating automation with the Claude API.

2026.05.285min
Getting Started with the Claude Code Security Plugin: Check 25 High-Risk Vulnerability Types While You Code, and How the Three-Layer Review Works
Dev GuidesClaude Code Security Plugin

Getting Started with the Claude Code Security Plugin: Check 25 High-Risk Vulnerability Types While You Code, and How the Three-Layer Review Works

Anthropic has released the free security-guidance plugin for Claude Code, which reviews and helps fix vulnerabilities in real time as you write code. This article explains the one-command installation, the three-layer review system: zero-cost per-edit regex checks, end-of-turn LLM diff review, and agentic cross-file review at commit time, along with the vulnerability types it covers, prerequisites, and its best-effort, non-blocking limits.

2026.05.285min
Claude Long-Agent Context Management Toolkit: How to Combine Tool Search, Context Editing, and Compaction
Dev GuidesClaude Context Management

Claude Long-Agent Context Management Toolkit: How to Combine Tool Search, Context Editing, and Compaction

Long-running agents can overflow their context windows as tool results accumulate. This article explains three Claude API context management techniques: tool search for loading tools on demand, context editing for removing stale tool_result blocks, and compaction for summarizing and continuing when the window is nearly full, plus how to combine them with prompt caching to run long agents reliably and cost-efficiently. Includes complete code and practical tips for preserving cache hits.

2026.05.28
Project Glasswing: Mythos finds 10,000+ vulnerabilities
NewsProject GlasswingAI security

Project Glasswing: Mythos finds 10,000+ vulnerabilities

Anthropic’s Project Glasswing update: Claude Mythos found 10,000+ severe bugs, including OpenBSD SACK and FreeBSD CVE-2026-4747.

2026.05.2710min
Claude Code tips: 12 production practices that make it useful
Dev GuidesClaude Code tips

Claude Code tips: 12 production practices that make it useful

Twelve production-tested Claude Code practices for hooks, slash commands, CLAUDE.md, parallel subagents, context compaction, cost control, and stable ClaudeAPI access.

2026.05.2715min
Claude prompts: 10 copy-ready engineering templates
Dev GuidesClaude promptingprompt engineering

Claude prompts: 10 copy-ready engineering templates

Ten production-tested Claude prompt templates for XML structure, few-shot, chain-of-thought, prefill, role prompts, output locks, safety boundaries, and ClaudeAPI calls.

2026.05.27
Claude API PDF Document Q&A in Practice: The Complete Guide from Native Parsing to Page-Level Citations
Dev GuidesPDFContract Q&ADocument Q&A

Claude API PDF Document Q&A in Practice: The Complete Guide from Native Parsing to Page-Level Citations

Got a contract, annual report, or research paper running dozens of pages — how do you build Q&A on it with the Claude API? This post covers the complete engineering workflow from PDF upload, native visual parsing, page-level citations, prompt caching for reuse, to splitting documents over 100 pages, with ready-to-run code in Python, Node.js, and cURL.

2026.05.2310min
Claude Files API: from upload and reuse to quota management
Dev Guidescode executionbatch API

Claude Files API: from upload and reuse to quota management

How Claude Files API reuses PDFs, images, CSVs, and code across requests, covering 500 MB / 100 GB quotas, Batch, MCP, Code Execution, and cleanup.

2026.05.2310min
SpaceX IPO Filing Reveals Anthropic Pays $1.25 Billion Per Month for Compute — On Track for First Profitable Quarter in Q2
NewsSpaceXAnthropic

SpaceX IPO Filing Reveals Anthropic Pays $1.25 Billion Per Month for Compute — On Track for First Profitable Quarter in Q2

SpaceX filed its S-1 on May 20, revealing that Anthropic has signed a compute procurement contract worth $1.25 billion per month — approximately $45 billion over 3 years. Meanwhile, WSJ reports Anthropic projects Q2 revenue of $10.9 billion with compute costs dropping from 71% to 56% of revenue, approaching its first-ever quarterly operating profit. This post breaks down the numbers and what they mean for developers.

2026.05.23
Anthropic Enterprise Adoption Surpasses OpenAI for the First Time: Ramp May Data Recap and the Developer Perspective
NewsAnthropicOpenAI

Anthropic Enterprise Adoption Surpasses OpenAI for the First Time: Ramp May Data Recap and the Developer Perspective

Ramp's May 2026 AI Index shows Anthropic's enterprise adoption rate hitting 34.4%, surpassing OpenAI's 32.3% for the first time. This post breaks down the real drivers behind a 4x growth in one year, the cross-validation from Menlo Ventures' 40% vs 27% data, and what it all means for Claude API developers.

2026.05.225min
Claude Memory Tool in Practice: The Complete Guide to Giving Your Agent Cross-Session Memory
Dev GuidesmemoryMemory

Claude Memory Tool in Practice: The Complete Guide to Giving Your Agent Cross-Session Memory

Claude's memory tool is a client-side storage-driven persistent memory capability. With just 6 commands, it enables cross-session information retention — and paired with context editing, benchmarks show 84% token savings on long-running tasks. This post covers the underlying mechanism, a minimal working Python implementation, how it differs from RAG, security best practices, and how to access it via API.

2026.05.225min