Model API

DeepSeek Chat API

DeepSeek Chat API on Aiduct. Input tokens: $0.14 / 1M input tokens. 65,536 token context. View model parameters, pricing and integration examples.

Model ID

deepseek-chat

服務提供商

openrouter

功能

chat, tools, structured-output

狀態

可用

Pricing and limits

輸入 Token

$0.14 / 1M input tokens

輸出 Token 數

$0.28 / 1M output tokens

Cached input

$0.014 / 1M cached input tokens

Rates are in USD for the stated unit. Model options and additional usage can affect the final charge. Check the live catalog before integrating.

Context length
65,536
最大輸出
8,192
Release date
2024-12
知識截止日期
2024-07

Use this model

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.AIDUCT_API_KEY,
  baseURL: "https://api.aiduct.ai/v1",
});

const response = await client.chat.completions.create({
  model: "deepseek-chat",
  messages: [{ role: "user", content: "Say hello in one sentence." }],
});