pi-deepseek-pricing
DeepSeek model pricing extension for pi coding agent — shows peak/off-peak pricing status in the status bar
Package details
Install pi-deepseek-pricing from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-deepseek-pricing- Package
pi-deepseek-pricing- Version
1.1.0- Published
- Aug 23, 2026
- Downloads
- 2,968/mo · 266/wk
- Author
- topce
- License
- MIT
- Types
- extension
- Size
- 11.1 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-deepseek-pricing
DeepSeek peak pricing indicator extension for pi coding agent.
What it does
Shows a red warning in the pi status bar and widget area when using DeepSeek models during peak pricing hours (2x cost). Shows green during off-peak. Automatically clears when using non-DeepSeek models.
Peak Hours (UTC)
| Period | UTC | UTC+8 (CST) |
|---|---|---|
| Morning peak | 1:00 AM – 4:00 AM | 9:00 AM – 12:00 PM |
| Afternoon peak | 6:00 AM – 10:00 AM | 2:00 PM – 6:00 PM |
During these windows, DeepSeek API costs are 2x the regular price.
Weekend flat rate (effective 2026-08-23 00:00 Beijing Time)
Following DeepSeek's billing-rule update, weekends (Saturday and Sunday, Beijing Time) no longer have peak/off-peak time divisions — all weekend calls are billed uniformly at the off-peak rate. The indicator reflects this:
- Weekday peak hours:
DeepSeek PEAK PRICING (2x)in red - Weekday off-peak:
DeepSeek off-peakin green - Weekend (Beijing Time):
DeepSeek off-peak (weekend flat rate)in green, with the next weekday peak shown - Non-DeepSeek models: indicator hidden
The new rules take effect at 00:00 (Sunday) on August 23, 2026 (Beijing Time); before that, the original rules (peak pricing on weekends too) apply.
Install
Global (single file)
cp extensions/deepseek-pricing.ts ~/.pi/agent/extensions/deepseek-pricing.ts
Then /reload in pi or restart.
As a pi package
pi install npm:pi-deepseek-pricing
Quick test
pi -e ./extensions/deepseek-pricing.ts
Usage
No commands needed — the indicator appears automatically in the status bar when you select a DeepSeek model.
- Peak hours:
DeepSeek PEAK PRICING (2x)in red, with end-time widget - Off-peak:
DeepSeek off-peakin green - Weekend (Beijing Time):
DeepSeek off-peak (weekend flat rate)in green - Non-DeepSeek models: indicator hidden