LLM Reference
OpenRouter

Using DeepSeek V4 Flash on OpenRouter

Implementation guide · DeepSeek V4 · DeepSeek

ServerlessOpen Source

OpenRouter exposes DeepSeek V4 Flash through model ID deepseek/deepseek-v4-flash. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-07-03. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call deepseek/deepseek-v4-flash — see the documentation for request format.
  3. 3
    You'll be billed $0.06/1M input, $0.12/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$0.06
Output tokens$0.12

Capabilities

ReasoningJSON / Tool useStructured OutputsPrompt Caching

About DeepSeek V4 Flash

DeepSeek V4 Flash is a 284B parameter (13B activated) Mixture-of-Experts language model with 1M-token context. Features a hybrid attention architecture combining Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) for efficient long-context inference. Supports thinking and non-thinking modes. Legacy API aliases deepseek-chat and deepseek-reasoner map to this model's non-thinking and thinking modes respectively. Pricing: $0.14/1M input, $0.28/1M output (cache hit: $0.0028/1M input). MIT licensed.

Model Specs

Released2026-04-24
Parameters284B
Context1m
ArchitectureMixture of Experts

Provider

OpenRouter
OpenRouter

OpenRouter, Inc.

New York, NY, USA