r/DeepSeek • u/MarcPawl • 13d 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.
2
u/ScreenPlayLife 13d ago
is this a ransomware ? or what the fuck is that gui
0
u/MarcPawl 13d ago edited 13d ago
A bare-bones app that says "stop playing -- life is about to get expensive".
Memories of 1990 style UI.My first "vibe" coded app, and good enough in that it does what it is supposed to do, be annoying and get my attention. I really don't see the point of making it more pretty.
I wanted something that was highly intrusive when the non-peak period is expiring so I could not miss it. I have to do the same thing with my calendar appointments, have the whole screen taken over, otherwise I miss the little popup notices.
I am trying out vibe coding for the first time, with more than just using chat and cut and pasting.
I "wrote" the app after I was playing with "Continue", and used the pro model for everything in peak periods. You can consume a lot of tokens fast do that :-{
1
u/EvolvingDior 13d ago
I just have a sticky note on my monitor.