DeepSeek V4.1 Flash

deepseek/deepseek-flash

DeepSeek V4.1 Flash, available through the canonical deepseek-flash model id.

Review option pricing before running.

Runs started with multiple options stay blind until you vote.

Use through the API
In / out per 1M
Official price: $0.3Sale price: $0.21Official price: $1.20Sale price: $0.8430% off
Modalities
Text, Image
Context
1M

Overview

DeepSeek V4.1 Flash, available through the canonical deepseek-flash model id. It is billed from the same balance as every other model and tool here, and the price of each call comes back in the response.

Run DeepSeek V4.1 Flash with an agent

Each guide pairs this model with a currently compatible agent, explains their separate roles, and opens the shared Composer with both selections ready.

  • Hermes + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Codex + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenClaw + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • pi + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • DeepSeek Harness + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kimi Code + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenCode + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Cline + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • DeepAgents + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • goose + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Grok Build + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kilo + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • MiniMax Code + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Mistral Vibe + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Qwen Code + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenHands + DeepSeek V4.1 Flash

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide

Pricing

30% off

Prices in USD per million tokens, using your plan when signed in.

MeterPer 1M tokens
InputOfficial price: $0.3Sale price: $0.21
OutputOfficial price: $1.20Sale price: $0.84
Cache readOfficial price: $0.006Sale price: $0.0042
Cache writeOfficial price: $0.3Sale price: $0.21

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-flash",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response

Questions