跪拜 Guibai
← All articles
DeepSeek · AI Programming · Agent

DeepSeek's Vision API Lands at 0.12 Cents Per Image — but 800×800 Cap and CDN Blocks Bite

By Flynt ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

At 1.15 yuan per thousand images, screenshot-heavy automation — UI testing, agent step logging, page monitoring — flips from a cost-prohibitive luxury to a default. The 800×800 ceiling and CDN restrictions mean the first generation is for layout-level understanding, not fine OCR, but the price alone resets what's practical to build.

Summary

The `deepseek-v4-flash-vision-exp` model quietly appeared in API docs, giving DeepSeek's API the ability to see for the first time. Pricing matches the text-only V4 Flash tier: images are scaled to roughly 800×800 and capped at 384 tokens, which works out to about 0.12 cents per image at peak rates. That undercuts Claude Sonnet 4.6 by a factor of 25 on per-image cost, making high-frequency screenshot analysis economically viable for the first time.

Early testing reveals sharp edges. Text recognition handles main content but mangles symbols, emoji, and currency signs. The model miscounts fingers in a hand sketch — a known multimodal failure mode. More critically, the `reasoning_effort` parameter appears non-functional, so thinking-mode token overhead cannot be turned off. Images hosted on Alibaba CDN (alicdn) and ByteDance CDN (bytetos/bytescm) fail with download errors due to hotlink protection, forcing a local-download-then-base64 workaround.

A Files API launched alongside the vision model, free for now, letting callers upload images once and reference them by ID across requests — useful for Agent workflows that revisit the same design mockups repeatedly.

Takeaways
Images are scaled to roughly 800×800 and capped at 384 tokens regardless of original size, yielding about 9 images per cent at peak pricing.
Alibaba CDN (alicdn) and ByteDance CDN (bytetos/bytescm) URLs fail with download errors because of hotlink protection; images from those sources must be downloaded locally and sent as base64.
Text recognition gets main content right but misreads symbols, emoji, and currency signs — ¥ became $ in testing.
The model miscounts fingers in a hand sketch, a failure shared by most current multimodal models.
Setting `reasoning_effort` to `none` does not suppress reasoning tokens; thinking-mode overhead persists at roughly 64% of output tokens.
Images can only appear in user messages; placing them in system or assistant roles returns a 400 error.
A new Files API lets callers upload images once and reference them by ID, avoiding repeated base64 transmission for Agent workflows.
The model is experimental (`-exp` suffix); API shape and behavior may change before a stable release.
Conclusions

DeepSeek's pricing strategy treats vision as a commodity input rather than a premium feature — no multimodal surcharge, same token rate as text — which pressures competitors whose vision tiers carry steep markups.

The 800×800 resolution cap is a deliberate trade-off that keeps per-image token counts low and costs predictable, but it also draws a hard line: this model is for layout and trend understanding, not for reading fine print or dense tables.

CDN hotlink failures reveal a practical gap between API design and China's web infrastructure; any service that relies on Alibaba or ByteDance CDNs for image hosting will hit this wall and need a preprocessing step.

The non-functional `reasoning_effort` parameter suggests the vision model was shipped before full integration with DeepSeek's thinking-mode controls, which means early adopters pay a token tax they cannot opt out of.

Concepts & terms
base64 image encoding
A method of embedding binary image data directly into a text payload by encoding it as a base64 string, typically prefixed with a data URI scheme like `data:image/png;base64,...`. Used here as a workaround when URL-based image fetching fails due to CDN hotlink protection.
reasoning tokens
Tokens consumed by a model's internal chain-of-thought or thinking process before producing a final answer. In DeepSeek's API, these appear as `reasoning_tokens` in the usage response and are billed alongside completion tokens, even when `reasoning_effort` is set to `none`.
CDN hotlink protection
A mechanism where a content delivery network checks the HTTP Referer header or validates a signed URL before serving an image, blocking requests from unauthorized sources. DeepSeek's servers get blocked when fetching images from Alibaba and ByteDance CDNs because they lack the expected referrer or signature.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗