PricingUSD, as published
| Item | Value |
|---|---|
| List price | From $0.10/1M in123 |
| Free tier | Not published |
Per 1M input/output tokens: Haiku 5.5 $0.10/$0.50 (prompts up to 100k); Haiku 4.5 $1/$5; Sonnet 5.5 $2/$10; Opus 5.5 $4/$20. Changed: Claude Fable 5.2 (claude-fable-5-2) is now Anthropic’s top model for demanding reasoning at $8/$40, below Fable 5.1’s $10/$50 (still listed). US-only inference_geo costs 1.1x; Batch is 50% off. Anthropic says structured outputs work on every model.123 [Verified 2026-11-11 on https://platform.claude.com/docs/en/about-claude/pricing, https://platform.claude.com/docs/en/about-claude/models/overview and https://platform.claude.com/docs/en/build-with-claude/structured-outputs]
Structured outputs add an injected system prompt, so input tokens are slightly higher; changing the format invalidates the prompt cache. [Verified 2026-10-16 on Anthropic structured outputs docs]
Estimate cost at 10k to 10M requests, or set your own usage.
LimitsPer request
| Limit | Value |
|---|---|
| Context window | 1M tokens |
| Rate limit | 1,000 RPM (Start tier) |
Per request: up to 20 strict tools, 24 optional parameters, and 16 union-type parameters across all strict schemas; grammar compilation timeout 180 s. Unsupported: recursive schemas, numeric/string length constraints, minItems other than 0 or 1.3 [Verified 2026-11-11 on https://platform.claude.com/docs/en/build-with-claude/structured-outputs (no change)]
Compiled grammars are cached for 24 hours from last use; the first request with a new schema has extra latency. Prompts and outputs are not stored; only the JSON schema is cached, which Anthropic says keeps structured outputs within Zero Data Retention.3 [Verified 2026-11-11 on https://platform.claude.com/docs/en/build-with-claude/structured-outputs]
StatusGA
- Generally available. Refusals (stop_reason "refusal") and max_tokens cut-offs can return output that does not match the schema; enum capitalization is not guaranteed. [Verified 2026-10-16 on Anthropic structured outputs docs]
- No token probabilities are documented on the structured outputs page.3 [Not published by vendor (checked 2026-11-11 on https://platform.claude.com/docs/en/build-with-claude/structured-outputs)]
Auth
| Method | API key |
| Details | Anthropic API key in the x-api-key header ($ANTHROPIC_API_KEY). [Verified 2026-10-16 on docs.anthropic.com structured outputs page] |
FeaturesFrom lib/apiFeatures.js
| Capability | State |
|---|---|
| BatchBatch at 50% off | Yes |
| Structured JSON outputJSON outputs with json_schema | Yes |
| Tool / function callingStrict tool use | Yes |
| StreamingWorks with streaming | Yes |
| MCP supportMCP connector (beta) | Yes5 |
| Official SDKs7 languages plus CLI | Yes3 |
| EU / data residencyOnly global or US inference geo | No6 |
| Free tierNot in Claude API docs | Not published4127 |
| Fine-tuningNot in Claude API docs | Not published4127 |
| Open source / self-hostNot in Claude API docs | Not published4127 |
| SLA publishedNot in Claude API docs | Not published4127 |
Fit and safety
Good for
- Compare enum values case-insensitively (Anthropic’s own caveat).
Watch out
- No probabilities means thresholds need another signal; a self-reported "confidence" field in your schema is generated text, not a calibrated probability.
- Same pattern applies: deterministic rules own hard constraints; the model is advisory; fail closed on errors.
How it works
- Two features: JSON outputs (output_config.format with a json_schema) and strict tool use (strict: true on a tool). They can be combined in one request.
- No special header is required any more; the old output_format parameter is deprecated.
- Not compatible with Citations or message prefilling. Works with Batch (50% off), streaming, and token counting.
Compare
Put Anthropic Claude (tool use / structured outputs) side by side with other APIs on price, limits and features. Open the comparison table →
Deciding between a decision model and a generative LLM? See Decision model vs LLM: when to use which.
SourcesFootnotes
- 1platform.claude.com/docs/en/about-claude/pricingplatform.claude.com/docs/en/about-claude/pricingVerified 2026-11-11
- 2platform.claude.com/docs/en/about-claude/models/overviewplatform.claude.com/docs/en/about-claude/models/overviewVerified 2026-11-11
- 3platform.claude.com/docs/en/build-with-claude/structured-outputsplatform.claude.com/docs/en/build-with-claude/structured-outputsVerified 2026-11-11
- 4platform.claude.com/docs/en/api/rate-limitsplatform.claude.com/docs/en/api/rate-limitsVerified 2026-10-16
- 5platform.claude.com/docs/en/agents-and-tools/mcp-connectorplatform.claude.com/docs/en/agents-and-tools/mcp-connectorVerified 2026-10-16
- 6platform.claude.com/docs/en/build-with-claude/data-residencyplatform.claude.com/docs/en/build-with-claude/data-residencyVerified 2026-10-16
- 7trust.anthropic.comtrust.anthropic.comChecked 2026-10-16
- 8Anthropic pricingdocs.anthropic.com/en/docs/about-claude/pricingCited
- 9Anthropic structured outputsdocs.anthropic.com/en/docs/build-with-claude/structured-outputsCited