Repository navigation
ExecutiveAssistantAgent 1.1.1
Add tmp/tokenplus_discount.py: a helper to query TokenPlus discount periods for DeepSeek V4.1 Flash
- Why: on 2026-10-12 the user asked to verify the discount deadline of DeepSeek V4.1 Flash on tokenplus.cn via the DataBao (ChinaDataPay) provider, and wanted a script they could re-run in a terminal; while checking, another active offer — "v4.1 latest offer" on the TokenPlus Select channel — was found for the same model and was included in the script as well.
- What changed: new
tmp/tokenplus_discount.py(a gitignored helper, standard library only, no third-party dependencies). It resolves the model'smodel_service_idthrough the public API/portal/api/v1/models, then reads current prices and discount periods from/portal/api/v1/models/{id}/channels, printing the discount tag and name, the list prices vs. discounted prices (non-cached input / cache hit / output), and the discount start/end times with current status (including time remaining) for the DataBao and TokenPlus Select channels. Run it with:python3 tmp/tokenplus_discount.py. - Verification: test run passed on 2026-10-12 — DataBao offer "DataBao discount": 2026-10-09 18:15 → 2026-11-01 00:00 (Beijing time); TokenPlus Select offer "v4.1 latest offer": 2026-10-11 14:33 → 2026-10-31 00:00 (Beijing time).