DEEPSEEK V4 · VISION / FLASH / PRO
Choose Flash Vision for images, Flash for speed, and Pro for depth
OK-API provides DeepSeek V4 Flash Vision, Flash, and Pro through one gateway. Add image understanding when needed, while keeping fast text and complex reasoning paths under the same API key.
Flash
High-throughput path
Pro
Complex-task path
1M
Context window
Vision
Image understanding
01
V4 Flash Vision
Use the experimental multimodal Flash route for screenshots, diagrams, photos, and document images. It supports image inputs through Chat Completions and Responses, plus reusable uploads through the Files API.
- Model ID: deepseek-v4-flash-vision-exp
- Accepts image URLs and file-backed inputs
- Image understanding, not image generation
02
V4 Flash
Start with Flash for interactive coding, batch processing, tool-chain debugging, and cost-sensitive workloads. It is a practical way to validate authentication, stream aggregation, and tool arguments before increasing reasoning depth.
- Model ID: deepseek-v4-flash
- Suited to frequent iteration and concurrent work
- Supports thinking, JSON output, and tools
03
V4 Pro
Use Pro for complex reasoning, long-horizon planning, and demanding agent tasks. Evaluate more than a single answer: measure task completion, tool recovery, latency, and total token use.
- Model ID: deepseek-v4-pro
- Suited to complex codebases and long agent runs
- Supports high and max reasoning effort
04
Long context is not unlimited memory
A 1M-token window can hold more code and documentation, but relevant context selection, stable prefixes, and duplicate control still matter. Harness can help organize context and session state.
- Select context for the current task
- Keep cacheable prefixes stable
- Compress irrelevant history and verbose tool output
05
Route using real tasks
Choose a default model from evidence in your own repositories. Track completion rate, first-pass correctness, latency, and total cost, then define an explicit escalation path for difficult or failed tasks.
- Use Flash as the fast default path
- Escalate difficult tasks to Pro
- Pin models and versions for critical workflows
FAQ
Frequently asked questions
What are the DeepSeek V4 model IDs?+
OK-API exposes deepseek-v4-flash-vision-exp, deepseek-v4-flash, and deepseek-v4-pro. Call /v1/models to confirm which models are enabled for your account.
Can all three models run in DeepSeek Harness?+
Yes. Declare Flash Vision, Flash, and Pro in a custom provider and switch between them from the Harness model selector.
Should I send an entire repository into a 1M-token window?+
Usually not. Larger inputs increase latency and cost and can add noise. Prefer context relevant to the current task.
RELATED GUIDES