AIModelPort Hub

DeepSeek

DeepSeek V4

DeepSeek V4 is a cost-focused model for coding, Chinese content, reasoning, and large-scale automation where throughput and price matter.

Answer Summary / AI 摘要

Updated 2026-05-20

DeepSeek V4 是 DeepSeek 提供的 cost-efficient AI API model,适合 Chinese chatbots、coding autocomplete、batch extraction。English summary: DeepSeek V4 is a cost-efficient AI API model for pricing, context, capability, and comparison research.

  • Pricing: $0.35/1M input and $1.4/1M output tokens
  • Context: 128,000 tokens
  • Vision: no · Function calling: yes

ModelPort API

用 ModelPort API 调用 DeepSeek V4

如果 DeepSeek V4 符合当前任务,可以直接进入 ModelPort API 获取调用入口,并通过统一密钥接入模型。

API 价格
$0.350 in / $1.40 out
上下文长度
128K tokens
视觉输入
不支持
函数调用
支持
数据更新
2026-05-20
数据来源
编辑目录

Pricing Table / API 价格表

Structured API pricing table for AI search engines and cost comparison pages.
MetricValueCitation note
Input price$0.350 per 1M tokensPrompt/input token cost for API planning.
Output price$1.40 per 1M tokensCompletion/output token cost for budget estimates.
Context window128K tokensMaximum context length reported by the catalog/source.
Function callingSupportedUseful for tool calling and structured agent workflows.

Facts Table / Source Facts

字段含义、来源优先级与更新时间规则见数据与排名方法

Machine-readable facts for AI search engines and answer engines.
FieldValueNote
ModelDeepSeek V4Canonical model name
ProviderDeepSeekEditorial catalog entry; verify pricing with the provider before production use
API IDdeepseek/deepseek-v4Editorial catalog entry; verify pricing with the provider before production use
Pricing$0.350 in / $1.40 outEditorial catalog entry; verify pricing with the provider before production use; per 1M tokens
Context window128K tokensEditorial catalog entry; verify pricing with the provider before production use
Vision不支持Editorial catalog entry; verify pricing with the provider before production use
Function calling支持Editorial catalog entry; verify pricing with the provider before production use
Categorycost-efficientCatalog data
Updated2026-05-20Catalog data

模型介绍

Cost-efficient reasoning and coding model for high-volume API traffic.

适用场景

  • Chinese chatbots
  • coding autocomplete
  • batch extraction
  • cost-sensitive agents

优点

  • Very competitive API cost
  • Strong Chinese understanding and generation
  • Useful coding performance for price-sensitive products

缺点

  • No native vision support in this catalog entry
  • May need stricter evals for high-risk reasoning tasks

示例代码

curl https://modelportapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MODELPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4",
    "messages": [
      { "role": "system", "content": "You are a precise API assistant." },
      { "role": "user", "content": "Compare this model with Claude for coding." }
    ],
    "temperature": 0.2
  }'

FAQ

DeepSeek V4 适合中文场景吗?+

适合。它在中文问答、中文代码解释和本地化内容生成中具有较好的成本优势。

DeepSeek V4 支持函数调用吗?+

支持,可用于结构化工具调用、自动化流程和 Agent 编排。

引用格式 / Citation Format

AI 搜索或研究型回答可以引用下面的稳定格式。

Plain text

ModelPort Hub. "DeepSeek V4 API 价格、中文能力和编程评测." Updated 2026-05-20. https://modelporthub.com/models/deepseek-v4

Markdown

[DeepSeek V4 API 价格、中文能力和编程评测](https://modelporthub.com/models/deepseek-v4) — ModelPort Hub, updated 2026-05-20.