Roboflow

Claude Sonnet 4 vs GPT-5.6 Luna

GPT-5.6 Luna: 64.7% average across five Vision Evals tasks (#31 of 65 models). Claude Sonnet 4 is deprecated and was not run through Roboflow's Vision Evals, so there is no head-to-head score.

Compare Claude Sonnet 4 vs GPT-5.6 Luna live

Run the same image across every model that supports a task and compare their outputs side-by-side.

Detect and compare bounding boxes across models on the same image.

Open Object Detection in the full playground
AnthropicClaude Sonnet 4

Claude Sonnet 4 is deprecated and can no longer be run. Details and evals are still available on its model page.

OpenAIGPT-5.6 Luna
Run to compare this model.

Claude Sonnet 4 vs GPT-5.6 Luna Comparison Table

Evals updated October 26, 2026Pricing updated November 2, 2026

PropertyClaude Sonnet 4GPT-5.6 Luna
OrganizationAnthropicOpenAI
Categoryclosedclosed
Modalitymultimodalmultimodal
Release DateMay 2025Jul 2026
Context Window1.0M1.5M
ParametersUnknownUnknown
LicenseProprietaryProprietary
Commercial usecommercial use per vendor termscommercial use per vendor terms
Pricing per 1M tokens
Input $/1MNo published price$0.200
Output $/1MNo published price$1.20
Vision Tasks
CaptioningSupportedDemo
ClassificationSupportedDemo
Object DetectionSupportedDemo
OCRSupportedDemo
Visual Question AnsweringSupportedDemo
Both support 5 more tasks
Model Features
Both support 3 more features
Vision Evalsground-truth scores across 5 vision tasks, pooled at low effort
OverallDeprecated
64.7%
Avg cost / sample–$0.0011
Avg speed / sample–8.60s
By task
Object Detection (low)–
61.0%
±1.2, Mean of 3 runs, range 59.9 to 62.2
$0.0015
Object Detection (high)–
62.3%
±1.2, Mean of 3 runs, range 61.4 to 63.8
$0.0050
Counting (low)–
67.1%
±1.4, Mean of 3 runs, range 66.2 to 68.9
$0.0006
Counting (high)–
70.7%
±3.4, Mean of 3 runs, range 66.2 to 73.0
$0.0015
Identification (low)–
83.3%
±1.6, Mean of 3 runs, range 81.3 to 84.4
$0.0004
Identification (high)–
84.4%
±6.3, Mean of 3 runs, range 78.1 to 90.6
$0.0007
OCR (low)–
51.8%
$0.0011
by category
Single value
29.6%
Transcription
75.5%
Structured JSON
73.6%
Text localization
39.7%
OCR (high)–
55.7%
$0.0041
by category
Single value
33.0%
Transcription
83.5%
Structured JSON
77.0%
Text localization
43.8%
Reasoning (low)–
60.5%
±5.0, Mean of 3 runs, range 55.0 to 64.9
$0.0006
Reasoning (high)–
65.6%
±3.6, Mean of 3 runs, range 60.9 to 68.2
$0.0015

Claude Sonnet 4 vs GPT-5.6 Luna: Overview

Claude Sonnet 4

Claude 4 Sonnet, released by Anthropic in May 2025, is the mid-tier model in the Claude 4 family, designed to balance capability, cost, and speed. It is multimodal, accepting both text and images, and extends beyond prior versions with improved “computer use” support, allowing API-driven interaction with desktop-like interfaces. By default, it supports 200,000 tokens of context, but as of August 2025, it also offers a 1 million-token context window in public beta—making it one of the most context-capable models available for processing entire codebases or large document sets in a single request.

Sonnet 4 is significantly cheaper than the flagship Opus while still demonstrating strong reasoning, coding, and instruction-following ability with reduced hallucinations. Its extended context capabilities and lower latency make it well-suited for enterprise-scale knowledge management, software development, research assistants, and productivity automation where both cost efficiency and high reliability are essential.

GPT-5.6 Luna

GPT-5.6 Luna is the fastest and most cost-efficient model in OpenAI's GPT-5.6 family, which also includes Sol (the flagship tier) and Terra (the balanced mid-tier). Introduced under a new naming convention where the generation number (5.6) and a durable capability tier name (Luna, Terra, Sol) together define each model, Luna occupies the lightweight end of the family and is designed for high-volume, latency-sensitive workloads such as summarization, drafting, autocomplete, classification, and routine automation. The GPT-5.6 family as a whole advances capabilities in software engineering, computer use, professional knowledge work, scientific research, and cybersecurity, with all three tiers rated at the "High" capability level under OpenAI's Preparedness Framework for both cybersecurity and biological/chemical risk domains.

GPT-5.6 Luna supports multimodal input and function calling, and shares the family's 1.5 million token context window. Luna supports the GPT-5.6 prompt caching scheme, which introduces explicit cache breakpoints and a 30-minute minimum cache life. The model was previewed on June 26, 2026 to a limited group of trusted partners via the OpenAI API and Codex, with general availability rolling out on July 9, 2026 across ChatGPT, Codex, and the API.