Skip to main content
The Anthropic SDK can call RedPill’s compatible /v1/messages endpoint directly. Set the RedPill host without /v1 because the SDK appends /v1/messages.
Use auth_token in Python or authToken in TypeScript. The api_key option sends x-api-key, while RedPill expects Authorization: Bearer.

Install

Send a message

Choose a model

Use an exact Anthropic model ID from the live catalog:
Model availability and supported fields change. Test streaming or tool use with the selected model before depending on it in production.

Privacy boundary

Every request enters through RedPill’s attested gateway. Check the model’s is_tee value and the response receipt to determine whether the upstream model provider was also verified. Do not use the TEE-only base URL with a model whose catalog entry has is_tee: false.

Troubleshooting

References