
DeepSeek V4 Flash now runs updated weights on AI Gateway
Quick Answer
DeepSeek V4 Flash now operates with updated weights on AI Gateway, achieving a score of 82.7 on Terminal-Bench, a significant increase of 25.8 points.
Quick Take
Users can access these new weights automatically without changing the model ID or code, with other providers expected to follow next week.
Key Points
- DeepSeek V4 Flash scores 82.7 on , up from 56.9 in April.
- Automatic access to updated weights with no code changes required.
- DeepSeek is currently the only provider with updated weights.
- AI Gateway charges no platform fee on inference requests.
- Users can set the model to deepseek/deepseek-v4-flash in the AI SDK.
📖 Reader Mode
~1 min readDeepSeek V4 Flash now runs on updated weights by default on AI Gateway, with notably stronger agentic capabilities. On Terminal-Bench, it scores 82.7, up 25.8 points from 56.9 in the April preview.
Requests to deepseek/deepseek-v4-flash pick up the new weights automatically, with no change to the model ID or your code.
For now, DeepSeek is the only provider serving the updated weights. Other providers, including ones with Zero Data Retention, are coming next week.
To use the updated DeepSeek V4 Flash, set model to deepseek/deepseek-v4-flash in the AI SDK. AI Gateway will route to providers with the new weights by default:
import { streamText } from 'ai';
const result = streamText({
model: 'deepseek/deepseek-v4-flash',
prompt: 'Fix the failing tests in this repo and open a PR.',
});
To run V4 Flash in a coding agent, use vercel ai-gateway coding-agents setup to connect your agents to AI Gateway, then select deepseek/deepseek-v4-flash in the agent's model configuration. See the coding agents guide.
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. Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.
— Originally published at vercel.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

