Why Multimodal Capabilities Arrived Late: Cost Pressures and the Agent-First Path

    Multimodal AI models took longer to ship than many expected—not because vision understanding was technically impossible, but because visual tokens impose heavy inference costs that conflict with low-price service positioning. This article explains why image inputs are far more expensive than text, examines the main techniques for reducing visual overhead (dynamic resolution, token merging, sparse attention, and region cropping), and compares two product strategies: making multimodal a flagship feature versus treating vision as one component of an agent loop. It also covers data pipeline engineering and practical steps for adding vision capabilities to your own systems, including cost modeling, resolution strategies, caching, and layered evaluation.

    Where the Question Starts

    When the industry discusses multimodal models, the common question is not “can vision understanding be done,” but “why did it take so long?” Answering this requires understanding the extra burden that visual inputs place on inference systems.

    For text models, the input unit is the token. The length of a passage roughly scales with its character or word count, so costs are easy to estimate. Images are different. A high-resolution image entering the model is split into many patches, with each patch corresponding to one or more visual tokens. Higher resolution means more tokens, and inference-stage compute and memory usage are closely tied to sequence length. As a result, the cost of visual capability is determined mainly by image resolution and encoding strategy—not by the number of images.

    For platforms whose core positioning is low-price service, this problem is especially acute. The lower the unit price, the more the business depends on stable per-unit costs. If visual inputs generate several times—or even dozens of times—more tokens than text, the existing pricing model becomes hard to sustain. This is exactly why many teams have remained cautious about multimodal capabilities.

    Why Visual Tokens Are Expensive

    Using a common visual encoding approach as an example, the number of tokens produced by patch splitting can be estimated as follows:

    1. def estimate_visual_tokens(width: int, height: int,
    2. patch: int = 16, merge: int = 1) -> int:
    3. """Estimate the number of visual tokens after patching an image.
    4. patch: side length of a single patch (in pixels)
    5. merge: merge factor for adjacent patches, used to compress tokens
    6. """
    7. tokens_w = width // patch
    8. tokens_h = height // patch
    9. return (tokens_w * tokens_h) // (merge * merge)
    10. # 1024x1024 image, 16-pixel patches
    11. print(estimate_visual_tokens(1024, 1024)) # 4096
    12. # Same image, after 2x2 merging
    13. print(estimate_visual_tokens(1024, 1024, merge=2)) # 1024

    This code only demonstrates the calculation logic; the actual values depend on the patch size and encoding structure of the model you use. Two patterns stand out. First, token count is proportional to pixel area—doubling the resolution roughly quadruples the token count. Second, merging or compression is the most direct lever for reducing cost, but over-compression sacrifices detail.

    In the Transformer architecture, the cost of attention computation grows with sequence length. Long sequences not only increase compute but also expand the KV cache, consuming memory and limiting concurrency. For an inference service, once the visual portion of each request becomes too large, the number of requests a single GPU can handle drops noticeably, and unit costs rise accordingly.

    Main Technical Approaches to Reducing Visual Overhead

    To mitigate this problem, the industry typically combines several methods:

    Approach Core Idea Main Benefit Main Cost
    Dynamic resolution Choose resolution based on image content and task needs Saves tokens on simple images Requires additional decision logic
    Token merging Pool or fuse adjacent visual tokens Directly reduces sequence length Fine-grained information may be lost
    Sparse attention Keep full attention only for key regions or positions Reduces attention computation Requires a stable selection mechanism
    Region cropping Locate target regions first, then process them at high resolution Balances global context and detail Two-stage pipeline adds latency

    When making practical choices, start by clarifying the task type. For information-dense images such as document recognition and UI screenshots, detail preservation matters more than compression ratio. For scene classification and general content understanding, more aggressive compression is acceptable.

    From “Understanding Images” to “Reasoning with Images”

    Simple visual question answering only requires the model to output a text conclusion. If you want the model to reference specific locations within an image during reasoning—pointing out where a button is, or marking the boundary of an object—spatial information must be incorporated into the chain of thought.

    A common approach is to serialize coordinates as text. The following example normalizes bounding boxes to a fixed range, making it easier for the model to generate and interpret them in a uniform format:

    1. def box_to_token_text(box, img_w, img_h, scale=1000):
    2. """Convert a pixel-coordinate bounding box into a normalized text representation."""
    3. x1, y1, x2, y2 = box
    4. norm = [
    5. round(x1 / img_w * scale),
    6. round(y1 / img_h * scale),
    7. round(x2 / img_w * scale),
    8. round(y2 / img_h * scale),
    9. ]
    10. return f"[{norm[0]},{norm[1]},{norm[2]},{norm[3]}]"
    11. print(box_to_token_text((120, 80, 360, 240), 1024, 768))
    12. # [117,104,352,312]

    The advantage of this representation is that coordinates share the same vocabulary as text, so neither training nor inference requires dedicated modules. The tradeoff is that training data must include large numbers of labeled region samples—which brings us to the data engineering problem.

    Data Pipelines Are the Main Engineering Cost

    Teaching a model to reference regions during reasoning requires substantial labeled data. Taking object detection data as an example, a typical pipeline includes source collection, format normalization, quality filtering, and sample construction.

    1. def build_region_samples(raw_items, min_area=0.0004, max_boxes=20):
    2. samples = []
    3. for item in raw_items:
    4. boxes = [b for b in item["boxes"]
    5. if b["area_ratio"] >= min_area] # Filter out overly small targets
    6. if not boxes or len(boxes) > max_boxes: # Filter empty and overly dense samples
    7. continue
    8. if not item.get("label_verified", False): # Filter annotations that failed verification
    9. continue
    10. samples.append({
    11. "image": item["image_path"],
    12. "question": item["question"],
    13. "answer_boxes": boxes,
    14. })
    15. return samples

    Filtering rules should be designed around the task, and thresholds should be determined through sampling evaluation rather than fixed by intuition. Common data problems include bounding box misalignment, inconsistent categories, duplicate images, and distribution imbalance. If the raw dataset is large, the retention rate after multiple rounds of filtering can be quite low, so project schedules should reserve ample time for cleaning and review.

    Comparing Two Build Strategies

    Around multimodal capabilities, two typical strategies have emerged.

    The first treats multimodality as a core selling point of the flagship model, offering native multi-modal input at launch. The advantage of this route is broad capability coverage and direct user perception; the difficulty is that it requires simultaneous investment in visual encoding, training data, and evaluation systems.

    The second is agent-centric, treating visual capability as one link in a closed loop. When an agent executes a task, it needs to observe environmental feedback—such as web page rendering results, UI state, chart outputs, or test screenshots. Here, the role of vision is to let the agent confirm whether its actions took effect, rather than to handle all multimodal tasks on its own.

    Neither route is absolutely superior; the choice depends on the team’s resource structure and business goals. If your primary users are developers who need automated operations and verification, the second route usually delivers a better return on investment.

    Engineering Best Practices

    When introducing visual capabilities into your own system, consider the following steps:

    1. Clarify the purpose of visual input. Distinguish between content recognition, element localization, and execution verification—different purposes have very different resolution and accuracy requirements.
    2. Build a cost model. Estimate the visual token count per request based on typical image sizes, combine it with the text portion, and derive upper and lower bounds for per-call cost.
    3. Define a resolution strategy. Keep higher resolution for information-dense images, downsample ordinary screenshots as needed, and use evaluation to determine the minimum acceptable resolution.
    4. Cache repeated inputs. When the same page or image reappears across multiple turns of a conversation, reuse the already-computed encoding results.
    5. Build layered evaluation. Beyond overall accuracy, separately track localization error, detail recognition rate, and performance degradation at different resolutions—avoid judging by average scores alone.
    6. Preserve a fallback path. When the vision service is unavailable or exceeds budget, the system should fall back to a text-only pipeline and clearly inform users of the limitations of the results.

    Conclusion

    The late arrival of visual capabilities is mainly due to the conflict between the cost pressure of visual tokens and the positioning of low-price services. Solving it requires simultaneous investment at three levels: model architecture, training data, and inference engineering. For developers deciding whether to adopt visual capabilities, the key questions are whether the task genuinely depends on image information and whether the overall cost can be kept within acceptable bounds. Clarifying the purpose, quantifying the cost, and building an evaluation system are the fundamentals for reliably bringing multimodal capabilities into production.