AI for Production: we'll match your first deposit 100% (x2 credits), up to $1,000 in bonus credits. Limited time.Bonus termsGet API key

LLM API
AnthropicText generationReleased September 28, 2026

Claude Sonnet 5.5

Claude Sonnet 5.5 costs $2 per 1M input tokens and $10 per 1M output tokens on LLM API, with a 1M-token context window.

Pricing

Lowest price among 3 providers, after discounts.

Claude Sonnet 5.5 prices on LLM API
Input$2per 1M tokens
Output$10per 1M tokens
Cache read$0.1per 1M tokens
Cache write, 5 minutes$2.5per 1M tokens
Cache write, 1 hour$4per 1M tokens

Providers

Prices after each provider’s discount; the lowest in bold.

Providers of Claude Sonnet 5.5 on LLM API
Anthropic$2$10$0.11M128K
AWS Bedrock$2$10$0.11M128K
ComputeBase$2$10$0.11M128K

Features

“Some providers”: not every provider of this model supports it.

  • ToolsYes
  • Parallel tool callsNo
  • Image inputYes
  • ReasoningYes

    Levels: low, medium, high, xhigh, max · default medium

  • Prompt cachingYes
  • Structured outputsSome providers
  • JSON modeSome providers
  • StreamingYes
  • Web searchYes

Call Claude Sonnet 5.5

POST /v1/messagesSet LLMAPI_KEY to your LLM API key.Anthropic Messages docs

import os

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.llmapi.ai",
    api_key=os.environ["LLMAPI_KEY"],
)

message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=16000,
    messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
    if block.type == "text":
        print(block.text)

More from Anthropic

All Anthropic text models

Prices synced .

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up