T
traeai
登录
返回首页
Vercel News

Deepseek V4 on AI Gateway

5.0Score
Deepseek V4 on AI Gateway
AI 深度提炼

Deepseek V4 on AI Gateway - Vercel

Skip to content

[](http://vercel.com/home)

  • Products
  • ##### Core Platform
  • Resources
  • ##### Company
  • ##### Learn
  • ##### Open Source
  • Solutions
  • ##### Use Cases
  • ##### Tools
  • ##### Users

Ask AI

Ask AILog In

Sign UpSign Up

Vercel April 2026 security incident

Read the bulletin

Blog/Changelog

Deepseek V4 on AI Gateway

Authors

![Image 1](https://twitter.com/shaper)![Image 2](https://twitter.com/rtaneja_)![Image 3](https://twitter.com/jerilynzheng)

1 min read

Copy URL

Copied to clipboard!

Apr 23, 2026

DeepSeek V4 is now available on Vercel AI Gateway.

There are 2 model variants: DeepSeek V4 Pro and DeepSeek V4 Flash. A 1M token context window is the default across both models.

DeepSeek V4 Pro focuses on agentic coding, formal mathematical reasoning, and long-horizon workflows. It handles feature development, bug fixing, and refactoring across stacks, with tool use that works across harnesses like MCP workflows and agent frameworks. It also writes clear, well-structured long-form documents.

DeepSeek V4 Flash performs close to V4 Pro on reasoning and holds up on simpler agent tasks, with a smaller parameter size for faster responses and lower API cost. It's a good fit for high-volume workloads and latency-sensitive use cases.

To use DeepSeek V4, set model to `deepseek/deepseek-v4-pro` or `deepseek/deepseek-v4-flash` in the AI SDK.

1import { streamText } from 'ai';2
3const result = streamText({4  model: 'deepseek/deepseek-v4-pro', // or 'deepseek/deepseek-v4-flash'5  prompt:6    `Audit this repository for unsafe concurrent access patterns,7     propose a refactor that introduces proper synchronization,8     and open the changes as a PR with a migration plan.`,9});

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, observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.

**Ready to deploy?**Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.

Start DeployingTalk to an Expert

**Explore Vercel Enterprise** with an interactive product tour, trial, or a personalized demo.

Explore Enterprise

Get Started

Build

Scale

Secure

Resources

Learn

Frameworks

SDKs

Use Cases

Company

Community

[](http://vercel.com/home)

Loading status…Select a display theme:system light dark