DeepSeek API diagnostic tools
Price snapshot checked 2026-11-07, CNY, deepseek-flash only.
Source https://api-docs.deepseek.com/zh-cn/quick_start/pricing/

Offline estimate:
python deepseek_api_tools.py cost --usage deepseek-usage-example.json

Set DEEPSEEK_API_KEY in the process environment before balance/probe.
python deepseek_api_tools.py balance
python deepseek_api_tools.py probe
Probe makes ONE billable completion request. No automatic retries.
Do not share keys or private balance output. Model token estimates exclude tools and extra attempts.
