PL Log inCreate account

Chat & code Anthropic · 2026-10

Claude Sonnet 5.5 API

The newest Sonnet: the everyday model for code and agents, cheaper than Sonnet 5

Input$1.89per 1M tokens
Output$9.45per 1M tokens
Cached input$0.189per 1M tokens

1,000 chatbot replies$6.621,500 input + 400 output tokens each

Prompt caching works through the API: repeated context is billed at the cached rate. Failed requests cost nothing.

Compare with other chat models →

Claude Sonnet 5.5 is Anthropic's successor to Claude Sonnet 5 in the Sonnet line. On Jantaris it has a 1,000,000-token context window and up to 128K output tokens, like its predecessor, and the per-token rate here is lower than for Sonnet 5. It is the model for everyday coding, tool-using agents and business tasks where Opus would be overkill. Adaptive thinking is on by default, and you set reasoning depth with reasoning_effort (default high).

Best for

  • The default model in Claude Code, Cursor or Cline
  • Agents that call tools and APIs over many steps
  • Code review, tests and fixes in large repositories
  • Long documents in a single request thanks to the 1M window

How to call it

Swap the base URL in the OpenAI SDK and use the id claude-sonnet-5.5:

python
from openai import OpenAI

client = OpenAI(base_url="https://jantaris.com/v1", api_key="sk-jt-...")
resp = client.chat.completions.create(
    model="claude-sonnet-5.5",
    reasoning_effort="medium",
    messages=[{"role": "user", "content": "Find the root cause in this log and propose a fix."}],
)
print(resp.choices[0].message.content)

It also works with the Anthropic SDK and Claude Code through /v1/messages, see the Claude Code guide.

FAQ

How much does Claude Sonnet 5.5 cost per 1M tokens?

On Jantaris: $1.89 / $9.45 per 1M tokens. Thinking is billed as output tokens, so for simple tasks lower reasoning_effort to low or medium.

Can I turn thinking off on Sonnet 5.5?

Not with thinking: {"type": "disabled"} - Sonnet 5.5 returns a 400 error for it. Anthropic recommends a lower effort instead. Through /v1/messages you can also send thinking: {"type": "between_tools"} at high effort or below.

What changes when moving from Sonnet 5?

Forced tool choice (tool_choice of type any or a named tool) returns a 400 error - use auto and name the tool in the instruction. Non-default temperature, top_p and top_k are rejected, as on Sonnet 5. Anthropic also recalibrated the effort levels, so re-check which one is enough. Both versions side by side: Sonnet 5.5 vs Sonnet 5.

How to call Claude Sonnet 5.5 via API

from openai import OpenAI

client = OpenAI(base_url="https://jantaris.com/v1", api_key="sk-jt-...")
resp = client.chat.completions.create(
    model="claude-sonnet-5.5",
    messages=[{"role": "user", "content": "Write a haiku about Baltic amber."}],
)
print(resp.choices[0].message.content)