Skip to content
Measured across the catalog

Which models actually read images

A model page saying “Vision” is not evidence. We sent every model in our catalog the same two images and asked what was in them — and the answers split the catalog. Two models read images and are sold as such; two do not and are marked accordingly, so a request with an image is refused before it costs you anything.

Results, model by model

deepseek-v4.1-flash
Reads images — both probe images identified correctly (probed 2026-10-29, 1M context; the first DeepSeek that does)
qwen3.8-27b
Reads images — both probe images identified correctly
glm-5.3
Does not — accepted both images, then answered that it cannot see them (probed 2026-08-28, the day it joined the catalog)
glm-4.7-flash
Does not — refuses image input explicitly, the honest failure

The two that read images (60% off list)

deepseek-v4.1-flash60% off
Input
$0.30$0.12
Output
$1.20$0.48

@cf/deepseek-ai/deepseek-v4.1-flash-1017

qwen3.8-27b60% off
Input
$0.45$0.18
Output
$3.20$1.28

@cf/qwen/qwen3.8-27b

Images bill as input tokens at each model’s normal rate — no separate image fee. Live pricing for every model on the models page.

How a model can fail at vision

Our probes: 2026-08-18 across the then-catalog, 2026-08-28 for GLM 5.3, 2026-10-29 for DeepSeek V4.1 Flash. The silent case is the expensive one: no error, real compute spent, an answer that sounds fine and is not grounded in your image.

2 of 4

models that genuinely read images

Silent

accepts the image, ignores it, still bills you

Explicit

refuses image input outright — the failure you want

0 requests

we let reach a blind model with an image

Sending an image

Same call on either model: a content array with your text and a base64 data URI. Remote http(s) links are not fetched.

import base64
from openai import OpenAI

client = OpenAI(
    base_url="https://api.clfaigateway.dev/v1",
    api_key="sk-gw-...",  # app.clfaigateway.dev
)

with open("screenshot.png", "rb") as f:
    b64 = base64.b64encode(f.read()).decode()

resp = client.chat.completions.create(
    model="qwen3.8-27b",
    messages=[{
        "role": "user",
        "content": [
            {"type": "text", "text": "What does this screen show?"},
            # Must be a data: URI. Remote http(s) links are not fetched.
            {"type": "image_url",
             "image_url": {"url": f"data:image/png;base64,{b64}"}},
        ],
    }],
    # Leave room: the model thinks before it answers, and a tiny budget
    # can be spent entirely on reasoning, returning empty content.
    max_completion_tokens=400,
)
print(resp.choices[0].message.content)

Vision on the gateway — common questions

Because a capability listed on a model page describes what the weights are meant to do, not what the served endpoint does with your request today. Two models advertised as vision-capable took our images and answered as if they had never seen them. We publish what our own probes returned, and we re-run them whenever we add a model.

See capabilities per model →

We mark image capability per model from probe results, and the gateway refuses image input on any model not marked for it — a 400 before the request goes upstream, at no cost to you. The failure mode we protect against is the silent one: a model that takes the image, ignores it, answers confidently from the text, and bills you in full.

Error reference →

Need a 1M-token window with images? deepseek-v4.1-flash. Fine with 262K? qwen3.8-27b. Both take the same request shape, so trying the other one is a one-word change.

Compare prices →

Small print, scanned documents and dense charts. Our probe establishes that a model genuinely reads the image it is given — it does not establish OCR quality, so we do not sell OCR. If you need that, test it on your own documents first; a failed request that produced nothing costs $0.

Image quickstart →