Use Anthropic SDK through Keywords AI
max_tokens
in your requests if you need a different value.Thinking
Feature: You can use the Thinking
feature from Claude 3.7 Sonnet
or Claude 4 models.extra_headers
parameter. This is useful for sending custom headers required by specific models or configurations.
extra_headers
parameter allows you to pass additional headers that will be sent with your LLM request. This is particularly useful for accessing beta features like Claude Sonnet 4’s 1M token context window using the anthropic-beta: context-1m-2025-08-07
header.metadata
parameter. In the above example, customer_identifier
is a Keywords AI parameter. These parameters will take precedence over the Anthropic parameters if they are conflicting.