Overview
Anthropic provides the Claude family of models known for safety, accuracy, and extended thinking capabilities. Upsonic supports all Claude models including Claude 3.5, Claude 3.7, and Claude 4. Model Class:AnthropicModel
Authentication
Examples
Parameters
| Parameter | Type | Description | Default | Source |
|---|---|---|---|---|
max_tokens | int | Maximum tokens to generate | 4096 | Base |
temperature | float | Sampling temperature (0.0-1.0) | 1.0 | Base |
top_p | float | Nucleus sampling threshold | 1.0 | Base |
stop_sequences | list[str] | Sequences that stop generation | None | Base |
timeout | float | Request timeout in seconds | 600 | Base |
extra_headers | dict[str, str] | Additional HTTP headers | None | Base |
anthropic_metadata | dict | Request metadata with user_id | None | Specific |
anthropic_thinking | dict | Extended thinking configuration | None | Specific |

