# DeepSeek Peak Hours

> Checks whether DeepSeek API tokens are full price or half price right now, and when the next price change happens.

DeepSeek Peak Hours is a paid AI agent skill on Agensi by Closegamer, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Closegamer](https://www.agensi.io/creators/closegamer)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/deepseek-peak-hours
- Tags: llm-ops, productivity, deepseek, api-pricing, cost-optimization, node-js, peak-hours, deepseek-api

## About this skill

DeepSeek API pricing fluctuates between full price and half price based on specific peak windows in Beijing time. This skill lets your agent determine the current pricing state and the next window transition so you can optimize token spend for large batches.

### What it does
- **Clock-based price checking** determines whether tokens are currently full price or 50% off.
- **Window prediction** identifies the exact time of the next price edge in both local and Beijing time.
- **Holiday awareness** accounts for Chinese public holidays through 2027 to keep off-peak calculations accurate.
- **Cost warnings** tell the agent to warn before a long task during full-price peak periods.

### How it works
1. The agent runs `node peak.mjs`, which reads the system clock and the static holiday table.
2. It parses the exit code (0 for off-peak, 2 for peak) and prints the current window, the next edge, and the time remaining.
3. If the script cannot run, the agent uses the manual fallback and the published peak windows.
4. It reports the current status and warns before a long task during peak hours.

### Frameworks & tools
This skill runs on Node.js 18+ and requires no external dependencies, API keys, or network access.

### Why this beats prompting it yourself
Asking a model to calculate UTC+8 offsets and Chinese holiday schedules invites errors. This skill uses a deterministic script with a maintained holiday table, so the window and the next edge are reliable.

### Use cases
- Check whether a long context batch should run now or wait.
- Confirm whether a Chinese holiday makes the whole day off-peak.
- Add a cost warning to automated agent workflows.
- Show a countdown to the next half-price window.

## Requires

- Node.js 18+

## Known limitations

Holiday table expires 2027-12-31. Requires Node 18+. Accurate only if the host clock is correct. DeepSeek can change its pricing rules; the skill reports the published windows and does not schedule work.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the DeepSeek Peak Hours skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Why can't I just prompt my agent to check the time for me?

DeepSeek Peak Hours removes the guesswork and errors that come from asking an AI to calculate UTC+8 offsets and Chinese holiday schedules manually. It gives the agent a deterministic, programmatic check before an expensive batch.

### What exactly is included in the purchase?

The skill includes SKILL.md, peak.mjs with the holiday table through 2027, a manual fallback, tests, README, LICENSE, and CHANGELOG. Updates ship through Agensi.

### Which AI agents are compatible with DeepSeek Peak Hours?

Any agent that supports SKILL.md, including Claude Code, Codex CLI, Cursor, OpenCode, OpenClaw, and Gemini CLI. It needs Node 18+ and shell access for the script; a manual fallback is included.

### Does this skill require an internet connection or external API keys to work?

No, the skill is completely self-contained and operates offline. It uses a hardcoded holiday table and your system's local clock, meaning it requires no external API keys or network access to function.

### How are updates handled when holiday schedules change in the future?

The holiday table is updated each November, when the Chinese State Council publishes the next year's schedule. Buyers receive new versions through Agensi at no extra cost.

### Can this skill automatically stop my agent from spending too much money?

No. The skill reports the current window and warns before a long task, but it never starts, pauses, or schedules work. The agent or the user decides what to do.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
