Endpoint
Authentication
Include your AnyFast API key as a Bearer token:Quick example
Supported models
| Model | Description |
|---|---|
| claude-sonnet-4-6 | Latest and most capable Sonnet model |
| claude-sonnet-4-5-20250929 | Claude Sonnet 4.5 |
| claude-sonnet-4-20250514 | Claude Sonnet 4 |
| claude-opus-4-6 | Latest and most capable Opus model |
| claude-opus-4-5-20251101 | Claude Opus 4.5 |
| claude-opus-4-1-20250805 | Claude Opus 4.1 |
| claude-opus-4-20250514 | Claude Opus 4 |
| claude-haiku-4-5-20251001 | Fast and cost-effective Haiku model |
| claude-3-7-sonnet-20250219 | Claude 3.7 Sonnet |
| claude-3-5-sonnet-20241022 | Claude 3.5 Sonnet |
Features
- Extended thinking — Enable deep reasoning with the
thinkingparameter - Streaming — Set
stream: truefor real-time token streaming via SSE - Tool use — Define tools with
toolsand control usage withtool_choice - Vision — Send images via content blocks with
type: "image" - System prompts — Use the
systemparameter for context and instructions