From ccb6aa17c9527eafe70a2dd80a1b3b64ea9b06c7 Mon Sep 17 00:00:00 2001 From: Frankie-Xu <92643488+Frankie-Xu@users.noreply.github.com> Date: Tue, 25 Aug 2026 15:02:15 +0800 Subject: [PATCH 1/2] docs: note DeepSeek peak windows apply Monday-Friday only (#316) Co-authored-by: Cursor --- packages/shared-python/shared/services/ai/token_costing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/shared-python/shared/services/ai/token_costing.py b/packages/shared-python/shared/services/ai/token_costing.py index d8ffe18b9..b0f63511e 100644 --- a/packages/shared-python/shared/services/ai/token_costing.py +++ b/packages/shared-python/shared/services/ai/token_costing.py @@ -14,7 +14,8 @@ DEFAULT_TOKEN_PRICING_TABLE: dict[str, dict[str, Any]] = { # DeepSeek official (peak/off-peak since 2026-08-16 16:00 UTC). - # Defaults use OFF-PEAK; peak rates are 2x (01:00-04:00 & 06:00-10:00 UTC). + # Defaults use OFF-PEAK; peak rates are 2x and run 01:00-04:00 & 06:00-10:00 UTC, + # Monday through Friday only — the whole weekend is off-peak. "deepseek-v4-flash": { "currency": "USD", "unit": "per_1m_tokens", From f00b59e050f6670cf2aff01a7116dd43be5a8d19 Mon Sep 17 00:00:00 2001 From: Frankie-Xu <92643488+Frankie-Xu@users.noreply.github.com> Date: Wed, 7 Oct 2026 18:54:41 +0800 Subject: [PATCH 2/2] docs: clarify DeepSeek holiday off-peak windows --- packages/shared-python/shared/services/ai/token_costing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/shared-python/shared/services/ai/token_costing.py b/packages/shared-python/shared/services/ai/token_costing.py index aeb60d079..cdc1fafb9 100644 --- a/packages/shared-python/shared/services/ai/token_costing.py +++ b/packages/shared-python/shared/services/ai/token_costing.py @@ -15,7 +15,8 @@ DEFAULT_TOKEN_PRICING_TABLE: dict[str, dict[str, Any]] = { # DeepSeek official (peak/off-peak since 2026-08-16 16:00 UTC). # Defaults use OFF-PEAK; peak rates are 2x and run 01:00-04:00 & 06:00-10:00 UTC, - # Monday through Friday only — the whole weekend is off-peak. + # Monday through Friday, excluding Chinese public holidays. + # Weekends and Chinese public holidays are off-peak all day. "deepseek-v4-flash": { "currency": "USD", "unit": "per_1m_tokens",