Claude Sonnet 5

anthropic/claude-sonnet-5

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

Review option pricing before running.

Runs started with multiple options stay blind until you vote.

Use through the API
In / out per 1M
Official price: $2.00Sale price: $1.40Official price: $10.00Sale price: $7.0030% off
Modalities
Text, Image
Context
1M
Released
Jun 30, 2026

Overview

A mid-tier model balancing latency against reasoning quality for everyday application and assistant work. It is billed from the same balance as every other model and tool here, and the price of each call comes back in the response.

Run Claude Sonnet 5 with an agent

Each guide pairs this model with a currently compatible agent, explains their separate roles, and opens the shared Composer with both selections ready.

  • Hermes + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Claude Code + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Codex + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenClaw + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • pi + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • DeepSeek Harness + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kimi Code + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenCode + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • DeepAgents + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • goose + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kilo + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • MiniMax Code + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenHands + Claude Sonnet 5

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide

Pricing

30% off

Prices in 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

Your balance and per-call records come from /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