deepseek-peak-pricing-hours
v0.1.1
Published
Pi extension showing DeepSeek API peak pricing hours (Beijing-time windows displayed in your local timezone)
Maintainers
Readme
deepseek-peak-pricing-hours
Visual indicator showing DeepSeek API peak pricing hours directly in your pi footer. Peak windows are defined in Beijing Time, but all times shown are converted to your local timezone.
Peak hours: 9:00–12:00 & 14:00–18:00 Beijing Time (UTC+8).
What it does
- Renders a 24-hour bar below the editor showing peak vs off-peak hours
- Shows a colored dot + label (
● DeepSeek PEAKor● DeepSeek Off-Peak) - Displays the next transition time in your local timezone
- Auto-refreshes every 30 seconds and at session start
Toggle the widget on/off with /ds-peak.
Install
pi install npm:deepseek-peak-pricing-hoursThen restart pi, or run /reload.
How it works
The bar uses block characters to visualize DeepSeek's two daily peak windows:
| Peak Window | Beijing Time (UTC+8) | Displayed in | |---|---|---| | Morning | 09:00 – 12:00 | Your local time | | Afternoon | 14:00 – 18:00 | Your local time |
| Character | Meaning |
|---|---|
| █ | Peak hour (warning color) |
| ░ | Off-peak hour (dim) |
| ▓ | Current hour (accent color) |
The bar collapses to 2 hours per character when narrow, and hides entirely in very tight spaces.
Commands
| Command | What it does |
|---|---|
| /ds-peak | Toggle the peak pricing indicator on/off |
License
MIT
