惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
S
Schneier on Security
Forbes - Security
Forbes - Security
Cisco Talos Blog
Cisco Talos Blog
月光博客
月光博客
T
Threat Research - Cisco Blogs
I
InfoQ
量子位
NISL@THU
NISL@THU
C
Cisco Blogs
云风的 BLOG
云风的 BLOG
P
Privacy & Cybersecurity Law Blog
The Register - Security
The Register - Security
A
Arctic Wolf
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
AWS News Blog
AWS News Blog
T
Troy Hunt's Blog
M
MIT News - Artificial intelligence
B
Blog
T
Tor Project blog
有赞技术团队
有赞技术团队
Hacker News: Ask HN
Hacker News: Ask HN
Y
Y Combinator Blog
L
LangChain Blog
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LINUX DO - 热门话题
Schneier on Security
Schneier on Security
Cloudbric
Cloudbric
H
Hacker News: Front Page
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
V
V2EX
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
O
OpenAI News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗
宝玉的分享
宝玉的分享
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Scott Helme
Scott Helme
Recorded Future
Recorded Future
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
美团技术团队

Crazyrouter Blog (English)

Ideogram AI Guide 2026: Product Mockups, Text Rendering, and API Automation Akool AI Voice Generator Review 2026: API Alternatives for Developers GLM 4.6 API Guide 2026: Build Chinese-English Agents with Tool Calling Google Veo3 API Guide 2026: Batch Video Generation, QA, and Fallbacks Claude Opus 4.8 vs Opus 4.7: Real API Benchmark Results for Developers Opus 4.8 vs Opus 4.7 Coding Test: What Changed for Developers? Opus 4.8 vs Opus 4.7 for Agents: JSON, Tool Use, and Structured Output Gemini 2.5 Flash-Lite for RAG, Agent Routing, and Cost per Successful Task Gemini 2.5 Flash-Lite for Support Automation and Ticket Triage Gemini 2.5 Flash-Lite Use Cases: The Practical Automation Tier for Developers Claude Jupiter v1-p vs GPT-5.5 Benchmark: Real API Test on Reasoning and Coding Claude Jupiter v1-p vs Claude Opus 4.7 vs Sonnet 4.6: Live API Test Claude Jupiter v1-p vs Claude Opus 4.7 vs Sonnet 4.6: Live API Test Claude Code Pricing 2026: Pro vs Max vs Team vs API Costs Claude Opus 4.7 vs DeepSeek V4 Pro: Real API Compatibility and Coding Benchmark Gemini CLI Complete Guide 2026: Repo Automation, CI Agents, and Multi-Model Routing Ideogram AI Guide 2026: Brand Design Automation, API Workflows, and Alternatives GLM 4.6 API Guide 2026: Agents, RAG, Tool Calling, and Bilingual Apps WAN 2.2 Animate Tutorial 2026: Character Consistency, Shot Control, and API Workflows Google Veo3 API Guide 2026: Production Video Pipelines, Prompts, Pricing, and Fallbacks AI API Pricing Comparison 2026: Text, Image, Video, Caching, and Router Costs Codex CLI Installation Guide 2026: Windows, macOS, Linux, Proxies, and CI Setup How to Get a Claude API Key in 2026: Secure Setup for Teams, CI, and Alternatives Gemini Advanced Review 2026: Is It Worth It for Coding, Research, and API Teams? Claude Code Pricing Guide 2026: Team Agent Budgets, API Fallbacks, and Cost Control Seedance 2.0 Pricing: Convert 46 CNY per Million Tokens to Cost per Second Qwen2.5-Omni Guide 2026: Real-Time Voice, Vision, and Multimodal Agents Kimi K2 Thinking Guide 2026: Reasoning Workflows, Evals, and Cost Control Google Veo3 API Guide 2026: Batch Video Pipelines, Pricing, and Fallbacks Codex CLI Installation Guide 2026: macOS, Linux, WSL, Proxies, and Dev Containers How to Get a Claude API Key in 2026: Safe Production Setup and Alternatives AI API Pricing Comparison 2026: GPT, Claude, Gemini, Video, and Agent Workloads Gemini Advanced Review 2026: Is It Worth It for Developer Teams? Claude Code Pricing Guide 2026: API Fallbacks, Team Seats, and Budget Control Seedream 4.0 API Tutorial 2026: Batch Image Generation, Product Creative, and Pricing Qwen2.5-Omni Guide 2026: Real-Time Voice, Vision, Text Agents, and API Integration Kimi K2 Thinking Guide 2026: Reasoning Agents, Evaluation Workflows, and API Cost Control WAN 2.2 Animate Tutorial 2026: Character Motion, Shot Control, API Pipelines, and Pricing Google Veo3 API Guide 2026: Production Video Workflows, Prompts, Pricing, and Fallbacks AI API Pricing Comparison 2026: OpenAI, Claude, Gemini, DeepSeek, and Router Costs How to Get a Claude API Key in 2026: Setup, Security, Rotation, and Alternatives Codex CLI Installation Guide 2026: macOS, Linux, WSL, Proxies, and Devcontainers Gemini Advanced Review 2026: Is It Worth It for Developers and API Builders? Claude Code Pricing Guide 2026: CI Agents, Team Seats, and API Budget Planning AI API Gateway for Singapore and Malaysia Developers: One Endpoint for GPT, Claude and Gemini AI API Gateway for Thai Developers: Use GPT, Claude and Gemini with One Key One API Key for GPT, Claude and Gemini: A Practical Setup for Central Asia Developers Gemini 3.5 Flash vs Claude Response-Tier Models: Which One Should Developers Use? Gemini 3.5 Flash vs Gemini 3 Flash vs Gemini 2.5 Flash: Real API Benchmark "How to Test Multiple AI Image Models with One API Key" Codex CLI Installation Guide: Setup on macOS, Linux, Windows WSL and CI/CD Seedream 4.0 API Tutorial: ByteDance Image Generation for Production Pipelines Kimi K2 Thinking Model: Complete Developer Guide for Reasoning Workflows Luma Ray 2 Review: AI Video Generation Quality, Speed, and API Guide Pika 2.2 New Features Review: Scene Director, Sound Design, and API Updates Google Veo 3 API Guide: Video Generation with Audio for Developers AI Lip Sync Tools Comparison 2026: Best APIs for Talking Avatars and Video Dubbing Gemini Advanced Review May 2026: Is It Worth $20/Month for AI Power Users? Claude Code Pricing in May 2026: Max Plan, Opus 4, and Real Cost Breakdown Hermes Agent + Crazyrouter: One-Click Setup for 627+ AI Models Text-Embedding-3-Small: Complete Guide to OpenAI's Most Popular Embedding Model (2026) AI Meme Generator & Coloring Book Creator with GPT-image-2 — Fun Projects That Actually Make Money AI Future Baby Prediction with GPT-image-2 — See What Your Child Might Look Like Ghibli Style Photo Transformation with GPT-image-2 — Turn Any Photo Into Anime Art AI Action Figure Generator with GPT-image-2 — Turn Anyone Into a Boxed Toy AI Face Reading & Personal Color Analysis with GPT-image-2 — Two Viral Use Cases in One Guide AI Palm Reading with GPT-image-2 — Generate Professional Palmistry Analysis from a Single Photo Gemini 2.5 Flash-Lite Pricing Explained — The Cheapest Gemini Model for High-Volume Workloads Claude Sonnet 4.6 Pricing Explained — Caching, Tiers, and How to Save 45% with Crazyrouter Gemini Free vs Gemini Advanced: Pricing, Limits, Features, and Is It Worth Paying For? AI Context Window Comparison (2026): GPT, Claude, Gemini Token Limits by Model Claude Sonnet 4.5 Pricing Explained — Caching, Batch API, and How to Save 45% with Crazyrouter Claude Opus 4.7 Pricing Explained — New Tokenizer, Caching, and How to Save 45% with Crazyrouter Claude Opus 4.6 Pricing Explained — Caching, Tiers, and How to Save 45% with Crazyrouter Best AI Models for RAG Applications 2026: Embeddings, Retrieval, and Generation Seedance 2.0 vs Kling 2.1 vs Runway Gen 4 Turbo: Video AI API Comparison 2026 AI Video Generation API Pricing May 2026: Veo3 vs Kling vs Runway vs Sora How to Get Claude API Key in China 2026: Complete Setup Guide AI Coding Tools ROI Calculator: Claude Code vs Codex CLI vs Gemini CLI Cost Analysis 2026 AI API Pricing Comparison May 2026 - Complete Developer Guide Grok 4 API Pricing Complete Guide 2026 DeepSeek R2: The 32B Reasoning Model That Runs on a Single GPU — Complete Guide for Developers "GPT-5.1 Codex Max Pricing Explained — The Code-Specialized Model and How to Save with Crazyrouter" GPT-4o Pricing Explained — The Legacy Flagship That's Still Worth Using GLM-5 Pricing Explained — Zhipu AI's Flagship Model and How to Access via Crazyrouter Gemini 3 Flash Pricing Explained — Balanced Speed and Cost with Crazyrouter Savings "Gemini 3.1 Pro Pricing Explained — Context Tiers, Caching, and How to Save with Crazyrouter" GPT-5.5 Pricing Explained — OpenAI's Latest Flagship, Reasoning Tokens, and How to Save with Crazyrouter AI Model Pricing Guide 2026: What Every Model Costs on Crazyrouter (and How Much You Save) MiniMax M2 Pricing Explained — China's Competitive AI Model and How to Access via Crazyrouter Grok 4.1 Thinking Pricing Explained — Reasoning Tokens, Caching, and How to Save with Crazyrouter Grok 4.1 Pricing Explained — 2M Context, Caching, Tool Costs, and How to Save with Crazyrouter GPT-5 Pricing Explained — Reasoning Tokens, Caching, Batch API, and How to Save with Crazyrouter GPT-5-nano Pricing Explained — The Cheapest GPT Model for High-Throughput Workloads GPT-5-mini Pricing Explained — Ultra-Low Cost AI with Caching and Batch Discounts GPT-5.4 Pricing Explained — Cached Input, Context Tiers, Batch API, and How to Save with Crazyrouter GPT-5.2 Pricing Explained — Caching, Batch API, and How to Save with Crazyrouter OpenRouter vs Crazyrouter (2026): Pricing, Models, and Which API Gateway Fits Developers Better Suno v4 vs v5 vs v4.5: Which Version Sounds Better and Is Worth Using in 2026? How to Use Claude Code with Crazyrouter: Base URL Setup, Model Routing, and Cost Savings
6 Vision API Models Tested: Gemini 2.5, GPT-4.1, and Qwen3 VL for Image Understanding
Crazyrouter Team · 2026-06-22 · via Crazyrouter Blog (English)

6 Vision API Models Tested: Gemini 2.5, GPT-4.1, and Qwen3 VL for Image Understanding#

If you are building image understanding into a product, the phrase “supports images” is not enough.

A model page can say that a model supports vision input, but your production route still has to answer harder questions:

  • Does the OpenAI-compatible image_url payload actually reach the model?
  • Does HTTP 200 mean the model really saw the image?
  • Which route is fast enough for user-facing image uploads?
  • Which route is cheap enough for bulk image classification?
  • Which route should be used as fallback when the first model fails?
  • Can usage metadata reveal a broken media path?

To make the comparison more practical, I tested six vision-capable models through the same OpenAI-compatible API shape:

  • gemini-2.5-flash
  • gemini-2.5-flash-lite
  • gpt-4.1-mini
  • gpt-4.1-nano
  • qwen3-vl-flash
  • qwen3-vl-plus

The goal is not to crown a universal winner. The useful question is: which model should you route to for a specific user workflow?


Test setup#

All tests used the Crazyrouter OpenAI-compatible Base URL:

The request format was chat/completions, with the image passed through messages[].content[] as an image_url object.

Each model was tested on two stable public images:

  • Python logo
  • GitHub logo

Each image was run three times per model, so every model had six requests in total.

Test time: 2026-06-21T13:36:32Z.

This is a vision API smoke test. It is useful for checking whether the image_url route works and whether the model can perform simple visual recognition. It is not a full OCR, chart reasoning, document extraction, handwriting, or medical-image benchmark.


Quick recommendation#

Based on this run:

  • Real-time user uploads / lowest latency: use gpt-4.1-mini
  • Bulk logo, icon, or simple image classification: use qwen3-vl-flash
  • Low-cost Gemini route: consider gemini-2.5-flash-lite
  • Low-cost OpenAI-family route: consider gpt-4.1-nano
  • Quality-oriented Qwen VL route: use qwen3-vl-plus as an upgrade path
  • Do not use as default image_url vision route in this run: gemini-2.5-flash

The most important finding is simple:

HTTP 200 does not prove image understanding succeeded.

In this test, gemini-2.5-flash returned HTTP success for all six requests, but the visual recognition score was 0/6. It also produced outputs such as “no image provided,” incorrect CBC logo recognition, and unrelated object descriptions.

That is the dangerous failure mode: the API call appears successful, but the model did not correctly process the image.


Overall results#

ModelHTTP successCorrect recognitionNo-image repliesAvg latencyMedian latencySlowest requestInput price / 1M tokensOutput price / 1M tokensEstimated cost / 10k test-style callsPositioning
qwen3-vl-flash6/66/603.819s3.493s5.975s$0.05$0.40$0.0915Best low-cost route for bulk recognition
gpt-4.1-mini6/66/601.491s1.292s2.189s$0.26$1.04$0.5226Best low-latency route for user-facing features
gpt-4.1-nano6/66/602.863s2.562s4.213s$0.065$0.26$0.1666Low-cost OpenAI-family route
qwen3-vl-plus6/66/603.859s3.729s4.821s$0.1429$1.4286$0.3848Quality-oriented Qwen VL upgrade route
gemini-2.5-flash6/60/614.965s4.333s9.507s$0.17$0.68$0.6168image_url path failed in this run
gemini-2.5-flash-lite6/66/602.618s2.627s4.195s$0.055$0.22$0.5466Low-cost Gemini lightweight route

The estimated 10k-call cost is based on observed usage in this simple logo recognition test. It should not be treated as universal pricing for all image workloads. Larger images, OCR tasks, long descriptions, and multi-image prompts can change token usage significantly.

The useful production metric is not just model price. It is cost per successful image task.

A cheap route that frequently needs retries or fallback can be more expensive than a more reliable route.


Accuracy: five models passed, one model failed#

Correct recognition in this smoke test:

  1. qwen3-vl-flash: 6/6
  2. gpt-4.1-mini: 6/6
  3. gpt-4.1-nano: 6/6
  4. qwen3-vl-plus: 6/6
  5. gemini-2.5-flash-lite: 6/6
  6. gemini-2.5-flash: 0/6

For simple logo and icon recognition, five of the six routes worked correctly. This means many lightweight models are already enough for basic image classification.

But gemini-2.5-flash is the important cautionary example: HTTP success does not mean the image path is healthy.


Latency: GPT-4.1 Mini was the fastest#

Average latency from lowest to highest:

  1. gpt-4.1-mini: avg 1.491s, median 1.292s, slowest 2.189s
  2. gemini-2.5-flash-lite: avg 2.618s, median 2.627s, slowest 4.195s
  3. gpt-4.1-nano: avg 2.863s, median 2.562s, slowest 4.213s
  4. qwen3-vl-flash: avg 3.819s, median 3.493s, slowest 5.975s
  5. qwen3-vl-plus: avg 3.859s, median 3.729s, slowest 4.821s
  6. gemini-2.5-flash: avg 4.965s, median 4.333s, slowest 9.507s

For user-facing features, latency is part of product quality. If the user uploads an image and waits for a response, one or two seconds can matter.

For those workflows, gpt-4.1-mini is the strongest default route in this run.


Cost: Qwen3 VL Flash was the cheapest successful route#

Estimated cost for 10,000 test-style calls:

  1. qwen3-vl-flash: about $0.0915
  2. gpt-4.1-nano: about $0.1666
  3. qwen3-vl-plus: about $0.3848
  4. gpt-4.1-mini: about $0.5226
  5. gemini-2.5-flash-lite: about $0.5466
  6. gemini-2.5-flash: about $0.6168

For high-volume tasks such as logo detection, icon classification, screenshot pre-filtering, or dataset tagging, qwen3-vl-flash is the strongest low-cost candidate.

The key is that it was not only cheap. It also passed the visual recognition smoke test.


Model-by-model notes#

GPT-4.1 Mini: best for real-time interactions#

gpt-4.1-mini had the lowest average latency and passed 6/6 recognition.

Use it for:

  • user image uploads
  • support screenshot analysis
  • chat apps with image input
  • latency-sensitive agent workflows

The tradeoff is cost. It is not the cheapest route, so it should not automatically be used for every bulk image task.

Qwen3 VL Flash: best for bulk low-cost recognition#

qwen3-vl-flash passed 6/6 recognition and had the lowest estimated cost in this test.

Use it for:

  • bulk logo recognition
  • icon detection
  • simple image classification
  • screenshot pre-classification
  • high-volume visual tagging

It is slower than gpt-4.1-mini, but for batch workloads that may be acceptable.

Gemini 2.5 Flash Lite: usable low-cost Gemini route#

gemini-2.5-flash-lite passed 6/6 recognition and had acceptable latency.

It is a reasonable candidate if you want a Gemini-family backup route. However, usage metadata was not as straightforward as the Qwen route, so keep a visual smoke test in production.

GPT-4.1 Nano: low-cost OpenAI-family backup#

gpt-4.1-nano passed 6/6 recognition and is much cheaper than gpt-4.1-mini.

Use it for simple visual tags and lightweight classification. Do not assume it is the right route for complex document understanding, OCR, or deep visual reasoning.

Qwen3 VL Plus: quality-oriented Qwen upgrade route#

qwen3-vl-plus passed the test, but its latency and output price are higher than flash.

It is better treated as an upgrade route when qwen3-vl-flash is not enough, not as the default for every simple logo recognition task.

Gemini 2.5 Flash: do not use as default in this image_url route#

This was the problematic route in the test.

Results:

  • HTTP success: 6/6
  • Correct recognition: 0/6
  • No-image reply: 1
  • Incorrect unrelated outputs
  • Suspicious usage/image-token signals

This does not necessarily prove the model itself is incapable. It may indicate an adapter, media-fetch, payload-conversion, or upstream routing issue in this specific image_url path.

But for production, the conclusion is the same: do not use it as the default vision route until your own smoke test confirms that image handling is fixed.


Scenario-based routing advice#

ScenarioDefault routeFallbackWhy
Real-time user image uploadsgpt-4.1-miniqwen3-vl-flash or gemini-2.5-flash-liteprioritize latency and reliability
Bulk logo or icon recognitionqwen3-vl-flashgpt-4.1-nanolowest cost among successful routes
Simple screenshot classificationqwen3-vl-flash or gpt-4.1-nanogpt-4.1-ministart cheap, upgrade hard cases
Support screenshot analysisgpt-4.1-miniqwen3-vl-plususer-facing latency matters
OCR or document pre-filteringseparate benchmark requiredstronger OCR/document modellogo tests do not prove OCR quality
Agent visual inputgpt-4.1-mini or qwen3-vl-flashforced smoke test plus fallbackagents amplify bad visual inputs
Gemini backup routegemini-2.5-flash-litegpt-4.1-nanoFlash Lite worked; Flash failed in this run

Why usage signals matter#

Many image benchmarks only check the output text. In production, usage metadata can also be a health signal.

If a request returns HTTP 200 but:

  • prompt tokens look like only the text prompt arrived
  • image token fields are zero or missing
  • the model says “no image provided”
  • the answer is unrelated to the image

then the issue may be in the image transport path rather than the model itself.

Possible causes include:

  • image_url not forwarded correctly
  • gateway media fetch failure
  • base64 or inline conversion failure
  • OpenAI-compatible payload converted incorrectly
  • upstream accepting the request but ignoring image content
  • token accounting not matching actual media processing

For vision routes, text-only health checks are not enough. Use visual smoke tests.


API example#

Do not add UTM parameters to API endpoints. UTM belongs in human-facing links, not SDK base_url values.


Final takeaway#

Vision API selection should be based on the user workflow, not just the model name.

  • For real-time interactions, optimize for correct recognition plus low latency.
  • For bulk classification, optimize for cost per successful image.
  • For agents, optimize for reliability, monitoring, and fallback behavior.
  • For OCR and document understanding, run a separate benchmark with real documents.

My practical ranking from this run:

  1. Default for real-time interaction: gpt-4.1-mini
  2. Default for bulk low-cost recognition: qwen3-vl-flash
  3. Low-cost Gemini backup: gemini-2.5-flash-lite
  4. Low-cost OpenAI backup: gpt-4.1-nano
  5. Qwen quality upgrade route: qwen3-vl-plus
  6. Avoid as default for now: gemini-2.5-flash

The core question is not “does this model support images?”

The better question is:

Does this route reliably deliver the image to the model in my production API path?

That is what you should test before shipping.