Introduction¶
When building agents or writing subscription-related documentation within DeepSeek Harness (DSH), it is often necessary to answer questions like “How much does ChatGPT Go / Plus / Pro cost in a specific country, and what is that in RMB?” The prices on the official website chatgpt.com/pricing are rendered by the frontend, and the server-side HTML remains largely unchanged when switching countries. Additionally, some backend price interfaces are unavailable. Manually checking App Store pages for various countries and converting currencies is slow and difficult to keep consistent.
The following introduces the community plugin dsh-chatgpt-price (Maintainer: chaolee111, Category: Network Tool): It scrapes tax-included IAP prices from public App Store product pages in various countries, converts them to USD and CNY based on real-time exchange rates fetched during the refresh, updates automatically on a daily schedule by default, and provides a settings page and optional sidebar tab within the Harness. It also exposes Agent tools for conversational queries.
What is this¶
dsh-chatgpt-price is a bundle plugin for DeepSeek Harness (current package version 0.3.0, License MIT). It maintains a ChatGPT subscription price table expanded by country/region, covering the tiers Go, Plus, Pro 100, Pro 200, Pro 500 (consumable items like N Credits are discarded), and tracks 21 App Store storefronts by default. If the Hong Kong or Mainland China storefronts return a 404, the table will indicate “Not available in this region” rather than filling in a fake price.
The data source is the public pages of each storefront:
apps.apple.com/{storefront}/app/chatgpt/id6448311069
The plugin scrapes, converts, and writes local snapshots on the host process side; the browser side only reads from the cache for rendering, preventing duplicate external network requests from multiple windows.
Core Features¶
Prices and Conversion¶
| Aspect | Description |
|---|---|
| Base Price | App Store IAP list price for each storefront (usually tax-included for non-US regions) |
| Tiers | Go · Plus · Pro 100 · Pro 200 · Pro 500 |
| Conversion | Local Currency → USD (by currency rate) → CNY (Real-time USD/CNY fetched in the same refresh cycle) |
| Comparison | UI supports ratio relative to the US price for the same tier; supports day-over-day change markers |
During parsing, duplicate rows in the App Store listing (e.g., duplicate ChatGPT Plus rows that might carry Pro 200 prices) are handled by taking the lowest amount for duplicate tiers.
Refresh Strategy¶
- Performs a full scrape once daily at
refreshHourin the configuredtimeZone. - If the cache is older than 20 hours, a refresh is also triggered on startup (
autoRefreshOnBootdefaults totrue). - Each refresh cycle requests exchange rates again; the default attempts
open.er-api→exchangerate-api→frankfurterin sequence (config itemrateSources). If all exchange rate sources fail, the CNY column for that refresh will be left blank, rather than faking it with a fixed number like 7.2.
The snapshot file is named chatgpt-price.json and is located in the DSH data directory.
UI and Agent¶
- Settings Page: Tier buttons (Go / Plus / Pro 100 / Pro 200 / Pro 500) select the “Current Tier”; clicking a selected tier again returns to “All Tiers”. Sorting supports default order, price ascending/descending, and relative to US (low to high); regions where prices were not fetched are listed last, and the selection is remembered. The cheapest cell in the current tier is marked “Cheapest”, and the
#prefix indicates the ranking for the current sort order. - Optionally integrates with dsh-better-sidebar to add a tab to the sidebar.
- Agent Tools:
chatgpt_price_board(read table by region/tier),refresh_chatgpt_prices(force refresh and summarize results).
HTTP Routing (Loopback Only)¶
| Method | Path | Function |
|---|---|---|
GET |
/plugins/dsh-chatgpt-price/snapshot |
Returns the cached snapshot |
POST |
/plugins/dsh-chatgpt-price/refresh |
Forces refresh and returns the new snapshot |
Failure and Fault Tolerance¶
When storefront requests are sent via a proxy, an empty shell page with no product structure is occasionally returned. The plugin does not treat a single bad page as real data:
- Failures in a single region are retried with linear backoff according to
retries; 404s are not retried (treated as the region being unsold). - Regions that still fail retain the previous round’s prices and are marked
stale: true. - If a whole round fails or partially fails, it can be scheduled again after
retryMinutes(0disables this); the scheduler checks every minute. - The snapshot is written to a temporary file first and then
renamed, to avoid leaving a corrupted JSON file if the process crashes mid-write.
Installation and Activation¶
The plugin is installed as a directory bundle (do not install the tarball). The steps from the official README are as follows.
First, obtain the plugin directory (the example uses git clone; you can also select a local folder in the UI):
git clone https://github.com/chaolee111/dsh-chatgpt-price.git
dsh plugin --profile desktop add ./dsh-chatgpt-price
Or in the Harness: Settings → Plugins → install bundle, select the folder. The bundle’s patch inserts a host configuration (id: chatgpt-price). Restart the application for the mount to take effect.
Community directory page (No official affiliation with DeepSeek / Hunyuan): skillhub.cn/plugins/chaolee111/dsh-chatgpt-price.
Configuration¶
Override the corresponding lines in the profile’s cordis.patch.yml (the patch replaces the entire config, so you need to write out all keys you wish to keep):
- id: chatgpt-price
config:
regions: [US, JP, TW, SG, IN, GB, DE, BR, TR, AU]
refreshHour: 9
timeZone: Asia/Shanghai
| Key | Default | Meaning |
|---|---|---|
regions |
21 storefronts | App Store storefront codes to track |
timeZone / refreshHour |
Asia/Shanghai / 9 |
Time of daily refresh |
rateSources |
See the three providers above | Exchange rate sources, tried in order during each refresh |
requestTimeoutMs |
20000 |
Timeout for a single request |
concurrency / requestsPerSecond |
4 / 6 |
Concurrency and rate limiting |
retries |
2 |
Retry count for a single region failure (except 404) |
retryDelayMs |
800 |
Base for retry backoff |
retryMinutes |
5 |
Interval for retry attempt after a full round failure |
autoRefreshOnBoot |
true |
Refresh on startup if cache is too old |
maxHistoryDays |
90 |
Number of historical days to keep in the snapshot |
Typical Usage¶
Viewing the Dashboard in the Settings Page¶
After installation and restart, open the plugin’s Settings page (or sidebar tab if the sidebar extension is installed). Select the tier and then the sort order to compare prices for the same tier across countries, along with the USD/CNY columns and the ratio relative to the US.
Let the Agent Read the Table or Refresh¶
In a conversation, let the Harness call the tools (names depend on host registration):
chatgpt_price_board: Filter rows byregionandplan.refresh_chatgpt_prices: Trigger a scrape and return a summary.
For local debugging of snapshots, use the loopback routes:
GET /plugins/dsh-chatgpt-price/snapshot
POST /plugins/dsh-chatgpt-price/refresh
Understanding the CNY Column¶
The README explains: The CNY column is an estimate based on real-time exchange rates to give a sense of actual cost, not a “sticker conversion” of “1 USD = 7.2 CNY” as displayed on the official website. It does not include foreign transaction fees for some domestic cards (commonly around 1%–1.5%). App Store IAP list prices are usually tax-included outside the US; if there is a discrepancy with the web checkout page, the checkout page prevails.
Use Cases and Notes¶
Suitable for: Scenarios where you need to quickly compare ChatGPT subscription prices in different countries within DSH, write documentation/answer users, or let an Agent speak with data; relies on public App Store pages and third-party exchange rate APIs, belonging to Network Tools.
Notes:
- The plugin runs with the current dsh process privileges and will access the external network to scrape storefronts and exchange rates; please read the source code and MIT License before installation.
- Numbers come from App Store display prices and current exchange rates and do not constitute a payment promise; regions where it is unsold are clearly marked, do not confuse this with “missed scraping.”
- The community directory and GitHub are independent maintenance portals; installation methods are subject to the README. Do not guess and concatenate undocumented
dsh plugin addparameters based on the plugin name.
Conclusion¶
dsh-chatgpt-price bundles “ChatGPT subscription prices from global App Stores + real-time exchange rate conversion + daily updated cache” into a DSH plugin: humans can sort and compare in the settings page, and Agents can reuse the same snapshot via chatgpt_price_board / refresh_chatgpt_prices.
- Community Directory: https://www.skillhub.cn/plugins/chaolee111/dsh-chatgpt-price
- Source Code and Full Documentation: https://github.com/chaolee111/dsh-chatgpt-price