Roboflow
Anthropic

Anthropic: Claude Sonnet 4.6

Claude Sonnet 4.6 Overview

Claude Sonnet 4.6 is Anthropic's mid-tier large language model, released February 17, 2026, designed to balance performance, cost, and versatility for professional and developer use. It supports text and vision-based tasks with advanced reasoning, agentic capabilities, and Adaptive Thinking — a mode where the model dynamically scales its internal reasoning depth. A beta context window of up to 1,000,000 tokens (200K standard) enables processing of entire codebases or document collections in a single request. Parameters are undisclosed.

Optimized for coding, computer use, long-context reasoning, agent planning, and knowledge work, Sonnet 4.6 delivers a full generational upgrade over Sonnet 4.5 and approaches Opus 4.5-level performance across many benchmarks at a fraction of the cost. It is the default model on Claude.ai, Claude Cowork, and is available via API and major cloud platforms — making it well suited for production workloads requiring strong reasoning without flagship pricing.

Claude Sonnet 4.6 Interactive Demo

Claude Sonnet 4.6 Details & Performance

Details

Resources

Vision Tasks

CaptioningChart Question AnsweringClassificationDocument Question AnsweringImage TaggingMulti-Label ClassificationOCRObject DetectionVision LanguageVisual Question Answering

Features

Foundation VisionLLMs with Vision CapabilitiesMultimodal Vision

Usage

Past 30 Days

Performance

Avg. Latency

Arena Rankings

Claude Sonnet 4.6 Vision Evals

Claude Sonnet 4.6 has not yet been evaluated on the current benchmark. The results below are from the legacy version of Vision Evals, our previous benchmark. See the current Vision Evals

Visual Understanding

77 models · 67 tasks
HighestLowest
This model#19 of 7770.15% pass rate · better than 69%
Score70.15%pass rate across 67 tasks
Speed4.24savg response per task
Cost$0.0080 / task$3.00 in · $15.00 out / 1M
Tokens2.3K / task2.2K in · 105 out
Score key:≥75%40–74%<40%
CategoryPassedScore
Defect Detection12 / 15
80%
Spatial Understanding15 / 19
78.9%
Document Understanding7 / 9
77.8%
Object Understanding10 / 14
71.4%
Object Counting3 / 10
30%
HighestLowest
This model#17 of 5881.66% pass rate · better than 71%
Score81.66%pass rate across 229 tasks
Speed3.42savg response per task
Cost$0.0035 / task$3.00 in · $15.00 out / 1M
Tokens831 / task736 in · 85 out
Score key:≥75%40–74%<40%
CategoryPassedScore
License Plate Recognition27 / 30
90%
Text Recognition26 / 30
86.7%
Focused Scene OCR85 / 99
85.9%
VQA & Extraction44 / 60
73.3%
Handwritten Math5 / 10
50%

Scores based on a single evaluation run · Methodology

View all legacy Vision Evals results →

Claude Sonnet 4.6 Pricing

Claude Sonnet 4.6 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens.

Input$3.00 / 1M tokens
Output$15.00 / 1M tokens
Cached input$0.300 / 1M tokens

Pricing updated Aug 23, 2026

Price vs. performance

Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost). Based on Vision Evals (legacy) results.

11 of 11 models plotted

ModelScoreMedian tokensEst. cost / taskCompare
GoogleGemini 3.1 Pro75.8%1.1K$0.0024Compare
GoogleGemini 3 Flash74.6%1.4K$0.0014Compare
OpenAIGPT-5 Mini73.1%1.8K$0.0006Compare
QwenQwen3.5 27B71.6%1.2K$0.0002Compare
AnthropicClaude Sonnet 570.2%2.2K$0.0048Compare
AnthropicClaude Sonnet 4.6(this model)70.2%2.3K$0.0080
OpenAIGPT-5.6 Luna70.2%1.5K$0.0003Compare
GoogleGemini 2.5 Pro70.2%856$0.0060Compare
GoogleGemini 3.1 Flash-Lite68.7%1.1K$0.0003Compare
GoogleGemma 4 26B A4B68.7%531$0.0001Compare
QwenQwen3.6 Plus68.7%1.6K$0.0005Compare

Alternatives to Claude Sonnet 4.6

Other models worth comparing for similar use cases.

Google
Gemini 3.5 Flash
Gemini 3.5 Flash is a multimodal language model developed by Google DeepMind and released at Google I/O 2026. It is built on the Gemini 3 Flash reasoning foundation and introduces configurable thinking levels (minimal, low, medium, and high) that allow developers to tune the depth of internal reasoning before a response is generated. The model accepts text, image, video, audio, and PDF inputs and produces text output, with a 1 million token context window and up to 65,000 output tokens per request. It is natively multimodal, processing visual inputs alongside text to support tasks such as image captioning, classification, optical character recognition, object detection, and visual grounding, where the model references specific regions within an image or video frame.Its vision capabilities extend to interpreting UI screenshots, diagrams, charts, and real-world scenes, as well as understanding video and live frame sequences for activity and scene recognition. The model supports combined tool use, including Google Search, URL context, code execution, and custom functions, within a single request, and it uses reasoning context from previous turns when thought signatures are present in the conversation history, enabling persistent multi-turn reasoning chains. Gemini 3.5 Flash carries a knowledge cutoff of January 2026 and is available via the Gemini API, Google AI Studio, Google Antigravity, and the Gemini Enterprise Agent Platform.
OpenAI
GPT-5.4 Mini
GPT-5.4 mini is a fast, cost-efficient model developed by OpenAI and released on March 17, 2026, optimized for high-throughput workloads and subagent orchestration. It supports text and image inputs within a 400,000-token context window, making it ideal for processing extensive visual datasets and large codebases in a single request. Designed for low-latency production environments, the model integrates with key API features including function calling, web search, and tool-based computer use, allowing it to assist in automated workflows that require navigating digital interfaces.Compared to the previous GPT-5 mini, this version runs more than twice as fast while approaching the performance levels of the flagship GPT-5.4 on reasoning and coding benchmarks. While the larger GPT-5.4 introduces native, state-of-the-art computer-use capabilities, GPT-5.4 mini provides a scalable alternative for interpreting screenshots and reasoning over dense UI layouts. For vision tasks on Playground, it excels at extracting structured information from visual documents and assisting in agentic tasks that involve real-time interpretation of software interfaces alongside text.
Qwen
Qwen3.6 35B A3B
Qwen3.6-35B-A3B is a sparse Mixture-of-Experts (MoE) multimodal language model developed by the Qwen team at Alibaba Group. It carries 35 billion total parameters but activates only approximately 3 billion per forward pass via a learned routing mechanism, giving it the representational capacity of a large dense model at a fraction of the inference compute. The model is natively multimodal, processing images, documents, and video alongside text as a core architectural capability rather than an add-on. It supports a native context window of 262,144 tokens, extensible up to 1,010,000 tokens via YaRN. A key design feature is the unified thinking/non-thinking mode framework: users can switch between deliberate chain-of-thought reasoning and fast direct responses within a single model, and a "thinking preservation" option retains reasoning context across multi-turn agentic workflows to reduce redundant computation.The model is specifically optimized for agentic coding tasks, including repository-level reasoning, frontend workflow generation, multi-step tool use, and MCP (Model Context Protocol) integration. On SWE-bench Verified it scores 73.4%, on Terminal-Bench 2.0 it scores 51.5%, and on MCPMark it scores 37.0%. For vision-language tasks it achieves 92.0 on RefCOCO, 89.9 on OmniDocBench 1.5, and 83.7 on VideoMMMU. The model also supports Multi-Token Prediction (MTP) for speculative decoding. All Qwen3.6 open-weight models are released under the Apache 2.0 license.
OpenAI
GPT-5.6 Terra
GPT-5.6 Terra is the mid-tier reasoning model in OpenAI's GPT-5.6 family, which also includes the flagship Sol and the lightweight Luna. Introduced in a limited preview on June 26, 2026, and made broadly available on July 9, 2026, Terra accepts text and image input and produces text output, supporting vision, function calling, tool use, and agentic workflows. It is designed as a balanced option for everyday professional and production workloads — including coding assistance, document analysis, customer support, and multi-step agent tasks — where both output quality and cost efficiency matter. OpenAI positions Terra as delivering performance competitive with GPT-5.5 at approximately half the price, with a context window of around 1,050,000 tokens. On Terminal-Bench 2.1, Terra scores 84.3%, matching Claude Fable 5 on that benchmark. Under OpenAI's Preparedness Framework, Terra is rated High for cybersecurity and biological capabilities, meaning it demonstrates meaningful capability in those domains without reaching the Critical threshold.GPT-5.6 introduces a new naming convention in which the generation number (5.6) is paired with a durable capability tier name (Sol, Terra, or Luna), allowing each tier to advance on its own schedule. Terra carries the API identifier gpt-5.6-terra and supports the same reasoning effort controls available across the family, including adjustable reasoning depth. The model includes prompt caching with explicit cache breakpoints and a 30-minute minimum cache life, with cache writes billed at 1.25x the uncached input rate and cache reads receiving a 90% discount. GPT-5.6 Terra is a proprietary, closed-weights model served through the OpenAI API, Codex, and ChatGPT.
Google
Gemma 4 31B
Gemma 4 31B is the largest dense model in Google's Gemma 4 family, built from the same research as Gemini 3 and released as open weights under the Apache 2.0 license. It supports a 256K token context window with text and image input, configurable thinking mode for step-by-step reasoning, and multilingual support across 140+ languages. The unquantized model fits on a single 80GB GPU.For vision tasks, Gemma 4 31B supports image understanding with variable aspect ratios and resolutions, and can output structured bounding boxes for UI element detection, making it useful for document parsing and UI understanding. Compared to Gemma 3, it delivers stronger reasoning and multimodal performance. It is part of a four-size family alongside the 26B A4B MoE variant and two on-device models (E2B, E4B), with the 31B dense variant optimized for output quality and fine-tuning over inference speed.

Other Anthropic Sonnet models

Other versions in the same family as Claude Sonnet 4.6.

Deploy Claude Sonnet 4.6 with an API

Claude Sonnet 4.6 runs as a hosted REST endpoint through Roboflow Workflows. Pick a task, then hand the prompt to your coding agent or copy the code. Deploying the workflow into a free Roboflow workspace replaces the your-workspace and YOUR_API_KEY placeholders with your own.

Connect your agent to Roboflow (once)

Add the Roboflow MCP server

claude mcp add --transport http roboflow https://mcp.roboflow.com/mcp

Run /mcp and authorize Roboflow in your browser when the OAuth flow opens.

Start a new Claude Code session so the MCP loads, then paste the prompt below (it works the same in any agent).

Deploy this workflow to your Roboflow workspace to use it.

Integrate the Roboflow "Claude Sonnet 4.6" workflow into my app.

- Endpoint: POST https://serverless.roboflow.com/<your-workspace>/workflows/claude-sonnet-4-6-captioning
- Auth: send my Roboflow API key as `api_key` in the request body, read from the ROBOFLOW_API_KEY env var (never hardcode).
- Body: { "api_key": ..., "inputs": { `image`: { type: "url" | "base64", value } } }.
- Billing: this workflow needs no provider API key — inference runs on my Roboflow credits. A BYO provider key can be added to the model step in the Roboflow workflow editor later.

With the Roboflow MCP connected, call `workflows_get` on "claude-sonnet-4-6-captioning" to read the exact input schema (the source of truth), then `workflows_run` on a sample image to confirm the output shape before writing code (the MCP is authenticated, so this needs no key). Without the MCP, use the contract above.

Before running the app, set up these keys so it does not error at runtime:
- `ROBOFLOW_API_KEY` (sent as `api_key`) from https://app.roboflow.com/settings/api
Create a .gitignore'd .env with these variables, using placeholder values for any I haven't given you. Then pause and tell me directly, in your reply: the full path to the .env file, exactly which keys I need to paste in, and the link to get each one. Wait for me to confirm I've added them before you run anything. Do not run the app until I confirm.

Then add the integration to my codebase: match my project's language, framework, and conventions; read every key from environment variables (never hardcode); add basic error handling; and include a small runnable example. If you can't tell what language my project uses, ask me.
Installpip install inference-sdk

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workflow
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="YOUR_API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="your-workspace",
  workflow_id="claude-sonnet-4-6-captioning",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Deploy this workflow to your Roboflow workspace to use it.

// Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
const response = await fetch('https://serverless.roboflow.com/your-workspace/workflows/claude-sonnet-4-6-captioning', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    api_key: 'YOUR_API_KEY',
    inputs: {
      "image": {"type": "url", "value": "IMAGE_URL"}
    }
  })
});

const result = await response.json();
console.log(result);

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
curl --location 'https://serverless.roboflow.com/your-workspace/workflows/claude-sonnet-4-6-captioning' \
--header 'Content-Type: application/json' \
--data '{
  "api_key": "YOUR_API_KEY",
  "inputs": {
    "image": {"type": "url", "value": "IMAGE_URL"}
  }
}'

Claude Sonnet 4.6 License

Proprietary

Claude Sonnet 4.6 is proprietary: the weights are not distributed, and the Claude Sonnet 4.6 license is the vendor's commercial terms of service that you accept when you call the API.

Commercial use
Permitted under the vendor terms, typically metered per token or per request, with the vendor usage policy applying to your inputs and outputs.
Modification
Not available. Claude Sonnet 4.6 weights are closed, so you can configure prompts and use vendor-hosted fine-tuning where it is offered, but you cannot modify the model itself.
Redistribution
Not permitted. You cannot self-host or resell the model; you build on the hosted API instead.

Vendor terms govern data retention, whether your inputs can be trained on, rate limits, and regional availability, and they can change with notice. Review them if you handle regulated or customer data.

Do I need a commercial license for Claude Sonnet 4.6?

Proprietary terms are set by the vendor rather than negotiated per project, and no open-source obligation attaches to your code. If you would rather deploy a model whose commercial license is included in your plan — on Roboflow Managed Cloud or a Self-Hosted Inference Server — Roboflow's licensing page lists the supported alternatives to Claude Sonnet 4.6.

Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

This model is proprietary. The author retains all rights, and use of the model is governed by their specific terms of service or license agreement.

Commercial use depends on the terms set by the model author. Most proprietary commercial models require a paid subscription, API key, or per-call billing. Check the provider’s pricing and terms-of-service for details.

License information is provided as a guide and is not legal advice.

Frequently Asked Questions About Claude Sonnet 4.6 Vision

Yes. Claude Sonnet 4.6 accepts image input, and on Roboflow's previous vision benchmark it passed 70.2% of visual understanding tasks (#19 of 77) and scored 81.7% on OCR. You can test it on your own image in the demo above.

Claude Sonnet 4.6 has not yet been evaluated on Roboflow's current Vision Evals. The results on this page are from the previous benchmark.

Yes. The demo on this page runs Claude Sonnet 4.6 in the free Roboflow Playground: upload an image and see results in seconds. A free account unlocks unlimited runs.