Roboflow
Anthropic

Anthropic: Claude Opus 4.8

Claude Opus 4.8 Overview

Claude Opus 4.8 is Anthropic's most capable generally available large language model, released on May 28, 2026 as an incremental upgrade to Claude Opus 4.7. The model accepts text and image inputs and produces text outputs, with a 1 million token context window on the Claude API, Amazon Bedrock, and Google Cloud Vertex AI (200k tokens on Microsoft Foundry) and up to 128k max output tokens. It uses adaptive thinking and supports adjustable effort tiers — high by default, with extra and max tiers available for more demanding tasks. A fast mode operates at approximately 2.5x standard speed. The model is described by Anthropic as a hybrid reasoning model designed for advanced coding, agentic workflows, long-context reasoning, and professional knowledge work.

Key behavioral improvements over Opus 4.7 include substantially reduced rates of unreported code flaws, improved honesty in self-assessment, and better tool-calling reliability. On Anthropic's Super-Agent benchmark, Opus 4.8 completes every case end-to-end, and it scores 84% on Online-Mind2Web for computer-use and browser-agent tasks. It achieves 88.6% on SWE-bench Verified and 69.2% on SWE-bench Pro. Alongside the model, Anthropic launched Dynamic Workflows in Claude Code (research preview), which enables Claude to orchestrate hundreds of parallel subagents for codebase-scale tasks such as large migrations. The Messages API was also updated to accept mid-task system messages without breaking prompt caching, improving support for long-running agentic pipelines.

Claude Opus 4.8 Interactive Demo

Model settings

Extended thinking

Max output tokens

Default 65,536 · max 65,536

Sign in to adjust thinking and output length per run.

Results appear here. Add an image or pick an example to run Claude Opus 4.8.

Claude Opus 4.8 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

Claude Opus 4.8 Vision Evals

Vision Evals is Roboflow's ground-truth benchmark: every model runs the same real-world samples across five vision tasks, and answers are scored against ground truth.

Evals updated October 13, 2026Pricing updated October 19, 2026

Overall score#38 of 63
58.3%
Avg cost / sample#58 of 63
$0.021
Avg speed / sample#14 of 63
7.66s
Avg tokens / sample
2.6K

Strengths and weaknesses

Claude Opus 4.8 averages 58.3% across the five Vision Evals tasks, ranking #38 of 63 models overall.

Its weakest relative showing is Object Detection, ranking #47 of 63 at 38.6%.

At $0.021 per sample it is the 58th cheapest of the 63 benchmarked models, and its average inference time of 7.7s per sample makes it the 14th fastest.

Performance profile

Field medianClaude Opus 4.8

Field medians: Object Detection 54.4%, Counting 63.5%, Identification 84.4%, OCR 63.6%, Reasoning 57.6%.

Results by task

TaskScoreField (0 to 100)RankCost / sampleSpeed
Object Detection
38.6%
#47 of 63$0.0268.34s
Counting
54.0%
#43 of 63$0.00762.33s
Identification
84.4%
#31 of 63$0.00672.30s
OCR (low)
61.5%
#25 of 47$0.0259.48s
Single value
53.0%
Transcription
70.8%
Structured JSON
82.4%
Text localization
24.2%
OCR (high)
62.1%
#28 of 47$0.03816.14s
Single value
54.8%
Transcription
67.0%
Structured JSON
83.5%
Text localization
23.6%
Reasoning (low)
53.0%
#37 of 63$0.00783.00s
Reasoning (high)
52.3%
#46 of 50$0.00782.45s
  • Thinking longer helps: 0.7 points higher on ocr at high effort for 1.5x the cost and 1.7x the latency.
  • Thinking longer does not help: 0.7 points lower on reasoning at high effort for 1x the cost and 0.8x the latency.

Price vs. performance

Score vs. cost

Overall benchmark score against estimated cost per sample, on a log scale. Upper-left is the sweet spot: high quality at low cost.

62 models on the current benchmark · scores and efficiency pooled across all five tasks at low effort · Claude Opus 4.8 highlighted

Claude Opus 4.8 scores are from a single run per task; a three-run re-run under the current protocol is pending · Methodology

View all Vision Evals →

Claude Opus 4.8 Pricing

Claude Opus 4.8 costs $5.00 per 1M input tokens and $25.00 per 1M output tokens.

Input$5.00 / 1M tokens
Output$25.00 / 1M tokens
Cached input$0.500 / 1M tokens

Pricing updated Oct 19, 2026

Alternatives to Claude Opus 4.8

Other models worth comparing for similar use cases.

OpenAI
GPT-6.1 Sol
GPT-6.1 Sol is a reasoning model in OpenAI's GPT-6 series that accepts text and image input and returns text. It is an upgrade to GPT-6 Sol positioned to approach the intelligence of the larger GPT-6 Astra model on agentic coding, computer use, and professional knowledge work. The model exposes an adjustable reasoning effort control, ranging from low settings for simple turns to maximum settings for harder tasks, and can be driven with tool use enabled or disabled. It operates over a context window of roughly one million tokens and emits up to 128,000 output tokens in a single response, which supports long-running agent loops over large codebases and multi-document collections. Audio and video inputs are not supported.On the visual side, the model is evaluated on GDP.pdf, a benchmark that asks professional questions about complex PDF documents containing tables, charts, diagrams, and fine-print details, and on OSWorld 2.0, which measures agents operating graphical computer applications. OpenAI reports that GPT-6.1 Sol performs on par with or better than GPT-6 Sol across its image input safety evaluations, and that the share of responses containing a factual error at low reasoning effort falls from 11.4 percent to 7.7 percent.
Google
Gemini 3.1 Pro
Gemini 3.1 Pro is a proprietary multimodal model from Google’s Gemini 3 series, released in early 2026 and designed for advanced reasoning across large multimodal datasets. It accepts text, images, audio, video, and documents, supporting up to a 1-million-token input context with up to 64k output tokens. Compared with Gemini 3 Pro, it improves long-context synthesis and multi-step reasoning, enabling more reliable analysis of large documents, datasets, and software codebases.The model also advances visual understanding and grounding, allowing it to interpret UI screenshots, diagrams, and real-world scenes while referencing specific regions within images or video. These capabilities make Gemini 3.1 Pro well suited for multimodal workflows involving document processing, interface analysis, robotics research, and complex visual reasoning.
Qwen
Qwen3.5 397B A17B
Qwen3.5-397B-A17B is a 397B-parameter (17B active) open-weight multimodal model developed by Alibaba’s Qwen team, released on 2026-02-16 under Apache-2.0. It supports text and image inputs with text outputs, combining a sparse Mixture-of-Experts architecture with Gated Delta Networks for efficient scaling. The model provides native vision-language reasoning and a large ~262K token context window, extendable to ~1M tokens.As the first open-weight release in the Qwen3.5 family, it positions itself as a high-capacity, long-context alternative in the large vision-language space, balancing scale and efficiency via sparse activation. It is designed for advanced reasoning, coding, agent workflows, and multimodal understanding tasks.
MoonshotAI
Kimi K3
Kimi K3 is a sparse Mixture-of-Experts large language model developed by Moonshot AI, with 2.8 trillion total parameters and a 1-million-token context window. The model activates 16 out of 896 experts per token using the Stable LatentMoE framework, and is built on two architectural innovations: Kimi Delta Attention (KDA), a hybrid linear attention mechanism that enables up to 6.3x faster decoding in long-context settings, and Attention Residuals (AttnRes), which selectively retrieves representations across model depth and delivers roughly 25% higher training efficiency. Together with refined training and data recipes, these structural advances yield approximately 2.5x better overall scaling efficiency compared to its predecessor Kimi K2. The model applies quantization-aware training from the supervised fine-tuning stage onward, using MXFP4 weights with MXFP8 activations for hardware compatibility. Thinking mode is always enabled at launch, with reasoning effort configurable via the reasoning_effort field.Kimi K3 supports native visual understanding alongside text, accepting image inputs for tasks that combine software engineering and visual reasoning. It targets long-horizon coding, knowledge work, and agentic workflows, and ships in two variants: K3 Max for general chat and agent tasks, and K3 Swarm Max for large-scale parallel processing across many coordinated sub-agents. The model is compatible with the OpenAI SDK via an OpenAI-compatible API. Full model weights are scheduled for release by July 27, 2026 under a Modified MIT license, following the open-weight pattern established by the Kimi K2 model family. A technical report with full architecture, training, and evaluation details is expected to accompany the weights release.

Other Anthropic Opus models

Other versions in the same family as Claude Opus 4.8.

Deploy Claude Opus 4.8 with an API

Claude Opus 4.8 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 Opus 4.8" workflow into my app.

- Endpoint: POST https://serverless.roboflow.com/<your-workspace>/workflows/claude-opus-4-8-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-opus-4-8-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-opus-4-8-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-opus-4-8-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-opus-4-8-captioning' \
--header 'Content-Type: application/json' \
--data '{
  "api_key": "YOUR_API_KEY",
  "inputs": {
    "image": {"type": "url", "value": "IMAGE_URL"}
  }
}'

Claude Opus 4.8 License

Proprietary

Claude Opus 4.8 is proprietary: the weights are not distributed, and the Claude Opus 4.8 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 Opus 4.8 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 Opus 4.8?

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 Opus 4.8, 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

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 Opus 4.8 Vision

Yes. Claude Opus 4.8 accepts image input and handles OCR, object counting, identification, visual reasoning, and object detection. On Roboflow's Vision Evals its strongest task is OCR at 61.5% (#25 of 47 at low effort). You can test it on your own image in the demo above.

Yes. it scores 61.5% (#25 of 47 at low effort) on Vision Evals OCR, which covers single readings, full transcriptions, structured JSON, and locating text with boxes. Within that, full transcriptions score 70.8%, and returning the fields of a label or form as JSON scores 82.4%.

Not its strength. On Vision Evals, Claude Opus 4.8 scores 38.6% mAP@50 on object detection (#47 of 63 at low effort) and 54.1% judge-graded accuracy on object counting. For production counting or precise localization, pairing it with a specialized detector like RF-DETR or your own trained model in a Roboflow Workflow is usually more reliable: detect the objects, then count the detections.

On our benchmark's task mix, Claude Opus 4.8 averages $0.02 per sample at $5.00 per 1M input and $25.00 per 1M output tokens (#58 of 63 on cost), with an average speed of 7.7s per sample across the benchmark. Actual cost depends on your images and prompts.

On the overall Vision Evals ranking, Claude Opus 4.8 sits #38 of 63 at 58.3%, just behind Qwen3.7 Plus (58.9%) and just ahead of Gemma 4 31B (57.7%). See the full side-by-side: Claude Opus 4.8 vs Qwen3.7 Plus.