LIVE · Thursday 3 December

AI Models for Routing Cases From Images and Text: How to Evaluate OpenAI, Claude, Gemini and TOD

OpenAI, Claude and Gemini vision models all accept image inputs alongside text, but none publishes routing accuracy. A held-out case set, a review gate and queue checks in your own code decide which one to use.

By Surya10 min read

To route cases that arrive with photos and text, send the case text, the images and the allowed queues to a multimodal model. Then let your application assign the queue. OpenAI's vision models, Claude's vision models and Google's Gemini all document image inputs, structured outputs and known image limitations. None of them publishes routing accuracy on cases like yours. Choose by testing each candidate on a held-out set of your own cases, and pick the cheapest one that meets your error targets.

All three providers accept image inputs with text, and their vision capabilities share the same weak spots

The first question is whether a model can take the evidence at all. All three providers can. Each accepts several images in one request alongside text, and each can be made to answer from a fixed list of queue names.

OpenAI's Images and vision guide lists PNG, JPEG, WEBP and non-animated GIF, with up to 1,500 images per request. Anthropic's Vision guide for Claude lists JPEG, PNG, GIF and WebP, with up to 600 images per API request and a 10 MB limit per image on the Claude API. Google Cloud's image understanding guide for Gemini lists PNG, JPEG, WebP, HEIC and HEIF, with up to 3,000 images and PDFs per prompt on Gemini 4 and 3.x models.

The table compares the four candidates on the points that affect routing.

Candidate Image inputs Output constraint for a queue list Documented image limitations
OpenAI vision models PNG, JPEG, WEBP, GIF JSON Schema with enum, strict: true Rotated or upside-down images, small text, non-Latin text, counting
Claude vision JPEG, PNG, GIF, WebP JSON Schema with enum via output_config.format Low-quality, rotated or very small images under 200 pixels
Gemini image understanding PNG, JPEG, WebP, HEIC, HEIF JSON Schema with enum for classification Low-quality, rotated or extremely low-resolution images
Parsec TOD v1 Text and images Scores only the options you supply Image formats and size limits are not documented

The limitations column matters more than the format column. A phone photo of a damaged parcel is often rotated, dark or cropped. OpenAI warns that its models "may misinterpret rotated or upside-down text and images." Anthropic writes that Claude "might hallucinate or make mistakes when interpreting low-quality, rotated, or very small images under 200 pixels." Google uses almost the same words for Gemini. Google's image understanding guide also advises rotating images to their proper orientation before adding them to the prompt. That step costs little, and it belongs in your pipeline before any model receives the file. The same guide advises placing a single image before the text and labelling several images as "image 1," "image 2" and so on.

Structured outputs for multimodal classification fix the format of the answer, not the accuracy of the routing

Multimodal classification for routing needs an answer that a program can act on. All three providers can constrain the output to a JSON Schema with an enum of queue names, so the model can only return a listed queue.

OpenAI's Structured Outputs guide states that the feature "constrains completed, non-refusal model output to your supplied JSON Schema." It also tells developers to "validate any business rules that the schema does not express." Google's structured output guide calls enum a list "for classification tasks" and adds that you should "always validate values in your application." Anthropic documents one specific gap: Claude may return an enum value that differs from your schema only in capitalization, so values should be compared without regard to case.

The schema guarantees a valid label. It does not guarantee the right label. Refusals and responses that stop at the token limit can also break the schema on Claude and OpenAI. Your code therefore still needs to check every answer.

A routing request should separate scoring the queues from everything that follows

A routing call should do one job, which is to score the allowed queues for this case. Three other jobs belong in separate steps. The first is extraction, which pulls fields such as an order number or a policy ID out of the text and images. The second is argument resolution, which matches those fields to real records, such as the customer's account. The third is queue execution, which assigns the case in your ticketing system. Mixing these into one prompt makes errors hard to trace.

A case could reach the routing step like this:

{
  "case_id": "C-10482",
  "text": "Parcel arrived crushed, screen cracked. I was charged twice too.",
  "images": ["photo_1.jpg", "photo_2.jpg"],
  "allowed_queues": {
    "damage_claim": "Physical damage to a delivered item",
    "billing": "Charges, refunds and duplicate payments",
    "tech_support": "Device fault without physical damage",
    "fraud_review": "Suspected account takeover or stolen card"
  }
}

With a prompted vision model, the queue keys become the enum in the response schema. The model returns one label, and you can also ask for a flag that marks conflicting text and image evidence. This case is a deliberate conflict. The photo supports damage_claim, while the second sentence supports billing.

Parsec's TOD scores a list of allowed options instead of writing an answer

Parsec offers a different design for the same step. Its TOD page describes a "universal decision model" that reads text and images plus policy and task state. It then ranks the next action from a list of allowed actions. It generates no free text and cannot return an option that you did not supply. The current release is the one that Parsec's page labels "TOD decision v1 release evaluation, 29 September 2026."

According to Parsec's model card on Hugging Face, the release is a set of LoRA adapters on google/gemma-4-12B-it, plus a ModernBERT-base retriever. The base weights are not included. Users must accept the Gemma 4 licence, and the base model stays under the Gemma 4 terms, while the adapters are listed as Apache-2.0. The repo's call is predict(state, options, question, images), and it returns one probability per supplied option, summing to 1. For the case above, options would be the four queues and images the two photos.

Parsec's materials do not document which image formats TOD accepts, how large an image can be, or how images are resized. You would need to test those points yourself. The model card reports higher held-out accuracy with the image than without it on three public image benchmarks, but these are Parsec's own figures, not routing results. Parsec lists TOD at $0.30 per 1,000 decisions, flat regardless of context length, and says that the fees are separate from any parent-model cost.

Latency figures for TOD need extra care. The TOD page and the repo publish different timings on different GPUs, and the TOD page gives two inconsistent descriptions of the model's size. Timings for a compact encoder should not be applied to a release built on a 12B base. The repo also warns against sdpa attention and against bitsandbytes int8 when serving. Measure TOD on your own hardware and precision before you compare it with a hosted API.

A held-out case set is the only evidence that decides between models

Vendor pages show what a model accepts. A test set shows what it gets right on your cases. The set should be built before any model is tried, and it should stay untouched during prompt tuning.

A useful set has the following parts:

  1. Write a label definition for each queue, with one or two example cases, so that two reviewers would route a case the same way.
  2. Draw real historical cases for every category, including the rare queues where a misroute is most costly.
  3. Include ambiguous cases and cases where the text and the image point to different queues, labelled with the outcome that a senior agent chose.
  4. Add degraded images on purpose: rotated photos, low-resolution screenshots and images under 200 pixels, since all three providers name these as weak spots.
  5. Run a text-only ablation by sending each case again without its images, which shows how much the images actually contribute.
  6. Write the business rules as code, such as "fraud cases never go to self-service," and score the model with those rules applied.

Run the ready-made candidates and a rules-only baseline on this set before considering any custom tuning. A keyword rule on the case text may already route most billing cases correctly. If it does, the model only needs to handle what the rules cannot.

A review gate defers uncertain cases and keeps the final queue decision in your code

The routing result should never move a case directly. It should pass through a gate that your application controls. A minimal gate looks like this:

def route(case, result):
    label = result["queue"].lower()
    if label not in ALLOWED_QUEUES:
        return defer(case, "label_not_allowed")
    if result["conflict"] or result["score"] < THRESHOLD[label]:
        return defer(case, "uncertain_or_conflicting")
    if not rules_permit(case, label):
        return defer(case, "business_rule")
    log_decision(case.id, label, result, MODEL_VERSION)
    return assign_queue(case, label)

A candidate probability does not authorize any action. TOD's probabilities sum to 1 across the options that you supplied. A high score therefore means that one queue beat the others, not that any of them is correct. A score also carries no information about whether this customer may enter that queue. That check belongs in rules_permit.

The thresholds need local validation. Set each queue's threshold on held-out cases so that the cases above it meet your error tolerance. Then record what share of cases falls below it and goes to a person. Whether a prompted model's self-reported confidence tracks its accuracy on your cases has not been measured, so test it rather than assume it.

The comparison should report errors, review load and cost per case together

A single accuracy number hides the errors that matter. Before you compare candidates, produce these measurements on the held-out set:

  • Measure per-category routing accuracy, because a model can do well overall while failing a small, important queue.
  • Count costly misroutes separately, such as a fraud case sent to self-service, and weight them by what they cost the business.
  • Check calibration by grouping cases by score and comparing each group's score with its actual accuracy.
  • Report review coverage at a fixed error tolerance, which is the share of cases handled automatically when errors are held at your limit.
  • Track end-to-end routing success, meaning the case reached the right queue after the gate, the rules and any human review.
  • Record latency and total cost per case, including image tokens, output tokens and review time.

Each result should name the exact model version, the hardware and precision for self-hosted models, the image sizes sent and the number of candidate queues.

Cost follows directly from list prices and image tokens. Take one 1000×1000 photo, 1,500 tokens of case text and instructions, and a 150-token answer, with no caching or batch discount. On OpenAI's gpt-5.6-luna, the photo costs 1,229 tokens at high detail under OpenAI's patch formula. At $0.20 per million input tokens and $1.20 per million output, a case costs about $0.00073, or $72.58 per 100,000 cases. Reasoning tokens would add to that.

The same assumptions give these list costs on the other providers:

  • Claude Haiku 5.5 counts the photo as 1,296 tokens. Anthropic's pricing page says that its newer tokenizer produces about 30% more tokens for the same text, so the text is taken as 1,950 tokens and the answer as 195. At $0.10 input and $0.50 output per million, that comes to about $42.21 per 100,000 cases.
  • Gemini 3.8 Flash counts the photo as 1,120 tokens at the default resolution. At $0.75 input and $3.75 output per million, that comes to about $252.75 per 100,000 cases. Google's pricing page raises those rates to $1.50 and $7.50 on January 1, 2027, which makes the same workload $505.50.

These figures compare list prices only. Human review time is not included, and it will often cost more than the model.

Stock models, rules or tuning each fit a different measured result

The measurements decide which path fits:

  • Use deterministic rules alone when the rules-only baseline already meets your error tolerance. The images then add cost without changing the result.
  • Use a stock vision model when it meets your targets on the held-out set, including the degraded-image and conflict cases. Choose the cheapest one that passes.
  • Try unmodified TOD when your queues are a fixed list, you want scores rather than text, and you can test its image handling yourself.
  • Consider custom tuning only when the measurements show repeated errors in your domain that prompting and rules cannot fix. Google's own guide notes that dedicated image recognition models "can be potentially more effective at very specific tasks," and adds that they take time and expertise to build.

Results that show a model failing are as useful as results that show it winning

Publish the cases where a candidate failed, including categories where adding images did not help. A text-only ablation that matches the multimodal result is a finding. It means that you can drop image tokens from the bill.

Keep two kinds of claims apart in every comparison. Vendor pages describe capabilities: supported formats, limits and benchmark scores on public datasets. Your held-out set produces measured outcomes on your own cases. Only the second kind should decide which model routes your queue.

Sources

More in Models

All Models →