~deepseek

DeepSeek V4 Flash Latest

This model always redirects to the latest model in the DeepSeek V4 Flash family.

Context
1M tokens
Input / 1M tokens
$0.09
Output / 1M tokens
$0.18
Benchmark

Pricing

Input tokens$0.09 per 1M tokens
Output tokens$0.18 per 1M tokens
Cache read$0.02 per 1M tokens

Technical details

Model ID~deepseek/deepseek-v4-flash-latest
Context window1M tokens
Input modalitiestext
Output modalitiestext
TokenizerRouter
Max output tokens65,536

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: '~deepseek/deepseek-v4-flash-latest',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use DeepSeek V4 Flash Latest?

Get an API key and start making requests in minutes.

Get an API key