Multimodal vision forensics · Part 2 · 1–2 December 2026 · Total API spend: $0.51

Why Thin Chart Lines Disappear: Vision Token Ceilings, 39-Endpoint GLM-5.3 Flash Audit & Hidden Multi-Image Caps

Our October 2026 Snellen eye-chart study showed that different OpenRouter endpoints of the exact same VLM can differ by up to 7.5× in vision resolution. In December 2026—originally prompted while hardening high-resolution trading chart analysis at Gambit—we tested what happens on realistic 1920×1080 and 2560×1440 candlestick charts with unlabeled 1px–2px drawn lines across 20 models, swept all 39 live endpoints of z-ai/glm-5.3-flash, and binary-searched undocumented per-endpoint max_images ceilings and multi-chart scaling.

Headline Findings (Verified Against Raw JSON Receipts, 1–2 Dec 2026):

  • Hard model vision ceiling (~970 tok/image): deepseek/deepseek-v4.1-flash encodes both 1920×1080 and 2560×1440 PNGs to 986–988 prompt tokens identically under default, detail: "high", and detail: "original" across Fireworks, Together, CoreWeave, and DeepInfra—5.1× fewer vision tokens than Claude 5.5 (4,853–5,051) and 5.0× fewer than GLM-5.3 Flash (4,943–5,117). On a 2560×1440 BTC chart, it completely missed a 1px sky-blue line at $104,800 (hMAE = $2,550) and snapped levels to $2,000 gridlines (§2).
  • Google Vertex 4.1× silent downscaling on top of that: google-vertex/global billed just 240 prompt tokens vs. 986 on identical 1920×1080 input (4.1× smaller), misreading NVDA close 145.60 → 148.68 and support $134.25 → $115.00 ($19.25 error, 6.5/11).
  • 39-endpoint live sweep of z-ai/glm-5.3-flash: 36/39 endpoints served full native 4,943 tokens and scored 10.0/10 (hMAE = $67–$233), while 3/39 (relace/fp4, sail-research/us, sail-research/fp4) returned HTTP 404 (no image support) despite being listed. Setting reasoning: {"enabled": false} returns HTTP 400 on 5/5 providers, while omitting reasoning silently triggers effort: "max" (2–4× cost); explicitly passing effort: "low" cuts cost to $0.00020–$0.00081/chart (0.8–2.3s)—faster and cheaper than Claude Haiku 5.5 (§4).
  • Undocumented hard max_images limits & parallel-vs-batched multi-image scaling: OpenRouter's /endpoints metadata publishes no max_images field, yet endpoints silently enforce hard caps (glm-5.3-flash:deepinfra = 30 exact, glm-5.3-flash:together = 64 exact, others ≥ 100), and glm-5.3-flash:coreweave stalled at 53.5–66.6s per vision call. All 8 endpoints scaled linearly (0.99×, zero multi-image resolution crush), and parallel 1-image calls beat single batched multi-image calls on dense 10-chart turns (40 thin 1px lines: 37/40 → 40/40, and N=6 latency dropped 2.8× from 6.75s → 2.40s) (§5).

1. Ground-Truth Charts & Controls

Both reference charts are deterministic dark-mode candlestick PNGs (generate_charts.py) with unlabeled drawn trendlines and horizontal levels—forcing models to trace each colored 1px–2px line across to the right-side price axis rather than reading an on-chart label.

Chart A: 1920x1080 NVDA 4h candlestick chart with unlabeled cyan, orange, purple dashed, and yellow diagonal lines
Chart A (1920×1080 PNG, 36.9 KB): NVDA · 4h · NASDAQ (Close 145.60; Y-axis 120–160, step 2.50). Unlabeled 2px lines: cyan horiz 148.50, orange horiz 134.25, purple dashed horiz 154.00, yellow ascending diagonal 126.00 → 142.60.
Chart B: 2560x1440 BTCUSDT 1D candlestick chart with 1px sky-blue, 2px green, 1px white, and 2px red diagonal lines
Chart B (2560×1440 PNG, 37.5 KB): BTCUSDT · 1D · BINANCE (Close 97,850; Y-axis 80,000–112,000, step 2,000). Unlabeled lines: 1px sky-blue horiz 104,800, 2px green horiz 91,500, 1px white horiz 86,200, 2px red descending diagonal 108,400 → 93,200.

Transport & compression controls: (1) OpenRouter's HTTP image URL fetcher does zero downscaling—fetching a public PNG URL vs. sending the exact bytes as data:image/png;base64,... billed identical prompt tokens (1,008 == 1,008 on DeepSeek V4.1 Flash; 4,757 == 4,757 on Claude Haiku 5.5; bench_url_vs_b64.py). (2) Re-encoding Chart A as JPEG quality=80 scored identically to lossless PNG (11.0/11, hMAE = $0.02, dMAE = $0.05 on Haiku 5.5).

2. DeepSeek V4.1 Flash's Hard ~970-Token Ceiling & Vertex 4.1× Downscale

Probing deepseek/deepseek-v4.1-flash across resolutions from 512×288 up to 2560×1440 and across all three detail settings proves the ~970-image-token cap is baked into the model's vision preprocessor—while google-vertex/global silently crushes it another 4.1×:

ModelProvider TagInput SizedetailPrompt TokensEst. Image TokCost
deepseek-v4.1-flashfireworks512×288omitted210~195$0.00003
deepseek-v4.1-flashfireworks1024×576omitted384~369$0.00006
deepseek-v4.1-flashfireworks1920×1080omitted / high / original986~970$0.00015
deepseek-v4.1-flashfireworks2560×1440omitted986~970$0.00015
deepseek-v4.1-flashtogether1920×1080omitted / high988~970$0.00030
deepseek-v4.1-flashcoreweave/fp81920×1080 / 2560×1440omitted986~970$0.00013
deepseek-v4.1-flashdeepinfra/fp81920×1080omitted986~970$0.00014
deepseek-v4.1-flashgoogle-vertex/global1920×1080omitted240~225 (4.1× cap!)$0.00008
deepseek-v4-flash-vision-expdeepinfra1920×1080 / 2560×1440omitted386~370 (2.6× cap)$0.00009

What fails in practice: On Chart B (2560×1440), full-spec DeepSeek V4.1 Flash (fireworks/together/coreweave) returned $97,850 for the 1px sky-blue $104,800 line (a $6,950 error, hMAE = $2,550); in unprompted open-ended reading (max_tokens = 8000), coreweave stated "There are three distinct drawn lines" (omitting the 1px sky-blue line entirely) and all three snapped levels to $2,000 gridlines. On Vertex (240 image tokens), Chart A degraded to 6.5/11 (hMAE = $7.08).

3. 20-Model Head-to-Head Chart Precision & Two-Stage Open-Weights Pattern

Structured JSON grading at temperature: 0.0, max_tokens: 2500 (rows marked budget exhausted 2,500 tokens inside hidden reasoning before emitting JSON):

Model / ConfigurationChart AA hMAEChart BB hMAEB dMAEB ptB LatencyB Cost
anthropic/claude-sonnet-5.511.0/11$0.0310.0/10$0$05,0514.65s$0.0142
openai/gpt-5.6-terra (high)11.0/11$0.0010.0/10$0$252,91620.26s$0.0254
openai/gpt-5.6-luna (high)11.0/11$0.0210.0/10$0$502,9169.77s$0.0019
anthropic/claude-haiku-5.511.0/11$0.0210.0/10$33$255,0514.07s$0.0009
z-ai/glm-5.3-flash (coreweave, default max)11.0/11$0.0810.0/10$33$504,9436.56s$0.0014
z-ai/glm-5.3-flash (together, effort="low")——10.0/10$67$1504,9431.04s$0.00081
z-ai/glm-5.3-flash (wafer/nvfp4, effort="low")——10.0/10$67$504,9431.63s$0.00036
openai/gpt-5.4 (high)11.0/11$0.0510.0/10$100$752,9161.73s$0.0044
openai/gpt-5.4-mini (high)11.0/11$0.0810.0/10$117$502,9161.63s$0.0025
z-ai/glm-5v-turbo11.0/11$0.4210.0/10$233$504,93616.59s$0.0088
x-ai/grok-4.2011.0/11$0.2510.0/10$333$2002,7661.36s$0.0036
moonshotai/kimi-k311.0/11$0.08budget——5,02716.28s$0.0524
google/gemini-3.6-flash11.0/11$0.08budget——1,27611.51s$0.0103
qwen/qwen3.8-27b (coreweave/fp8)9.5/11$0.92budget——3,81217.80s$0.0090
deepseek-v4.1-flash (together, r=on)10.5/11$0.339.0/10$2,550$1501,1652.48s$0.0016
deepseek-v4.1-flash (fireworks, r=off)11.0/11$0.129.0/10$2,550$4001,1371.19s$0.0002
deepseek-v4.1-flash (google-vertex/global)6.5/11$7.08budget——41712.39s$0.0031

Two-stage open-weights pattern: Pairing a fast, high-res vision pre-pass (z-ai/glm-5.3-flash at reasoning: {"enabled": true, "effort": "low"}, injecting an untrusted structured visual readout) in front of deepseek-v4.1-flash raised Chart B accuracy from 9.0/10 (hMAE = $2,550) to 10.0/10 (hMAE = $67, $0 error on both 1px lines) at $0.00082–$0.00125 total turn cost—flat or cheaper than running DeepSeek V4.1 Flash reasoning alone ($0.0016), because Stage 2 stops burning thousands of reasoning tokens squinting at blurry lines.

4. Complete 39-Endpoint Live Vision Audit of z-ai/glm-5.3-flash

Sweeping all 39 live endpoints returned by OpenRouter's /api/v1/models/z-ai/glm-5.3-flash/endpoints on 2 December 2026 (bench_glm_all_providers.py, total spend $0.0230) uncovered three operational surprises:

5. Undocumented Per-Endpoint max_images Caps & Multi-Image Scaling

OpenRouter's /api/v1/models/{slug}/endpoints API publishes no max_images field for any endpoint—yet upstream providers and OpenRouter's router silently enforce hard per-request integer limits. We probed 8 endpoints with N = 1, 5, 10 distinct 1920×1080 PNGs, N = 24 512×288 PNGs, and binary-searched N = 32..100 (bench_multi_image.py):

Model & Provider1080p × 11080p × 51080p × 10ScalingExact Max Images / ReqLatency (1→10×1080p)Behavior
glm-5.3-flash:together2,71413,48626,9510.99× linear64 (exact)0.73s → 1.94sN=65 → HTTP 400 ("limit of 64")
glm-5.3-flash:fireworks2,71413,48626,9510.99× linear≥ 1000.89s → 2.36sPassed N=100 cleanly
glm-5.3-flash:deepinfra2,71413,48626,9510.99× linear30 (exact)1.00s → 2.86sN=31 → HTTP 404 (filtered out by router)
glm-5.3-flash:baseten2,71513,487HTTP 4290.99× linear≥ 1000.57s → 1.30s (5×)Passed N=100; hit 429 on 10×1080p
glm-5.3-flash:coreweave2,71413,48626,9510.99× linear≥ 10053.5s – 66.6s30–60× latency stall on GLM vision
ds4.1-flash:fireworks9844,8609,7050.99× linear≥ 1000.75s → 1.47s~970 tok cap is strictly per-image
ds4.1-flash:together9864,8669,7160.99× linear≥ 1000.70s → 2.56s~970 tok cap is strictly per-image
ds4.1-flash:coreweave9844,8609,7050.99× linear≥ 1000.82s → 1.80sFast on DeepSeek (stall is GLM-only)

10-way concurrent burst & parallel per-image vs. batched multi-chart accuracy: Firing 10 simultaneous single-image 2560×1440 calls succeeded 10/10 with zero errors across all 4 fast GLM-5.3 Flash providers (baseten 1.79s, deepinfra 1.83s at $0.00434, together 2.31s, fireworks 2.52s). On a dense multi-chart stress test (N = 1, 5, 6, 10 distinct 2560×1440 charts with 4 unlabeled 1px lines each = 40 total levels at N=10):

N Charts (1px Lines)StrategyStage 1 Wall TimeStage 1 CostAccuracy (All)Charts 7–10
N = 6 (24 lines)DeepSeek V4.1 Flash raw—$022/24—
N = 6 (24 lines)Single batched GLM call (cap=6, mt=2000)6,752 ms$0.0051624/24—
N = 6 (24 lines)Parallel per-image GLM (1/call, mt=1200)2,404 ms (2.8× faster)$0.00307*24/24—
N = 10 (40 lines)DeepSeek V4.1 Flash raw—$036/4013/16
N = 10 (40 lines)Single batched GLM call (cap=6, mt=2000)5,210 ms$0.00174*37/4013/16
N = 10 (40 lines)Parallel per-image GLM (1/call, mt=1200)6,809 ms (conc=6)$0.0065440/40 (100%)16/16

*Includes provider prefix-cache hits on the shared inspection prompt. Parallelizing into one image per request eliminates output-token squeezing (6 charts crammed into 1,677/2,000 tokens vs. ~500 tok/chart cleanly), cuts wall latency 2.8× at N=6, avoids per-request max_images caps entirely, and degrades gracefully per image on partial provider timeouts.

6. Reproduce Everything (~$0.51 Total Spend)

Every script, reference PNG/JPEG, and raw JSON receipt lives in experiments/vision_charts/:

cd experiments/vision_charts
export OPENROUTER_API_KEY="sk-or-v1-..."
python3 bench_glm_all_providers.py   # 39-endpoint GLM-5.3 Flash sweep (~$0.025)
python3 bench_chart_vision.py        # DeepSeek token ladder + 20-model Chart A & B (~$0.28)
python3 bench_open_ended.py          # Unprompted open-ended Chart B comparison (~$0.05)
python3 bench_url_vs_b64.py          # OpenRouter HTTP URL vs. base64 parity (~$0.002)
python3 bench_multi_image.py         # Hidden max_images caps, 10x burst & dense multi-chart (~$0.09)

Caveats: At temperature: 0.0, open-weights endpoints still exhibit minor ±$50–$200 single-shot variance on a $112k axis (1 px ≈ $24), whereas the vision token-cap signatures (986 vs. 4,943 vs. 240) and hard max_images caps (30, 64) are deterministic. High-reasoning models hit the max_tokens: 2500 ceiling during hidden reasoning on Chart B.

Part of LLM Verification · Snellen Vision Study (Part 1) · Forensic Explorer (Tab 8) · GitHub Repro Kit