DeepSeek V4.1 Flash vs Qwen3.7 Plus
いつ、どちらを使うか
どちらも1,000,000トークンのコンテキストウィンドウを共有しているため、違いは出力の余地、入力、および価格にあり、deepseek-v4.1-flashはqwen3.7-plusの$0.4および$1.6に対して入力$0.3、出力$1.2(両方で約1.3x)のコストがかかり、キャッシュ読み取りは$0.08に対して$0.03で約2.7x安く、65536ではなく最大393216トークンを出力できます。キャッシュを多用する大量の処理や、非常に長い単一の生成にはdeepseek-v4.1-flashを選択してください。テキストや画像と併せてビデオ入力が必要な場合、またはthinkingをオフに切り替えたい場合はqwen3.7-plusを選択してください(なお、thinkingの入力は100万あたり$1.6で課金されることに注意してください)。
ベンチマーク
ベンダー公表: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai
料金
| DeepSeek V4.1 Flash | Qwen3.7 Plus | Δ | |
|---|---|---|---|
| 入力 / 1Mトークン | $0.3 | $0.4 | 0.75× |
| 出力 / 1Mトークン | $1.2 | $1.6 | 0.75× |
| キャッシュ読み取り / 1Mトークン | $0.03 | $0.08 | 0.38× |
| キャッシュ書き込み | 別途料金なし | 1.25x | - |
ビルド時のライブカタログの料金です。各モデルのページには現在の料金カードが記載されています。
位置付け — この課金単位におけるすべての69個のチャットモデル全体の1Mトークンあたりの入力料金 (対数スケール)
機能
| DeepSeek V4.1 Flash | Qwen3.7 Plus | |
|---|---|---|
| ツール使用 | あり | あり |
| 思考コントロール | あり — ベンダーの調整パラメータは非公開 | 設定可能 |
| 構造化出力 | - | あり |
| プロンプトキャッシング | 暗黙的 (自動) | 暗黙的 + 明示的 |
| キャッシュ有効期間 | no fixed TTL (evicted when unused) | explicit: 5m, reset on hit |
| 最小キャッシュプレフィックス | 非公開 | 1024 トークン |
仕様
| DeepSeek V4.1 Flash | Qwen3.7 Plus | |
|---|---|---|
| 入力モダリティ | テキスト 画像 | テキスト 画像 動画 |
| 出力モダリティ | テキスト | テキスト |
| リリース | 2026-09-10 | 2026-06-01 |
| コンテキストウィンドウ | 1M | 1M |
| 最大出力 | 393K | 66K |
| 思考パラメータ | - |
|
| 指定可能な値 | - | enable_thinking
thinking_budget
preserve_thinking
|
| デフォルト | - | on the Qwen3.7 Plus series is hybrid thinking with thinking enabled by default, and preserve_thinking is off |
仕様は各ベンダーのドキュメントから転記されています。ベンダーが公開していない行は推測せず、省略しています。 すべての出典: DeepSeek V4.1 Flash · Qwen3.7 Plus
1つのプロンプト、両方のモデル — ゲートウェイ経由で測定
DeepSeek V4.1 Flash パス · 3 sentences
Enabling reasoning changed the unit economics: the model now spends extra billable tokens internally to “think” before producing the answer, and those reasoning tokens are charged like output tokens even though users never see them. That added token generation—plus longer contexts and occasional retries on harder prompts—roughly doubled our cost per request. We can control this by capping reasoning depth, routing only complex queries to reasoning models, and caching common prompts to bring the bill back down.
出力 423 tok (+327 思考) レイテンシ 14.6 s
Qwen3.7 Plus パス · 3 sentences
Enabling reasoning requires the model to generate extensive internal "thinking" tokens to process complex logic before delivering a final answer. Because our vendor charges us per token consumed, this hidden computational overhead effectively doubles our output volume for the exact same number of user requests. Consequently, our costs have doubled because we are now paying for the model's increased processing time to achieve higher-quality, more accurate results.
出力 1428 tok (+1345 思考) レイテンシ 25.2 s
指示追従(ちょうど三文 — 数えられる)、読み手に合わせた調整(CFO 向けの語り口)、そして下のトークン計から見える隠れた思考の課金ギャップ。
DeepSeek V4.1 Flash パス · 8/8 cases
```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The bug is that `cur` is counting equal adjacent pairs, not elements in the current run: every time `xs[i] == xs[i - 1]`, the run length increases by one element, but the first element of the run was never counted, so all runs are undercounted by one. Also, `best` starts at `0`, so single-element inputs return `0` instead of `1`, and a one-element run ending at the last index is missed entirely.
出力 918 tok (+733 思考) レイテンシ 11.4 s
Qwen3.7 Plus パス · 8/8 cases
## Fixed Code ```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` ## Bug Explanation The function has two related bugs rooted in how it counts run lengths. First, `cur` is initialized to `0` and only incremented on matches, so it counts the number of *transitions* between equal elements rather than the total elements in the run—a run of N identical items only reaches `cur = N − 1`, undercounting by one. This also causes the single-element case to return `0`, since the loop never executes and `cur` never increments. […]
出力 2317 tok (+2005 思考) レイテンシ 40.5 s
修正が実際に正しいか(実行可能か)、説明の密度、そして範囲の限られたタスクでのトークン効率。
DeepSeek V4.1 Flash パス · 5/5 fields, guidance "withheld pending the Q4 close"
{"company":"Meridian Robotics","quarter":"September quarter","revenue_usd_m":412,"growth_pct":11.0,"guidance":"withheld pending the Q4 close"}
出力 1707 tok (+1667 思考) レイテンシ 15.1 s
Qwen3.7 Plus パス · 5/5 fields, guidance null
{ "company": "Meridian Robotics", "quarter": "September", "revenue_usd_m": 412, "growth_pct": 11, "guidance": null }
出力 1807 tok (+1750 思考) レイテンシ 31.6 s
スキーマ遵守(フィールドをでっち上げない)、ハルシネーション圧(guidance は明示的に保留されている)、そして構造化出力の経路の違い。
DeepSeek V4.1 Flash パス · 116 words, 0 banned, 1 question
Today we're launching Cross-Provider Prompt Cache for our API gateway. It stores identical prompt requests and their responses across supported model providers, then serves cached results when a match is found. Teams can cut duplicate inference costs, reduce latency, and keep behavior consistent during provider failover. The cache works with configurable TTLs, per-route rules, and cache-key controls, so you decide what is reusable and what must stay fresh. Does your application send the same prompts to multiple providers? Now your gateway can answer many of those calls without another upstream request. Existing observability dashboards show hit rates, saved tokens, and estimated spend reduction. Enable it in the gateway console, set your policy, and start caching today.
出力 917 tok (+770 思考) レイテンシ 9.0 s
Qwen3.7 Plus パス · 120 words, 0 banned, 1 question
Introducing PromptCache, our new API gateway feature designed to store and reuse prompts across multiple artificial intelligence providers. Have you ever noticed how repeatedly sending identical queries drains your budget and increases latency? PromptCache solves this by intelligently storing responses at the gateway level. When your application requests the same prompt from a different provider, the system instantly returns the cached result. This drastically reduces API costs and accelerates response times for your users. You can configure custom expiration times and set specific fallback rules for each vendor. You must stop paying twice for the exact same computation. Please upgrade your entire infrastructure today and experience much faster and cheaper integrations without changing a single line of your application code.
出力 4453 tok (+4312 思考) レイテンシ 76.8 s
制約の遵守(語数の上限、禁止語リスト、唯一の疑問文)、文体の指紋、そして長さの制御。
1行で切り替え
以下のすべてのタブには両方のIDが含まれています — 変更箇所はハイライトされた2行のみです。エンドポイント、キー、リクエスト形式はすべて同じです。
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="deepseek-v4.1-flash",
# model="qwen3.7-plus", # この行をアンコメントし、上の行をコメントアウトします
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "deepseek-v4.1-flash",
// model: "qwen3.7-plus", // この行をアンコメントし、上の行をコメントアウトします
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash",
# "model": "qwen3.7-plus", # この行をアンコメントし、上の行をコメントアウトします
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "deepseek-v4.1-flash",
// Model: "qwen3.7-plus", // この行をアンコメントし、上の行をコメントアウトします
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("deepseek-v4.1-flash")
// .model("qwen3.7-plus") // この行をアンコメントし、上の行をコメントアウトします
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));FAQ
DeepSeek V4.1 Flash と Qwen3.7 Plus ではどちらが安いですか?
入力 / 1mトークン においては DeepSeek V4.1 Flash の方が安価です($0.3 対 $0.4、1.3× の差)。他の行では逆になる可能性があります — 上の表には完全な情報が記載されており、実際のコストは組み合わせに依存します。
2つの統合を行わずに DeepSeek V4.1 Flash と Qwen3.7 Plus のA/Bテストを実施できますか?
はい。両方とも1つのAPIキーで同じOpenAI互換エンドポイントを通じて提供されます — モデル文字列を1行変更するだけで切り替えられるため、トラフィックの一部をそれぞれにルーティングし、請求額を直接比較できます。
DeepSeek V4.1 Flash と Qwen3.7 Plus はプロンプトキャッシングをサポートしていますか?
はい — どちらのモデルでもキャッシュ読み込みは入力レートよりも低く請求されるため、ウォームプレフィックスのワークロードは定価が示すよりも低コストになります。キャッシュ読み込みの正確な行は、上の料金表に記載されています。