Preface

On 2026-08-17, DeepSeek introduced a peak/off-peak billing mechanism. During peak periods (09:00–12:00 and 14:00–18:00 Beijing Time), the Token price is 2 times the price during normal periods. During development, frequently checking time windows to decide whether to continue a conversation can easily lead to oversights. dsh-peak-badge is a floating badge used to display the current billing status in real time.

Introduction

This is a floating peak/off-peak billing status badge for the DeepSeek Harness (DSH) web GUI. It provides real-time status updates (every 30 seconds) based on Beijing Time and requires no configuration. Maintainer: mj5809.

Installation and Enabling

Use the official plugin command to install it.

dsh plugin --profile web add dsh-peak-badge

After installation, restart dsh web, then perform a hard refresh in the browser (Cmd+Shift+R on macOS, Ctrl+Shift+R on other platforms).

Core Features

  • Real-time status: Based on Intl.DateTimeFormat('Asia/Shanghai'), refreshed every 30 seconds.
  • Draggable: Hold and move to change its position. The position is automatically saved to localStorage and constrained within the viewport.
  • Detail card: Click (without dragging) to display the current time, billing window, and reference prices.
  • Zero host risk: Pure browser plugin; the host-side part is a no-op.

Typical Usage

  • Check status: A green pill represents an off-peak period (half price); an orange pill represents a peak period (2 times the price).
  • Drag: Hold and move the badge.
  • Details: Click (without dragging) to open or close the information card.

Reference Prices

The price reference is valid until 2026-08-17. Cache hit prices are halved. Prices are subject to the official documentation.

Model Peak Period Input/Output Off-Peak Period Input/Output
V4-Flash ¥3.0 / ¥9.0 ¥1.5 / ¥4.5
V4-Pro ¥9.0 / ¥27.0 ¥4.5 / ¥13.5

Notes

  • Prices are subject to the official documentation.
  • Cache hit prices are halved.
  • MIT License.

Closing

This plugin helps decide whether to continue working during peak periods by providing immediately visible status reminders. More details can be viewed in the GitHub repository.