Users Pricing

category

Structured JSON Output From Claude Reliably
Claude API 27 Nov 2026
Structured JSON Output From Claude Reliably

How to get reliable structured JSON from Claude: structured outputs with JSON schemas, strict tool use, forced tool calls, prompt techniques, Pydantic validation, handling missing data and the difference between valid format and correct values.

Prompt Caching in Claude and How It Cuts Cost
Claude API 26 Nov 2026
Prompt Caching in Claude and How It Cuts Cost

How prompt caching works in the Claude API: cache_control breakpoints, automatic caching, the 5-minute and 1-hour cache lifetimes, pricing, prefix order, minimum sizes, reading cache usage fields and design patterns for big savings.

Tool Use in Claude, Letting the Model Call Your Functions
Claude API 25 Nov 2026
Tool Use in Claude, Letting the Model Call Your Functions

A hands-on guide to Claude tool use (function calling): defining tools with JSON schemas, the tool use loop, returning tool results, parallel calls, strict tool use, error handling, security and design tips for reliable tools.

Getting Started With the Claude API, A Complete Developer Guide
Claude API 25 Nov 2026
Getting Started With the Claude API, A Complete Developer Guide

A complete beginner-to-production guide to the Claude API: getting an API key, installing the Python and TypeScript SDKs, the Messages API, system prompts, multi-turn chat, streaming, model choice, errors and best practices.