GPT-4o Vision Too Expensive for Image Classification? Costs per Million Images, From $281 Down to Under $20
A buyer's guide to cheaper image classification by situation, comparing GPT-4o, Gemini 2.5 Flash-Lite, OpenAI's nano tier and self-hosted CLIP or SigLIP 2 embeddings, with a worked monthly budget.
The cheapest hosted replacement for GPT-4o vision is Gemini 2.5 Flash-Lite on the Batch API, with images resized to 384 pixels, at about $20 per million images against about $281 for GPT-4o. That option works for open-ended questions about each image. For a fixed label set at tens of millions of images a month, a zero-shot CLIP or SigLIP 2 embedding model is the cheap alternative to LLM vision classification. Where label names are vague, a small classifier trained on SigLIP 2 embeddings can send only its uncertain images to an LLM.
Per-image cost comes from token rules, not from the price per token
Every hosted vision model converts an image into billed tokens, and each one does it differently. OpenAI's vision guide says that GPT-4o at low detail bills 85 tokens per image. GPT-4o mini bills 2,833 tokens for the same image, so it costs $445.95 per million images in real time against $562.50 for GPT-4o. Newer OpenAI models such as gpt-5.4-nano count 32-by-32-pixel patches and multiply by 1.2. Google's image docs say that a Gemini image costs 258 tokens when both sides are 384 pixels or smaller.
Two settings change the bill as much as the model choice does. OpenAI's reasoning guide says that reasoning tokens are billed as output, so set reasoning to none where the model supports it. Both providers' Batch APIs charge half the standard price and aim to return results within 24 hours.
The options compare like this at list prices
The table assumes one image, a 100-token prompt and a 10-token label, with reasoning off. Prices are from OpenAI's and Google's pricing pages as of November 24, 2026. The self-hosted row uses RunPod's L4 rate and an assumed throughput, because no published source reports SigLIP 2 speed on that GPU or on a CPU. Latency at the median has not been measured for these options under one method.
| Option | How it works | Per 1M images, Batch | Labels it handles |
|---|---|---|---|
| GPT-4o, low detail | Hosted LLM, 85 image tokens | $281.25 | Any question |
gpt-5.4-nano, 384px |
Hosted LLM, 173 image tokens | $33.55 | Any question |
| Gemini 2.5 Flash-Lite, 384px | Hosted LLM, 258 image tokens | $19.90 | Any question |
| SigLIP 2 on an L4, assumed 100 images/s | Self-hosted embeddings, $0.69/hr | $1.92 | Fixed list only |
| Parsec TOD | Hosted decision model | $300.00 | Fixed list of options |
Two of these hosted models have shutdown dates. OpenAI's deprecations page says that GPT-4o stops accepting API requests on January 14, 2027 and gpt-5.4-nano on April 1, 2027. The cheaper gpt-5-nano shuts down sooner, on December 11, 2026. All three point to gpt-6-luna, which accepts images at $0.10 per million input tokens. OpenAI's vision guide does not mention Luna's image token rule, so its cost per image has to be measured on your own images. Luna's model page also sets reasoning to medium by default, so set it to none for labelling. Google's deprecations page says that Gemini 2.5 Flash-Lite is not deprecated.
Open-ended questions need a hosted vision LLM
Some tasks cannot be reduced to a fixed list. Examples are reading a label printed on a box, describing damage in a sentence, or answering a question that changes per request. For these, a hosted model is the only option in this guide that works.
Choose by price and lifespan. Gemini 2.5 Flash-Lite is the cheapest at $19.90 per million on Batch, and Google has announced no shutdown date for it. Google's model page recommends 3.5 Flash-Lite or 3.8 Flash for new projects, but 3.5 Flash-Lite lists $0.30 per million input tokens, three times the 2.5 price. gpt-5.4-nano costs $33.55 and is the OpenAI option until April 1, 2027. Resize every image to 384 pixels before sending it, because larger images add tiles or patches.
A fixed label set on common objects can start with zero-shot SigLIP 2
Zero-shot classification needs no labelled data. CLIP and SigLIP 2 turn the image and each label name into vectors in the same space, and the closest label is chosen. A September 2025 study by Volkov and co-authors measured 85.01% accuracy on ImageNet-1k for SigLIP 2 ViT-gopt-16-384 and 77.01% for CLIP ViT-L-14-336. The original CLIP paper found that averaging several prompt wordings per label added almost 5 points across 36 datasets.
This choice suits labels with clear everyday names, such as product categories like "shoe" or "lamp". It fails on ambiguous names. The CLIP paper notes that ImageNet has both construction cranes and the bird called a crane, and the label text alone cannot separate them. It also reports weak zero-shot results on specialised images, such as satellite photos, tissue scans and traffic signs.
Business labels such as defects or damage grades need a trained classifier
A classifier trained on SigLIP 2 image embeddings learns from examples instead of from label names. In the Volkov study, a nearest-neighbour classifier on SigLIP 2 embeddings reached 86.61% on ImageNet, above the zero-shot score. The CLIP paper found that zero-shot accuracy matches a linear classifier with only four examples per class, so a classifier with more examples per class can do better.
GPT-4o can supply the examples before it shuts down. This recipe produces the classifier:
- Label 500 to 5,000 of your own images with GPT-4o on the Batch API, which costs about $1.41 for 5,000 images.
- Check a few hundred labels by hand and correct the errors that you find.
- Compute SigLIP 2 embeddings for each image and train a logistic regression on them.
- Calibrate the scores with scikit-learn's
CalibratedClassifierCV, using the sigmoid method on small sets. - Measure accuracy on a held-out fifth of the images against the GPT-4o labels.
The number of labels matters. In the Volkov study, accuracy was 46.57% with one example per class and 73.42% with ten. The curve for 500 to 5,000 GPT-4o labels on business images has not been measured.
OpenAI's Services Agreement, version v.010126, allows this use. It bars using Output to build competing models. Its Permitted Exception covers models "primarily intended to categorize, classify, or organize data," if they are not distributed or made commercially available to third parties.
A confidence cascade sends only uncertain images to the LLM
Calibrated scores let you set a threshold. scikit-learn's calibration guide defines a calibrated model as one whose score of 0.8 is right about 80% of the time. Images above the threshold keep the cheap label. Images below it go to Gemini 2.5 Flash-Lite or GPT-4o.
The blended cost is the GPU cost plus the deferred share times the LLM price. At a 20% deferral rate, Flash-Lite on Batch adds $3.98 per million and GPT-4o on Batch adds $56.25. The share that a SigLIP 2 classifier can keep at a given accuracy has not been measured.
Decisions that need policy or task context fit a different product
Parsec's TOD is a decision model rather than a classifier. Its page says that it reads text and images plus policy and task state, ranks options from a fixed list, and passes the turn to a larger LLM when its confidence is low. Parsec lists $0.30 per 1,000 decisions, which is $300 per million and more than GPT-4o on Batch for simple labels. Parsec has published no TOD result on an image classification set, so it makes sense only when the choice depends on context beyond the image.
A worked budget for 10 million images a month shows where self-hosting pays
The example below assumes 10 million images a month, a fixed set of labels, and all work done on the Batch API. It uses the same prompt and label assumptions as the table. The GPU throughput figures are hypothetical, because none has been published.
- On GPT-4o at low detail, the monthly bill is $2,812.50.
- On
gpt-5.4-nanoat 384 pixels, it is $335.50. - On Gemini 2.5 Flash-Lite at 384 pixels, it is $199.00.
- With a SigLIP 2 cascade on an L4 at $0.69 an hour, used only while processing, the GPU costs $191.67 at 10 images per second or $19.17 at 100 images per second. Deferring 20% of images to Flash-Lite adds $39.80.
Throughput sets the outcome. At 10 images per second, the cascade costs $231.47 and loses to Flash-Lite alone. At 100 images per second, it costs $58.97, less than a third of the Flash-Lite bill. An L4 left running all month costs $496.80, which equals the Flash-Lite Batch bill only at about 25 million images a month. Below that volume, a self-hosted model pays only if it runs in batches and the GPU is shut down between them.
Sources
- OpenAI, Images and vision guide: https://developers.openai.com/api/docs/guides/images-vision
- OpenAI, API pricing: https://developers.openai.com/api/docs/pricing
- OpenAI, Batch API guide: https://developers.openai.com/api/docs/guides/batch
- OpenAI, Reasoning guide: https://developers.openai.com/api/docs/guides/reasoning
- OpenAI, Deprecations: https://developers.openai.com/api/docs/deprecations
- OpenAI, GPT-6 Luna model page: https://developers.openai.com/api/docs/models/gpt-6-luna
- OpenAI Services Agreement (v.010126): https://cdn.openai.com/osa/openai-services-agreement.pdf
- Google, Gemini API pricing: https://aistudio.google.com/docs/pricing
- Google, Gemini image understanding: https://aistudio.google.com/docs/image-understanding
- Google, Gemini Batch API: https://aistudio.google.com/docs/batch-api
- Google, Gemini deprecations: https://aistudio.google.com/docs/deprecations
- Google, Gemini 2.5 Flash-Lite model page: https://aistudio.google.com/docs/models/gemini-2.5-flash-lite
- Radford et al., Learning Transferable Visual Models From Natural Language Supervision (CLIP): https://arxiv.org/abs/2103.00020
- Volkov et al., Image Recognition with Vision and Language Embeddings of VLMs: https://arxiv.org/abs/2509.09311v1
- Hugging Face, google/siglip2-so400m-patch14-384: https://huggingface.co/google/siglip2-so400m-patch14-384
- scikit-learn, Probability calibration: https://scikit-learn.org/stable/modules/calibration.html
- RunPod, Pricing: https://www.runpod.io/pricing
- Parsec, TOD: https://parseclab.ai/tod/