DeepSeek V4 Flash

by DeepSeek

deepseek/deepseek-v4-flash

The faster, cheaper V4 tier with the same window and output ceiling as V4 Pro.

Modalities
Text
In / out per 1M
$0.88 / $2.64
Context
1M
Released
Jul 31, 2026

Overview

The faster, cheaper V4 tier with the same window and output ceiling as V4 Pro. It is billed from the same balance as every other model and API here, and the price of each call comes back in the response.

Pricing

The default plan, in USD per million tokens.

MeterPer 1M tokens
Input$0.88
Output$2.64
Cache read$0.028
Cache write$0.88

Your balance and per-call records come from /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "deepseek/deepseek-v4-flash",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response

Questions

DeepSeek V4 Flash — AgentSky