Roboflow

AnthropicAnthropicReleased Feb 2026Proprietary

Claude Sonnet 4.6

Claude Sonnet 4.6 has no score on the current Vision Evals. On the earlier Vision Evals board (last updated July 9, 2026) it passed 70.2% of visual understanding tasks (#19 of 77).

It is a proprietary model from Anthropic, so commercial use follows Anthropic's terms.

Claude Sonnet 4.6 Interactive Demo

Model settings

Extended thinking

Max output tokens

Default 64,000 · max 64,000

Sign in to adjust thinking and output length per run.

Results appear here. Add an image or pick an example to run Claude Sonnet 4.6.

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 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.

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 Nov 22, 2026

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 an open model instead of Claude Sonnet 4.6, Roboflow's licensing page lists the models whose commercial license is included when you deploy on Roboflow.

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

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

Claude Sonnet 4.6 Details

Details

Categoryclosed
ModalityMultimodal
Context Window1.0M
LicenseProprietary
Release DateFeb 2026

Vision Tasks

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

Usage

Past 30 Days

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.0003Compare
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.

Gemini 3.5 Flash is a multimodal language model developed by Google DeepMind and released at Google I/O 2026.
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.
Qwen3.6-Flash is the production API variant of the Qwen3.6 model series, developed by the Qwen team at Alibaba Group.
Gemma 4 26B A4B is the Mixture-of-Experts variant in Google's Gemma 4 family, with 25.2B total parameters but only 3.8B active per token.

Other Anthropic Sonnet models

Other versions in the same family as Claude Sonnet 4.6.

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.

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 gives you more runs with free Roboflow credits.