OpenRouter model

Anthropic: Claude Sonnet 4

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Provider
OpenRouter
Availability
Available
Model ID
anthropic/claude-sonnet-4
Snapshot
2026-10-07

Anthropic: Claude Sonnet 4 model overview

Anthropic: Claude Sonnet 4 is listed in the public Swarm catalog through OpenRouter. This page summarizes the verified catalog fields used by Swarm without claiming real-time access for every provider account.

Provider
OpenRouter
Family
OpenRouter
Context window
200K tokens
Thinking support
off
Availability status
Available
Catalog ID
openrouter/anthropic/claude-sonnet-4
  • File input
  • Image input
  • Text input
  • Text output
  • Reasoning
  • Tools

Run Anthropic: Claude Sonnet 4 in Swarm

Verified CLI workflow & multi-agent architecture

Quickstart Guide →
bash — swarm run
$swarm ctl model set --provider openrouter --model openrouter/anthropic/claude-sonnet-4

# Or switch interactively inside the terminal TUI:

>/models

Subagent Role Matrix

Assign Anthropic: Claude Sonnet 4 to specialized system roles in ~/.swarm/config.json:

  • Primary / Planner: Orchestrates full task DAGs and multi-stage pipelines.
  • Coder Subagent: Generates code and unit tests inside private Git worktrees.
  • Finder Subagent: Performs read-only code search, symbol discovery, and mapping.
← All OpenRouter models

Public catalog snapshot. Catalog availability is not a real-time provider status or an access guarantee.