DeepSeek Primetime
A portable Windows tray app that displays DeepSeek API prices and peak/off-peak schedules from an automatically maintained, signed policy feed.
Download and run
Download DeepSeekPrimetime.exe from the v0.2.0 release. Verify it with the release's SHA256SUMS.txt.
Requires Windows with .NET Framework 4.8. Run the EXE to open the dashboard; closing the dashboard keeps the tray app running. Click the tray icon to reopen it. Right-click for pricing updates, Start with Windows, and Exit. Keep the file in a permanent folder before enabling startup. Startup runs quietly in the tray; --background does the same from the command line.
Automatic updates
The server checks DeepSeek's official pricing documentation hourly. The app downloads the policy feed at startup, on resume, hourly, and when you choose Check pricing updates. Ordinary recognized price, model-name, and schedule changes update without reinstalling the EXE. No DeepSeek API key is required.
All displayed values come from one verified policy: the model picker, pricing table, tray state, timeline, and upcoming-window cards. Future-dated changes activate at their published time. Discounts are calculated per token category; flat pricing removes the discount countdown and peak cards.
| Color | Meaning |
|---|---|
| Green | Off-peak pricing |
| Red | Peak pricing |
| Blue | Standard pricing with no scheduled discount |
| Amber | Pricing cannot currently be confirmed |
The dashboard shows source verification time separately from feed download time. A recently downloaded feed may contain older source verification. Network failures preserve the last signed policy; after 48 hours without source verification, rates are explicitly historical and the tray turns amber. Invalid signatures, unsupported policies, missing models, and expired holiday-calendar coverage also withhold confident current-rate claims.
Prices are a reference for the official API, not account-specific billing or third-party providers. The app does not infer prices from account balances or make billable model calls.
Policy and holiday boundaries
The collector supports the currently documented USD table, two weekday UTC peak windows, and explicit flat-pricing policies. It rejects ambiguous wording, missing prices, contradictory discounts, and unfamiliar policy structures for operator review. The parser can be repaired centrally when DeepSeek changes its page layout; a new client is needed only for rules outside the client schema or a signing-key change.
Chinese holiday exceptions use China calendar dates; local display times follow the Windows timezone and daylight saving rules. Holiday dates come from official government notices. The maintained calendar currently covers 2026, including the full notified holiday periods; adjusted working Saturdays/Sundays remain off-peak under DeepSeek's weekend rule. Additional years require adding the official notice to collector/calendars.json. Expired coverage is detected rather than guessed.
Build and test
Run build.bat with the Windows .NET Framework compiler. It produces DeepSeekPrimetime.exe and the identical legacy alias DeepSeekTray.exe; generated binaries are excluded from Git. No SDK, installer, or extra runtime files are distributed.
Run test.bat for the schedule, signature, cache, HTTP, and dashboard tests. The tests reference the compiled release assembly, serve signed fixture changes locally, and verify that the same running window updates prices and handles discount removal. They do not change the public feed.
Run python -m unittest discover -s collector/tests -v for collector tests after installing collector/requirements.txt. Tests use focused official-document fixtures and simulated failures; production signing keys are never included.
Collector deployment
See collector/README.md for the service, timer, signing, calendar maintenance, and recovery procedure. The installed collector runs as a dedicated unprivileged system account. Only the public feed and public key are served; signing keys and source/cache state remain private on the server.
Project files
src/: native WinForms UI, policy client, policy validation, schedule evaluator, and tests.policy-public-key.xml: pinned public verification key embedded in the EXE.collector/: official-source collector, fixtures, tests, and server deployment configuration.build.bat,test.bat: build and test entry points.
