Roboflow

GPT-5.6 Luna vs Grounded SAM

Compare GPT-5.6 Luna and Grounded SAM side-by-side.

Compare GPT-5.6 Luna vs Grounded SAM live

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

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Models in this comparison

GPT-5.6 Luna vs Grounded SAM: Overview

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. On Terminal-Bench 2.1, Luna scores 82.5%, and on the Artificial Analysis Coding Agent Index it outperforms comparable models at roughly one-quarter the estimated cost of higher-tier alternatives. Luna is priced at $1 per million input tokens and $6 per million output tokens, with cached input reads at $0.10 per million tokens under 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.

Grounded SAM

Grounded SAM is an open-vocabulary image segmentation model developed by IDEA Research, released in January 2024 under the Apache 2.0 license. It combines Grounding DINO, a zero-shot open-vocabulary object detector, with the Segment Anything Model to produce precise segmentation masks for objects identified through free-form text prompts. The two models are used sequentially: Grounding DINO localizes objects from a text query, and SAM generates the corresponding segmentation masks.

Grounded SAM enables zero-shot instance segmentation without task-specific training data, making it applicable to domains where labeled segmentation data is scarce. It supports arbitrary text queries and can segment objects not represented in standard training sets. The model is commonly used in automated labeling pipelines, robotic perception, and domain-specific vision applications requiring open-vocabulary segmentation.

GPT-5.6 Luna vs Grounded SAM Comparison Table

PropertyGPT-5.6 LunaGrounded SAM
OrganizationOpenAIIDEA Research
Categoryclosedopen
Modalitymultimodalmultimodal
Release DateJul 2026Jan 2024
Context Window1.5M
Parameters
LicenseProprietaryApache 2.0
Pricing per 1M tokens
Input $/1M$1.00
Output $/1M$6.00
Vision Tasks
Vision Language
CaptioningDemo
ClassificationDemo
Document Question Answering
object-detectionDemo
ocrDemo
Visual Question AnsweringDemo
Zero Shot Segmentation
Model Features
Multimodal Vision
LLMs with Vision Capabilities
Zero-shot Detection