# How to Cut LLM API Costs by 50–75% Using Prompt Caching & DeepSeek Off-Peak Windows

> Source: <https://dev.to/martin_jones_5af8a972f62a/how-to-cut-llm-api-costs-by-50-75-using-prompt-caching-deepseek-off-peak-windows-gbf>
> Published: 2026-11-26 16:40:10+00:00

**Recommendation:** Enable prompt caching for any repeated system prompt or few-shot prefix, and move asynchronous batch workloads into DeepSeek's 16:30–00:30 UTC off-peak window to halve token rates.
More in the playbook "Controlling LLM cost": <https://wpnews.pro/playbooks/llm-cost>

markdown

If you are building production apps with large language models, token costs add up fast—especially once your system prompts grow past a few thousand tokens or you start running high-volume batch jobs.

Most developers just glance at a model's base per-million-token price, multiply by their rough prompt size, and call it a day. In practice, three variables change your real monthly bill dramatically: **output token multipliers**, **prompt caching discounts**, and **time-of-day off-peak pricing**.

Input tokens (your system instructions, retrieved RAG documents, and user prompt) are relatively cheap. Output tokens (what the model generates back) are where budgets usually blow up.

For example:

If every API request sends the same 8,000-token system prompt, schema definition, or few-shot examples, paying full input price on every call is wasted money.

Modern frontier APIs (including OpenAI, Anthropic, and DeepSeek) support **Prompt Caching**, which discounts repeated prefix tokens by **75% or more** once cached. On high-volume endpoints, enabling prompt caching is often the single highest-ROI optimization you can make without changing models.

For asynchronous workloads—like nightly data extraction, embeddings prep, bulk classification, or evaluation runs—you don't need real-time daytime responses.

**DeepSeek V4 Pro** offers a daily off-peak discount window from **16:30 to 00:30 UTC**, cutting both input and output token rates by **50%**. If you schedule cron jobs or batch pipelines inside that 8-hour UTC window, you instantly cut your inference bill in half.

*(Tip: You can check exact UTC conversions and peak vs. off-peak rate breakdowns in this [DeepSeek Off-Peak Pricing Guide](https://aitokencalctool.com).)*

When I started comparing these variables across models, I ran into an annoying problem: almost every online token counter sends your pasted text to a backend server. If you are working with proprietary prompts, customer data, or private codebases, that is a non-starter.

To fix that, I built **[AI Token Calc Tool](https://aitokencalctool.com)**—a lightweight, **100% client-side** token counter and live API cost estimator:

👉 **Try it here:** [https://aitokencalctool.com](https://aitokencalctool.com)

I'm actively updating the model rates and calculator features. If you're runnin
