r/DeepSeek • u/MarcPawl • 19d ago
Resources Python Utility for peak billing hours available
I vibe coded a small utility to help me keep my DeekSeek budget under control for my hobby project as am I learning vibe coding. Maybe useful to other hobbiests.
It is available at: https://github.com/marcpawl/deepseek_pricing.git
It has two modes:
The primary one is a gui app that displays the off-peak scheduling windows coming up. When an off-peak window is about to expire, it takes over you entire screen in a yellow background, until you acknowledge. Same idea for when you are in a peak window, except a red background.
The second mode just prints the data as JSON. Really was for debugging, but maybe you could leverage it. I really wish that DeepSeek had an API giving the peak perdiod windows.
```
$ uv run src/deepseek_pricing/__init__.py json
{
"version": 1,
"periods": [
{
"startTime": "2026-11-17T01:06:06.384711+00:00",
"endTime": "2026-11-17T04:00:00+00:00",
"pricing": "PEAK"
},
{
"startTime": "2026-11-17T04:00:00+00:00",
"endTime": "2026-11-17T06:00:00+00:00",
"pricing": "NONPEAK"
},
{
"startTime": "2026-11-17T06:00:00+00:00",
"endTime": "2026-11-17T10:00:00+00:00",
"pricing": "PEAK"
},
{
"startTime": "2026-11-17T10:00:00+00:00",
"endTime": "2026-11-18T01:00:00+00:00",
"pricing": "NONPEAK"
},
{
"startTime": "2026-11-18T01:00:00+00:00",
"endTime": "2026-11-18T04:00:00+00:00",
"pricing": "PEAK"
}
]
}
```
I have only run it on Linux Mint.