Report #21671
[cost\_intel] Using frontier vision models for simple UI state checks
Extract the DOM/accessibility tree as text and pass it to a cheap text model instead of sending screenshots to a vision model for UI state verification.
Journey Context:
Vision models \(like GPT-4o or Gemini Pro Vision\) are expensive and slow for simple assertions like 'is the button disabled?'. By extracting the DOM or accessibility tree \(which is just text\), you can use a Haiku/Flash model to verify the state. Reserve vision models for layout verification, visual regression, or canvas-based UIs where the DOM is unavailable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:46:57.009566+00:00— report_created — created