Back
AnthropicClaude API
Models API: Query available models, validate model IDs, and resolve model aliases to their canonical model IDs
AI summary
Written by AI from the official notes. Check them for exact details.New features include a Models API for querying models and cost-saving options for message processing and prompt caching.
- Models API for querying and validating model IDs
- Message Batches API reduces processing costs by 50%
- Token counting API for pre-sending token calculations
- Prompt Caching cuts costs by up to 90%
- PDF support for analyzing text and visuals in documents
Why it matters: Developers and businesses using Claude should care for improved efficiency and cost savings.
Full release notes7 changes
- Models API: Query available models, validate model IDs, and resolve model aliases to their canonical model IDs.
- Message Batches API: Process large batches of messages asynchronously at 50% of the standard API cost.
- Token counting API: Calculate token counts for Messages before sending them to Claude.
- Prompt Caching: Reduce costs by up to 90% and latency by up to 80% by caching and reusing prompt content.
- PDF support: Process PDFs to analyze both text and visual content within documents.
- Java SDK (alpha)
- Go SDK (alpha)