diff --git a/CHANGELOG.md b/CHANGELOG.md index bbfdbcd4829..10bbf513631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ Docs: https://docs.openclaw.ai - Telegram/forum topics: recover `#General` topic `1` routing when Telegram omits forum metadata, including native commands, interactive callbacks, inbound message context, and fallback error replies. (#53699) thanks @huntharo - Discord/config types: add missing `autoArchiveDuration` to `DiscordGuildChannelConfig` so TypeScript config definitions match the existing schema and runtime support. (#43427) Thanks @davidguttman. - Feishu/startup: treat unresolved `SecretRef` app credentials as not configured during account resolution so CLI startup and read-only Feishu config surfaces stop crashing before runtime-backed secret resolution is available. (#53675) Thanks @hpt. +- DeepSeek/pricing: replace the zero-cost DeepSeek catalog rates with the current DeepSeek V3.2 pricing so usage totals stop showing `$0.00` for DeepSeek sessions. (#54143) Thanks @arkyu2077. - Docker/setup: avoid the pre-start `openclaw-cli` shared-network namespace loop by routing setup-time onboard/config writes through `openclaw-gateway`, so fresh Docker installs stop failing before the gateway comes up. (#53385) Thanks @amsminn. - WhatsApp/groups: track recent gateway-sent message IDs and suppress only matching group echoes, preserving owner `/status`, `/new`, and `/activation` commands from linked-account `fromMe` traffic. (#53624) Thanks @w-sss. - Runtime/build: stabilize long-lived lazy `dist` runtime entry paths and harden bundled plugin npm staging so local rebuilds stop breaking on missing hashed chunks or broken shell `npm` shims. (#53855) Thanks @vincentkoc. diff --git a/src/agents/deepseek-models.ts b/src/agents/deepseek-models.ts index 925321933a8..5f1456815d4 100644 --- a/src/agents/deepseek-models.ts +++ b/src/agents/deepseek-models.ts @@ -2,12 +2,12 @@ import type { ModelDefinitionConfig } from "../config/types.models.js"; export const DEEPSEEK_BASE_URL = "https://api.deepseek.com"; -// TODO: fill in actual DeepSeek API pricing +// DeepSeek V3.2 API pricing (per 1M tokens) // https://api-docs.deepseek.com/quick_start/pricing -const DEEPSEEK_DEFAULT_COST = { - input: 0, - output: 0, - cacheRead: 0, +const DEEPSEEK_V3_2_COST = { + input: 0.28, + output: 0.42, + cacheRead: 0.028, cacheWrite: 0, }; @@ -19,7 +19,7 @@ export const DEEPSEEK_MODEL_CATALOG: ModelDefinitionConfig[] = [ input: ["text"], contextWindow: 131072, maxTokens: 8192, - cost: DEEPSEEK_DEFAULT_COST, + cost: DEEPSEEK_V3_2_COST, compat: { supportsUsageInStreaming: true }, }, { @@ -29,7 +29,7 @@ export const DEEPSEEK_MODEL_CATALOG: ModelDefinitionConfig[] = [ input: ["text"], contextWindow: 131072, maxTokens: 65536, - cost: DEEPSEEK_DEFAULT_COST, + cost: DEEPSEEK_V3_2_COST, compat: { supportsUsageInStreaming: true }, }, ];