Skip to main content

Messages API

Radium serves the Anthropic Messages endpoint at POST /v1/messages. The Anthropic SDK, Claude Code and PydanticAI can all point at Radium.

Endpoint

Request format

Response format

Reading the response

When reasoning is enabled, a thinking block precedes the text block. Read the last block:

Limitations

The token count endpoint is available at POST /v1/messages/count_tokens.