Claude Sonnet 5

by Anthropic
anthropic/claude-sonnet-5
30% off

Claude Sonnet 5 is a text and image-input model by Anthropic, available through the AgentSky API as anthropic/claude-sonnet-5 at $1.40 per million input tokens and $7.00 per million output tokens, with a 1M context window.

A mid-tier model balancing latency against reasoning quality for everyday application and assistant work.

Run Claude Sonnet 5 with an agent

Each guide pairs this model with a compatible agent and opens the composer with both selected.

Pricing

USD per million tokens, using your plan when signed in.
MeterPer 1M tokens
InputOfficial price: $2.00Sale price: $1.40
OutputOfficial price: $10.00Sale price: $7.00
Cache readOfficial price: $0.2Sale price: $0.14
Cache writeOfficial price: $2.50Sale price: $1.75

Every response carries its own cost. Balance and per-call records: /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://gateway.agentsky.dev",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const message = await client.messages.create({
  model: "anthropic/claude-sonnet-5",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response

Questions