Vercel — AI · · 1 min read

DeepSeek V4.1 Flash now available on AI Gateway

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

DeepSeek V4.1 Flash is now available on AI Gateway with native image understanding.

V4.1 Flash has vision support and accepts text and images in the same request, so you can ask questions about screenshots, read charts, and extract information from visual content.

The model has a 1 million token context window and supports responses up to 384,000 tokens, along with reasoning, tool use, and prompt caching. Its new architecture processes input and generates output with separate components, reducing the active computation needed for each stage.

Use deepseek/deepseek-v4.1-flash as the model name:

Other
OtherClaude CodeHermesChat Completions
import { streamText } from 'ai';
const result = streamText({
model: 'deepseek/deepseek-v4.1-flash',
prompt: 'Explain how to make a database migration safe to roll back.',

To use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:

npm i -g vercel@latest
vercel ai-gateway setup

Then select deepseek/deepseek-v4.1-flash in the agent. See the coding agents guide for details.

Try DeepSeek V4.1 Flash in the model playground.

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.

AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.

You can view all language models available on AI Gateway.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI