Pick the model by what it does with an image on our endpoint, then budget each image as input tokens.
Which models on Lyceum can read your images, and what does each image cost? The question comes up when a product starts taking photos, screenshots or scanned pages. The answer differs per model, and a wrong pick can fail without an error.
Which of our models read images
Multimodal inference means a model reads more than text in one request, here images next to your prompt. Lyceum is a sovereign European AI inference provider for open-source models. The company and its GPUs are in Europe, and our serverless models run in Paris and Finland. Each model page on our models page states what it accepts. On 23 October 2026, these models listed "Text and images" as input:
| Model | Model ID | Input per 1M tokens | Output per 1M tokens | Notes |
|---|---|---|---|---|
| Qwen3.8 Flash Next | qwen/qwen3.8-flash-next | $0.20 | $0.50 | Reasoning on, can be switched off |
| Qwen3.8 27B | qwen/qwen3.8-27b | $0.40 | $2.40 | Reasoning on, can be switched off |
| GLM-5.3 Flash | z-ai/glm-5.3-flash | $0.20 | $0.50 | Leave reasoning on for images |
| DeepSeek V4.1 Flash | deepseek/deepseek-v4.1-flash | $0.50 | $1.50 | Model page says yes; our 17 September docs check failed, so test first |
| MiniMax M3 | minimax/minimax-m3 | $0.40 | $2.00 | Reasoning always on |
| Kimi K2.7 Code | moonshotai/kimi-k2.7-code | $1.25 | $4.50 | Reasoning always on; also reads PDFs |
| Kimi K3 | moonshotai/kimi-k3 | $3.00 | $15.00 | Reasoning on, can be switched off |
Reasoning means the model writes out its working before the answer. That working is billed as output tokens. Our routing aliases lyceum/router, lyceum/simple and lyceum/complex also accept images. A routing alias is a model ID where we pick the model for each request.
The other models behave in two different ways. GLM-5.3 and DeepSeek V4 Pro 0813 reject an image request with a 400 error. So do DeepSeek V4 Flash and Qwen3.8 2.4T A95B. Mind the similar names: GLM-5.3 Flash and DeepSeek V4.1 Flash are in the table above. GLM-5.2 and GLM-5.2 Instant accept the request but ignore the image. The GLM-5.2 model page says so plainly: "The request succeeds, but the image is ignored."
That second case is the risky one. Your code gets a normal answer, and nothing tells you the image was never read. Our serverless inference docs describe the same result from our own checks. The model answers that no image was attached, or returns empty content.
Those docs describe a test we ran on 15 September 2026. We sent two different synthetic images to every chat model, in three rounds. A model passed when it described both images correctly every time. Qwen3.8 Flash Next, Qwen3.8 27B, GLM-5.3 Flash, MiniMax M3, Kimi K2.7 Code and Kimi K3 passed. DeepSeek V4.1 Flash was checked separately on 17 September, and its image requests failed then.
How to send an image or a PDF
You send an image inside a normal chat request. The message content becomes a list: one text part and one image_url part per file. The URL can be a public https address or a base64 data URL, which is the file itself encoded as text.
Point the OpenAI SDK at our base URL and pick a model from the table. This example sends a local JPEG to Qwen3.8 Flash Next with reasoning off:
import base64
from openai import OpenAI
client = OpenAI(base_url="https://api.lyceum.technology/openai/v1", api_key="YOUR_LYCEUM_API_KEY")
def data_url(path: str, mime: str) -> str:
with open(path, "rb") as f:
return f"data:{mime};base64,{base64.b64encode(f.read()).decode()}"
resp = client.chat.completions.create(
model="qwen/qwen3.8-flash-next",
reasoning_effort="none",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "Extract the invoice number and the total."},
{"type": "image_url", "image_url": {"url": data_url("page.jpg", "image/jpeg")}},
],
}],
)
print(resp.choices[0].message.content)
print(resp.usage.prompt_tokens)Our API caps the size of one request body, and encoded images count toward it. Downscale large photos before you encode them. Our dashboard playground, the test page in the dashboard, caps an image's longest edge at 1568 pixels. The docs call that plenty for every model that reads images.
PDFs work on one model in the table above. Kimi K2.7 Code reads a PDF sent the same way, as a data URL with the type application/pdf. Every other model rejects a PDF part with a 400 error. In our checks on Kimi K2.7 Code and an older Kimi K2 model, a one-page PDF took 10 to 17 seconds.
What an image costs in tokens
A token is the unit the model reads and bills, roughly a short word of text. An image is cut into small tiles, and each tile becomes tokens. More pixels mean more tiles, so a bigger image costs more.
We measured this on 23 October 2026 with test calls on our API. We picked four models: the two cheapest per token, the most expensive and one Qwen size for comparison. We sent the same prompt twice, once alone and once with a synthetic image of four coloured blocks. The difference in usage.prompt_tokens is what the image added. All four models named the colours correctly.
| Model | 1024 × 768 image | 1568 × 1176 image |
|---|---|---|
| Qwen3.8 Flash Next | 770 tokens | 1,815 tokens |
| Qwen3.8 27B | 770 tokens | 1,815 tokens |
| GLM-5.3 Flash | 1,038 tokens | 2,354 tokens |
| Kimi K3 | 1,045 tokens | 2,362 tokens |
The same picture costs different token counts on different models. Each model family cuts images into tiles its own way.
A worked example: 10,000 scanned pages a month
Take a hypothetical document intake. Each month 10,000 scanned pages arrive, one image per page. Each request also carries 300 tokens of instructions and returns 200 tokens of answer. The cost per page follows from our measured tokens and the prices on the models page:
cost per page = (image tokens + 300) × input price / 1,000,000
+ 200 × output price / 1,000,000
Qwen3.8 Flash Next, 1568 × 1176:
(1,815 + 300) × $0.20 / 1,000,000 = $0.000423
200 × $0.50 / 1,000,000 = $0.000100
per page $0.000523, per month $5.23| Model | Per month at 1024 × 768 | Per month at 1568 × 1176 |
|---|---|---|
| Qwen3.8 Flash Next | $3.14 | $5.23 |
| GLM-5.3 Flash | $3.68 | $6.31 |
| Qwen3.8 27B | $9.08 | $13.26 |
| Kimi K3 | $70.35 | $109.86 |
Downscaling to 1024 × 768 cuts the Flash Next bill by 40% in this example. Check first that the text on your pages stays readable at that size.
The example favours the cheap models in two ways. First, it counts no reasoning tokens, and GLM-5.3 Flash keeps reasoning on for images. Second, it leaves out quality: a model that misreads a total costs more than its token bill.
The 300 instruction tokens can get cheaper. Prompt caching means we bill a prompt start that repeats an earlier request at the lower cached input rate. That rate is $0.05 per 1M tokens on Qwen3.8 Flash Next and GLM-5.3 Flash, $0.10 on Qwen3.8 27B and $0.75 on Kimi K3. It happens automatically but is not guaranteed on every request.
Where image data is processed and what we keep
Paris and Finland are the two locations our homepage shows. Each model page also lists a processing region. On 23 October 2026, every image-reading model above showed "EU-hosted". Read the page of the model you call, since that is the record for that model.
Images often carry more personal data than text. A scanned form can show a signature, and a photo can show a face. The GDPR treats some of this as special category data, for example biometric data used to identify a person and data concerning health. Processing those needs a legal basis under Article 9, and that work stays with you.
What we do with the image is the same as with text. We don't keep your prompts or outputs, and we never use them for training, as our homepage states. Our DPA (data processing agreement) and TOMs (technical and organisational measures) are ready for your security review. Our sub-processor list, the other companies involved in processing your data, is available on request by email.
Choosing a model for an image workload
Start from the job the images do, then check the table.
- High volume, simple pages such as receipts or forms: Qwen3.8 Flash Next or Qwen3.8 27B. Switch reasoning off for plain extraction, with reasoning_effort set to "none".
- Screens and agents that read a screenshot and act on it: GLM-5.3 Flash. Leave reasoning on. With reasoning off, its model page says the reasoning text appears inside the answer you parse, so you would have to strip it.
- PDFs without converting them to images first: Kimi K2.7 Code.
- Hard images where quality matters more than price: Kimi K3, which Moonshot describes as understanding text, images and video in one model.
Qwen describes Qwen3.8 27B as a native vision-language model, trained on images and text from the start, that reads images and video. Z.ai calls GLM-5.3 Flash the first natively multimodal model in its GLM-5 series. Those are the makers' own descriptions. Test on your own images: the MiniMax M3 page notes that an earlier check saw it misname colours in half of the attempts.
For DeepSeek V4.1 Flash, send one of your own images before you build on it, as its table row says.
Your next step: send one real image to the model you plan to use, and read usage.prompt_tokens in the reply. That one number, times your monthly volume and the input price, gives your image bill. Our serverless inference bills per token with no base fee, so the test costs fractions of a cent.