Anthropic SDK (gateway)
Route Anthropic SDK calls through the Respan gateway. Only your RESPAN_API_KEY is needed — no separate ANTHROPIC_API_KEY required.
Setup
Switch models
Change the model parameter to use different Claude models through the same gateway.
See the full model list.
Respan parameters
Pass additional Respan parameters via metadata under the respan_params key for gateway features.
respan_params must be an object, as shown above. A string (including a json.dumps of the object), list, number or boolean is silently ignored: the request is still served, but no customer_identifier or other param applies. See respan_params must be a JSON object.
See Respan params & metadata for the full list.