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 six vision tasks, and answers are scored against ground truth.

Evals updated September 3, 2026Pricing updated September 4, 2026

Overall score#27 of 52
68.7%
Avg cost / sample#48 of 52
$0.016
Avg speed / sample#7 of 52
5.20s
Avg tokens / sample
2.1K

Strengths and weaknesses

Claude Opus 4.8 averages 68.7% across the six Vision Evals tasks, ranking #27 of 52 models overall.

It places in the top three for OCR.

Its weakest relative showing is Object Detection, ranking #39 of 52 at 38.6%.

At $0.016 per sample it is the 48th cheapest of the 52 benchmarked models, and its average inference time of 5.2s per sample makes it the 7th fastest.

Performance profile

Field medianClaude Opus 4.8

Field medians: Object Detection 54.1%, Counting 56.8%, Identification 84.4%, OCR 88.1%, Data Extraction 84.5%, Reasoning 53.6%.

Results by task

TaskScoreField (0 to 100)RankCost / sampleSpeed
Object Detection
38.6%
#39 of 52$0.0268.34s
Counting
54.0%
#31 of 52$0.00762.33s
Identification
84.4%
#21 of 52$0.00672.30s
OCR
93.8%
#3 of 52$0.0208.27s
Data Extraction
88.7%
#13 of 52$0.00762.48s
Reasoning (low)
53.0%
#27 of 52$0.00783.00s
Reasoning (high)
52.3%
#33 of 37$0.00782.45s
  • 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.

51 models on the current benchmark · scores and efficiency pooled across all six 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 Sep 4, 2026

Alternatives to Claude Opus 4.8

Other models worth comparing for similar use cases.

Anthropic
Claude Fable 5.1
Claude Fable 5.1 is a proprietary multimodal model from Anthropic in the Mythos-class tier of the Claude 5 family, positioned above Claude Opus for demanding reasoning and long-horizon agentic work. It accepts text and images as input and returns text, with a one million token context window and a maximum output of 128 thousand tokens. Adaptive thinking is always on, and an effort parameter controls how much reasoning the model applies to a given request. Anthropic reports a reliable knowledge and training data cutoff of June 2026. Claude Fable 5.1 and Claude Mythos 5.1 share the same underlying model; the difference between them is the set of safety classifiers applied to dual-use cybersecurity and biology requests.On the vision side, Anthropic documents improvements in reading dense charts, financial filings, and tables nested inside PDF documents, which extends the model toward document understanding, chart question answering, and spreadsheet and slide work. Reported evaluations cover agentic scientific research on Terminal-Bench-Science 0.1, agentic coding on Terminal-Bench 4.0, computer use on OSWorld 2.0, and multidisciplinary reasoning on Humanity's Last Exam. Model weights are not published.
OpenAI
GPT-5.6 Sol
GPT-5.6 Sol is the flagship model in OpenAI's GPT-5.6 family, which also includes Terra (a balanced everyday-work tier) and Luna (a fast, cost-efficient tier). Sol is designed for demanding reasoning, long-horizon agentic workflows, software engineering, computer use, scientific research, and cybersecurity tasks. It introduces two new capability modes: a "max" reasoning effort setting that allocates additional compute time for difficult problems, and an "ultra" mode that coordinates multiple subagents in parallel to accelerate complex, multi-step work. The model supports native multimodal input, allowing it to process screenshots, diagrams, charts, documents, and photographs alongside text. A reported context window of approximately 1.5 million tokens enables processing of large codebases, lengthy research documents, and extended agentic sessions.GPT-5.6 Sol was announced on June 26, 2026, initially in a limited preview for trusted partners, and reached general availability on July 9, 2026. On the Agents' Last Exam benchmark, which evaluates long-running professional workflows across 55 fields, Sol scores 53.6. On Terminal-Bench 2.1, which tests command-line agentic coding workflows, Sol Ultra achieves 91.9%. The model also demonstrates gains in life sciences evaluations, including long-horizon genomics and quantitative biology analyses. OpenAI paired the release with its most extensive safety evaluation to date, combining human red teaming with large-scale automated testing, and classified Sol as High capability in both cybersecurity and biological risk under its Preparedness Framework, though it does not cross the Critical threshold in either category.
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.
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.
Qwen
Qwen3.8 Max
Qwen3.8 Max is the flagship tier of Alibaba's Qwen3.8 family, a sparse mixture-of-experts multimodal model with roughly 2.4 trillion total parameters of which about 95 billion activate per token, which keeps serving cost and latency well below what the total parameter count would imply. It builds on the architectural foundation established by Qwen3.5 and accepts text, images, video, and documents as input while producing text output. Reported context handling reaches close to one million tokens, with a maximum generation length of 131,072 tokens, so the model is aimed at long-horizon agentic work such as repository-scale coding, multi-step research, data analysis, and office document workflows.For vision work the model performs image and video understanding, document and chart interpretation, text recognition inside images, and grounded visual question answering, and Alibaba reports gains concentrated in multimodal and agentic evaluation categories rather than general reasoning. Published figures include 86.6 on Terminal-Bench 2.1, 67.7 on SWE-bench Pro, 93.0 on PaperBench, 82.8 on IFBench, and 92.6 on GPQA Diamond. It is the first model in the Max tier of the Qwen line for which the team states weights will be released publicly, alongside a smaller Qwen3.8 27B checkpoint. No training or safety model card has been published.

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

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, data extraction, object counting, identification, visual reasoning, and object detection. On Roboflow's Vision Evals its strongest task is OCR at 93.8% (#3 of 52 at low effort). You can test it on your own image in the demo above.

Yes, and it is one of the model's strongest vision skills: its transcriptions match the ground truth 93.8% on average (#3 of 52 at low effort) on Vision Evals OCR. Pulling specific fields out of documents (data extraction) scores 88.7%.

Not its strength. On Vision Evals, Claude Opus 4.8 scores 38.6% mAP@50 on object detection (#39 of 52 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 (#48 of 52 on cost), with an average speed of 5.2s per sample across the benchmark. Actual cost depends on your images and prompts.

On the overall Vision Evals ranking, Claude Opus 4.8 sits #27 of 52 at 68.7%, just behind Qwen3.8 Flash (68.8%) and just ahead of Qwen3.7 Plus (67.4%). See the full side-by-side: Claude Opus 4.8 vs Qwen3.8 Flash.