Roar AI
Get started
Anthropic

Claude API

Access Anthropic’s Claude models through Roar AI, with published rates, usage controls and one bill for every model.

Build with the native Anthropic SDK, the OpenAI SDK or the REST API, and reach Claude and over 200 other AI models from one account.

These are API prices for building with Claude models, billed by what you use. They are not the price of a Claude plan.

Claude API models and pricing

Compare every Claude model’s input and output rates, context window, and its cached and batch rates where it has them.

ModelInput / 1MOutput / 1MContextBest forProcessed in
$10$501MProducts already built on Fable 5.1Global
Cached input$0.25$12.50 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$5$25Results within 24 hours, for work nobody is waiting on.
Everything about Claude Fable 5.1
$8$401MLong-running agents and the hardest problemsGlobal
Cached input$0.20$10 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$4$20Results within 24 hours, for work nobody is waiting on.
Everything about Claude Fable 5.2
$5$251MProducts already built on Opus 5Global
Cached input$0.50$6.25 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$2.50$12.50Results within 24 hours, for work nobody is waiting on.
Everything about Claude Opus 5
$4$201MComplex coding and knowledge workGlobal
Cached input$0.20$5 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$2$10Results within 24 hours, for work nobody is waiting on.
Everything about Claude Opus 5.5
$2$101MEveryday coding and documentsGlobal
Cached input$0.20$2.50 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$1$5Results within 24 hours, for work nobody is waiting on.
Everything about Claude Sonnet 5.5
$1$5200KProducts already built on Haiku 4.5Global
Cached input$0.10$1.25 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$0.50$2.50Results within 24 hours, for work nobody is waiting on.
Everything about Claude Haiku 4.5
$0.10$0.501MLive chat, routing and sub-agentsGlobal
Cached input$0.01$0.125 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$0.05$0.25Results within 24 hours, for work nobody is waiting on.
Long requests$0.50$2.50Above 100,000 input tokens, the whole request is billed at these rates.
Everything about Claude Haiku 5.5

Per million tokens, in US dollars, unless a row names another unit. API usage is billed separately from Claude’s subscription plans. Compare them for your own usage with the token calculator.

Which Claude model should you use?

Claude models offer different levels of intelligence, speed and cost. The right one depends on what your application needs.

A balanced choice for most applications, including software development, document processing, AI assistants and automated workflows.

Suited to demanding tasks such as complex software engineering, professional research, detailed analysis and working across large codebases.

Designed for advanced reasoning, complex problem-solving and agentic workflows, where capability matters more than response time and cost.

A fast, lower-cost option for customer support, information extraction, classification and high-volume applications.

Why access Claude through Roar AI?

Roar AI is one platform for calling and managing AI models from Anthropic, OpenAI, Google and other labs.

Native SDK support

Use the Anthropic SDK, the OpenAI SDK or the REST API, so Claude fits into new or existing code without a different SDK.

Over 200 AI models

Reach every model family through one account and one API key, and choose the right model for each job without separate provider accounts.

Published rates

Every model has a published rate for input and output, and for caching and batch processing where they exist.

Usage and billing in one place

Follow usage across models, apps and teams, on one monthly invoice.

Spending controls

Give each app or team its own key, with a spend limit, so no single key can run up a bill.

No separate Anthropic account

Use every Claude model listed here without creating or maintaining an account with Anthropic.

How to use the Claude API

Getting started takes three steps:

  1. Create a Roar AI account and generate an API key.
  2. Point your SDK at the Roar AI API address.
  3. Choose a Claude model and make your first request.

Roar AI answers on Anthropic’s own Messages API and on the OpenAI-compatible Chat Completions API, so you can build with whichever SDK you prefer.

If you already use the Anthropic SDK, keep it and the request format you know: change only the address, the key and the model ID.

import os
import anthropic

client = anthropic.Anthropic(
    base_url="https://api.roar-ai.com",
    api_key=os.environ["ROAR_API_KEY"],
)

message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)
print(message.content[0].text)

Read the API documentation.

How Claude API pricing works

Input tokens

Instructions, messages, documents, conversation history and anything else you send to the model.

Output tokens

What the model writes back. On models that reason before answering, that thinking is billed as output too.

Prompt caching

Repeated parts of a prompt can be cached, so the same material costs less on every request after the first. Cache rates vary by model.

Batch processing

Models that support it take work nobody is waiting on at a lower rate, with results within 24 hours.

Your total depends on the model, the tokens you send and receive, and the features you use. For recurring work, caching, batching and choosing the right model are what bring the bill down.

Estimate your Claude API costs

A request costs its input tokens plus its output tokens, each at the model’s rate. A support assistant might send several thousand input tokens of customer history, product details and instructions, and write back only a few hundred. A report generator writes far more, so its output share is much higher.

To estimate a monthly bill, work out:

  • How many requests you send in a month
  • The average input tokens per request
  • The average output tokens per request, including any reasoning
  • How much of each prompt can be cached, and how much work can wait for a batch

Then apply the rates in the pricing table above.

Claude API vs Claude subscriptions

The Claude API and Claude’s subscription plans are different products for different jobs.

Claude APIClaude subscription
Made forDevelopers and the apps they buildPeople using an AI assistant
BillingBy usageA fixed subscription
AccessFrom your own codeThe Claude website and apps
Custom integrationsYesOnly the product’s own features
Automated workflowsYesDepends on the plan and its features
Building your own appYesNot what it is for

A Claude Pro, Max or Team subscription is not needed to use Claude models through Roar AI.

Where are Claude API requests processed?

Claude models are processed on international infrastructure. Your requests enter through the Roar AI gateway nearest you; the rest of the way, the route is the one we chose for each model, and it stays the same from call to call.

Frequently asked questions

Can I use the Claude API through Roar AI?

Yes. Every Claude model listed on this page is available through Roar AI’s API, on the same key as every other model on the platform.

How is Claude usage billed?

At the published rate per model, on one monthly invoice together with any other models your team uses. The rate does not move with what a provider charges us.

Do I need a separate account with Anthropic?

No. One Roar AI key reaches every Claude model listed here, so there is no separate Anthropic account to set up.

Where are Claude requests processed?

Claude models are processed on international infrastructure. Your requests enter through the Roar AI gateway nearest you.

How do I get a Claude API key?

Create a Roar AI account and generate an API key from your dashboard. The same key reaches every Claude model and every other model on Roar AI.

What is the cheapest Claude model?

Claude Haiku is the most affordable Claude model family, suited to straightforward tasks and high-volume work. The pricing table on this page shows the current rates.

Can I use the native Anthropic SDK?

Yes. Roar AI answers on Anthropic’s Messages API, so the Anthropic SDK and Claude Code work with only the address and key changed.

Can I use Claude with the OpenAI SDK?

Yes. Roar AI also speaks the OpenAI Chat Completions API, so the OpenAI SDK and tools built on it can call Claude by naming a Claude model.

Can I move an existing Anthropic integration to Roar AI?

Yes. Keep the Anthropic SDK and your request format, and change the API address, the key and the model ID. The documentation lists any differences in model-specific features and parameters.

Is Roar AI cheaper than calling Anthropic directly?

It depends on the model and how you use it. Roar AI publishes its own rate for every model, including cached and batch rates where they exist, so you can compare before you choose.

Do I need Claude Pro or Claude Max to use the API?

No. Claude subscriptions and API access are separate products. You do not need a paid Claude subscription to use Claude through Roar AI.

Can I switch between Claude, GPT and Gemini models?

Yes. Models from Anthropic, OpenAI, Google and other labs are all on the same Roar AI key. Switching is a change to the model name, allowing for differences in what each model supports.

Does the Claude API support prompt caching and batch processing?

Yes, for the models that offer them. Cached and batch rates are shown under each model in the pricing table.

Can I set spending limits for Claude API usage?

Yes. Each Roar AI key can carry a spend limit, and usage is shown per key, model and app.

Can I use the Claude API in commercial applications?

Yes, subject to Anthropic’s usage policies. Claude can be built into commercial software, internal tools, customer support systems and automated workflows.

Start building with Claude

Reach Claude and over 200 other AI models from one account, with native SDK support, published rates and usage in one place.