Skip to content
API Reference

Anthropic Claude API

SIRAYA Model Router provides full support for the Anthropic Claude API, allowing you to use Claude models with their native message format. See the Claude model list for the available models.

Overview

Anthropic's models are known for their safety, long context windows (up to 1M tokens), and excellent reasoning capabilities. Our platform routes your Claude requests directly to the best-performing providers, and it works with the official Anthropic SDKs for the Messages API. The anthropic-version and anthropic-beta request headers are not forwarded to the provider; beta features such as prompt caching and extended thinking are enabled from the request body.

Available Endpoints

API Description
Messages API The primary interface for single queries and multi-turn conversations.

Why use Claude on SIRAYA Model Router?

  • SDK Compatibility: Use the official @anthropic-ai/sdk (Node.js) or anthropic (Python) easily.
  • Prompt Caching: Mark recurring context with cache_control to benefit from Anthropic's prompt caching. See Prompt Caching.
  • Extended Thinking: Support for extended thinking on Claude models, with the thinking mode adapted to each model.
  • Unified Billing: Pay for Anthropic models using your central SIRAYA Model Router credit balance.