DInference 集成 WorkDaddy:大模型接入(2026)
让 DInference 成为你 WorkDaddy Agent 团队的引擎:6 个可用模型、上下文窗口最高 1M token,用自己的密钥几分钟接入。
DInference 是 2026 年 WorkDaddy 模型层支持的 178 家 LLM 提供商之一,属于「更多提供商」组。目录当前收录 DInference 的 6 个模型:5 个显式推理、0 个视觉输入、6 个支持工具调用——这正是 Agent 工作最关键的能力。最大上下文窗口达 1M token。
关键信息一览
| 可用模型数 | 6 |
|---|---|
| 推理模型 | 5 |
| 视觉模型 | 0 |
| 支持工具调用 | 6 |
| 最大上下文窗口 | 1M tokens |
| API 端点 | https://api.dinference.com/v1 |
| API Key 变量 | DINFERENCE_API_KEY |
| SDK 适配器 | @ai-sdk/openai-compatible |
| 官方文档 | dinference.com ↗ |
2026 年为什么让 WorkDaddy Agent 跑在 DInference 上
工具调用、上下文规模和成本决定一家提供商驱动 Agent 团队的水平。DInference 为 WorkDaddy 带来 6 个工具调用模型——足以支撑店铺修改、数据查询、内容生产的完整闭环——顶配 1M token 上下文可处理整仓代码和长报告。WorkDaddy 模型无关,你可以把重推理路由给 DInference 最强的模型,批量任务交给最便宜的,同一支团队内完成。
2026 年 DInference 最佳电商 Agent 模型
WorkDaddy 目录中 DInference 当前的旗舰阵容,按发布时间从新到旧:
GLM-5.2 — Open flagship GLM for long-horizon coding agents and million-token context work (1M context)
GLM-5.1 — Strong GLM coding model for agentic engineering, terminals, and repository generation (200K context)
GLM-5 — General GLM flagship for coding, analysis, and tool-heavy engineering workflows (200K context)
MiniMax-M2.5 — Prior MiniMax coding model for agent workflows, office edits, and automation (200K context)
GLM-4.7 — Mature GLM model for dependable coding, reasoning, and structured agent tasks (200K context)
GPT OSS 120B — Open-weight GPT model for self-hosted reasoning and instruction-following workloads (131K context)
如何把 DInference 接入 WorkDaddy
WorkDaddy 通过 @ai-sdk/openai-compatible 适配器与 api.dinference.com 通信。在「设置 → 模型」里添加凭据(通常是 DINFERENCE_API_KEY),选择默认模型,所有 Agent 即刻可用——也可以把 DInference 作为多引擎之一,让任务自动路由到最合适的模型。
代表模型
| 模型 | 上下文 | 推理 | 发布时间 |
|---|---|---|---|
| GLM-5.2 | 1M | 支持 | 2026-06-13 |
| GLM-5.1 | 200K | 支持 | 2026-04-07 |
| GLM-5 | 200K | 支持 | 2026-02-12 |
| MiniMax-M2.5 | 200K | 支持 | 2026-02-12 |
| GLM-4.7 | 200K | 支持 | 2025-12-22 |
| GPT OSS 120B | 131K | 不支持 | 2025-08 |
运行方式
完成连接
在 WorkDaddy 打开「设置 → 模型」,选择 DInference,粘贴你的 API Key(DINFERENCE_API_KEY)。没有密钥?可先用托管网关。
交给 Agent 干活
把 GLM-5.2 或 6 个可用模型中的任何一个设为默认——支持按 Agent 覆写,让模型匹配任务。
审阅并批准
无论用什么模型,Agent 输出都保持草稿优先:像往常一样审阅 diff、批准操作。
常见问题
2026 年 WorkDaddy 支持 DInference 吗?
支持——DInference 是受支持的 LLM 提供商,目录收录其 6 个模型,通过 @ai-sdk/openai-compatible 适配器以自带 API Key 方式接入。
在 WorkDaddy 里能用多少个 DInference 模型?
目录为 DInference 收录 6 个模型,其中 5 个推理模型、0 个视觉模型。上文旗舰阵容展示了最新的几款。
DInference 模型的上下文窗口有多大?
最大型号可达 1M token——适合整仓店铺代码和长篇分析报告。
DInference 是电商 Agent 的最佳大模型提供商吗?
取决于任务组合——DInference 属于「更多提供商」组。WorkDaddy 模型无关,2026 年的务实答案是组合使用:每个 Agent 任务路由到最合适的模型。