Distilling Claude Vision Labels Into a Small Image Classifier: How Much Accuracy You Lose, What It Saves
For fixed, clearly visual labels a small classifier trained on Claude's labels should land close to Claude, and a cascade closes most of the gap. Whether it saves money depends on which Claude model you use today.
Yes, for most fixed-label image classification you can distill Claude's labels into a small image classifier, and the published evidence points to a small accuracy loss on clear visual categories and a large one on tasks that need reading or world knowledge. Nobody has published a measurement of a small image classifier trained on Claude's labels, by task type, against human gold labels, so the only way to get your number is a 1,000 to 3,000 image gold set built from your own traffic. The savings are large if you classify 4 million images a month on Opus 5.5 or Sonnet 5.5, roughly $12,000 to $24,000 a month at list price for one-megapixel images. They are small if you are already on Haiku 5.5, where the same volume costs about $618 a month, close to the price of the GPU that would replace it.
What you are paying for now
Claude does not bill images by file size. Anthropic's vision docs say Claude splits an image into 28×28-pixel patches and charges one token per patch, so an image costs ⌈width/28⌉ × ⌈height/28⌉ tokens. A 1000×1000 image is 1,296 tokens. Models from Claude 4.7 onward sit on what the docs call the high-resolution tier, which accepts a long edge of up to 2,576 pixels and up to 4,784 tokens per image. On that tier a 4K photo is downscaled to 2576×1449 and billed at the full 4,784 tokens, and the docs warn that high-resolution images "can use up to roughly three times more visual tokens" than on older models.
Anthropic's pricing page then sets the rate per million tokens: $4 input and $20 output on Opus 5.5, $2 and $10 on Sonnet 5.5, $1 and $5 on Haiku 4.5, and $0.10 and $0.50 on Haiku 5.5, which Anthropic released on October 7, 2026 and describes as built "for high-volume, latency-sensitive tasks such as classification, extraction, and routing." The Batch API halves every one of those prices. Its docs say most batches finish within an hour and all expire after 24 hours, which suits a classification queue that does not need an answer in the same second.
Put together for 4 million one-megapixel images a month, with a 200-token prompt, a 10-token label and thinking switched off, the list-price bill is about $24,700 on Opus 5.5, $12,400 on Sonnet 5.5, $6,200 on Haiku 4.5 and $618 on Haiku 5.5. Batch halves each figure. Per million images that is $6,184 on Opus 5.5, $3,092 on Sonnet 5.5, $1,546 on Haiku 4.5 and $154.60 on Haiku 5.5 at standard rates. If the images go to Opus 5.5 at full 4K resolution, the bill rises to about $80,500 a month, or $40,300 through Batch.
Two of the cheapest fixes come before any distillation. Downsampling images you do not need at full resolution cuts tokens directly, and moving a classification job to Haiku 5.5 cuts the price per token by 40 times compared with Opus 5.5. Neither has been tested on your labels, and that is the same gap distillation has: you need a gold set to know what any change costs in accuracy.
How distillation works for images
The idea is to use the Claude labels you already have as training data. Every image you have sent to Claude and its answer is a labelled example. A small vision model learns from a few hundred thousand of them and then labels new images itself, on hardware you rent by the hour.
The simplest student is a frozen image encoder with a linear layer on top. The DINOv2 base model, published under Facebook's Hugging Face account with 86.6 million parameters and an Apache 2.0 licence, says on its model card that "one typically places a linear layer on top of the [CLS] token" for classification. Google's SigLIP 2 encoders are also Apache 2.0. Training only that final layer is fast, which makes it a cheap baseline before trying a full fine-tune of a ViT-B or EfficientNet.
Why expect this to work? The CLIP paper measured the gap between asking an image model to classify with no training and fitting a classifier on its features with labelled data. For most of its datasets the trained linear classifier came out "10% to 25%" ahead. It also found that on ImageNet the untrained model only matched a classifier given 16 labelled examples per class. A team with hundreds of thousands of Claude-labelled images has far more examples per class than that.
What the research says about accuracy loss
The closest direct evidence is from text. Pangakis and Wolken trained BERT-family classifiers on GPT-4's labels across 14 classification tasks in a June 2024 paper. The median F1 difference between those students and GPT-4 itself was 0.006, and the median gap to students trained on human labels was 0.039. That is the pattern you would hope for: a student lands roughly where its teacher does.
Students can also beat their teachers, because training averages out a teacher's random mistakes. A NeurIPS 2023 workshop paper reports students outperforming the LLM that labelled their data "by approximately 5%" once 50 human-labelled examples were added. A 2023 parsing paper, listed for ACL 2024, reports that its three-stage distillation method, given 50 labelled examples, beat its LLM teacher by 7.5% parsing F1 on a biomedical task.
Image-specific work points the same way, with a warning about label noise. A CVPR 2025 workshop paper used several open vision-language models as labellers, combined their votes with a weak-supervision model, and trained a lightweight classifier on CLIP features. That student beat every individual labeller on F1 on a meme-classification set, and on the EuroSAT satellite set its best model was 9% above the best zero-shot CLIP result. A CVPR 2025 paper on multi-label classification describes raw CLIP pseudo-labels as biased and view-dependent and corrects them before training. Both papers clean the labels first.
The same papers show where it breaks. In Pangakis and Wolken, one political-content task scored 0.62 F1 with human labels and 0.34 with GPT-4 labels, and the authors warn that "downstream supervised classifiers will not mitigate bias or poor performance" in the teacher's labels. A student inherits a teacher's systematic errors. The CLIP paper lists the image tasks where its model was weakest without training: satellite imagery, tumour detection, counting, traffic signs and estimating distance. Anthropic's own docs flag Claude's weak spots too. Claude "might hallucinate or make mistakes" on low-quality, rotated or very small images under 200 pixels, and gives only approximate counts.
From that evidence, the workload splits into three parts. Coarse, clearly visual categories, such as product type or defect versus no defect, are where a student should come closest to Claude. Long-tail, fine-grained classes are where it should lose most on the rare classes. Tasks that need text in the image or outside knowledge, such as reading a label or knowing what a logo belongs to, are where a small encoder has the least to work with. How large each loss is on images labelled by Claude, and how it shrinks as the training set grows from 10,000 to 500,000 labels or as the labels are cleaned, has not been measured.
The cascade: keep Claude for the hard cases
You do not have to choose between Claude and the student. In a cascade the student labels the images it is confident about and sends the rest to Claude. You set the confidence threshold on your gold set: lower it until accuracy falls below the margin you will accept, such as 0.5 or 1 point below Claude, and read off what share of traffic still goes to Claude.
The cost then follows directly. Four million images a month is about 1.54 images a second on average. One AWS g6.xlarge instance with an Nvidia L4 GPU lists at $0.8048 an hour on demand, about $588 a month, or $147 per million images at this volume; a four-vCPU c7i.xlarge is $0.1785 an hour, about $130 a month. Whether one instance absorbs your peak traffic has not been measured, so budget a second for redundancy. If 20% of traffic still goes to Opus 5.5 at standard rates, the month costs about $5,535, against $24,700 for Opus alone. At 10% it is about $3,061. Which share your threshold leaves has not been measured.
How to run it on your own traffic
The method does not depend on anyone else's benchmark:
- Have people label 1,000 to 3,000 images sampled from recent traffic, oversampling rare classes, and score Claude on them first. Claude's score is roughly the ceiling for the student.
- Pull 100,000 to 500,000 Claude-labelled images from your logs as training data, again oversampling rare classes.
- Train a linear head on a frozen DINOv2 or SigLIP encoder as the baseline; fine-tune a full model only if it falls short.
- Clean the labels where it is cheap: drop low-confidence Claude answers, or re-label disagreements with a second model.
- Set the cascade threshold on the gold set, per class if rare classes behave differently.
- Re-label a small random sample each month with Claude to catch drift. At 0.5% of traffic through Opus 5.5 Batch, that is about $62 a month.
If you would rather not run it yourself
Managed serving costs about the same as the raw instance: Hugging Face's Inference Endpoints list an L4 at $0.80 an hour and a T4 at $0.50, billed by the minute. Parsec, a small language model lab, describes a managed version of the whole loop: its inference page describes tracing production requests, building datasets and evaluations the customer approves, training, serving, and sending low-confidence requests to a closed frontier model, and says "Weights: Yours." Its pages describe language models and do not mention image classification, and it publishes no price.
Bottom line
If you classify images on Opus 5.5 or Sonnet 5.5, distilling the clearly visual labels into a small classifier with a Claude cascade is likely to cut the bill by most of its size, and a 1,000 to 3,000 image gold set will tell you the accuracy cost before you commit. If you are on Haiku 4.5, test Haiku 5.5 on the same gold set first, because it may save more for less work. If you are already on Haiku 5.5 Batch, distillation saves a few hundred dollars a month at most. Whatever you choose, keep tasks that depend on reading text or outside knowledge on Claude.
Sources
- Anthropic, Vision: https://platform.claude.com/docs/en/build-with-claude/vision
- Anthropic, Pricing: https://platform.claude.com/docs/en/about-claude/pricing
- Anthropic, Batch processing: https://platform.claude.com/docs/en/build-with-claude/batch-processing
- Anthropic, Claude Haiku 5.5: https://platform.claude.com/docs/en/models/haiku-5-5/overview
- Anthropic, What's new in Claude Haiku 5.5: https://platform.claude.com/docs/en/models/haiku-5-5/whats-new-haiku-5-5
- Pangakis and Wolken, Knowledge Distillation in Automated Annotation (arXiv 2406.17633): https://arxiv.org/html/2406.17633v1
- Zhao, Student as an Inherent Denoiser of Noisy Teacher (NeurIPS 2023 workshop): https://neurips.cc/virtual/2023/81180
- Zhao et al., Multistage Collaborative Knowledge Distillation from a Large Language Model (arXiv 2311.08640): https://arxiv.org/abs/2311.08640
- Radford et al., Learning Transferable Visual Models From Natural Language Supervision (CLIP): https://arxiv.org/pdf/2103.00020
- Tousi et al., Combining Vision-Language Models and Weak Supervision for Nuanced Vision Classification Tasks (CVPR 2025 Workshops): https://openaccess.thecvf.com/content/CVPR2025W/FGVC/papers/Tousi_Combining_Vision-Language_Models_and_Weak_Supervision_for_Nuanced_Vision_Classification_CVPRW_2025_paper.pdf
- Kim and Shim, Classifier-guided CLIP Distillation for Unsupervised Multi-label Classification (CVPR 2025): https://openaccess.thecvf.com/content/CVPR2025/papers/Kim_Classifier-guided_CLIP_Distillation_for_Unsupervised_Multi-label_Classification_CVPR_2025_paper.pdf
- Hugging Face, facebook/dinov2-base: https://huggingface.co/facebook/dinov2-base
- Hugging Face, google/siglip2-base-patch16-224: https://huggingface.co/google/siglip2-base-patch16-224
- Hugging Face, Inference Endpoints pricing: https://huggingface.co/docs/inference-endpoints/pricing
- AWS, Amazon EC2 On-Demand Pricing: https://aws.amazon.com/ec2/pricing/on-demand/
- Parsec, Inference: https://parseclab.ai/inference/