peaktime

LLM peak-time clock

Is it peak time right now?

Some LLM providers charge — or burn credits — at peak rates during certain hours. This clock answers which regime applies right now, converted to your own timezone, with a public JSON API for your scripts.

detecting your timezone…

Sorted: in peak first, then by soonest next peak

Filter providers by current status

LLM providers — live peak/off-peak status

All provider schedules

API#

Two routes, one shape, no auth. Success responses are cached for 60 seconds (Cache-Control: public, max-age=60; errors are no-store) and open to any origin (Access-Control-Allow-Origin: *). Every timestamp is UTC, ISO 8601 (…Z) unless a field says otherwise — and every example below is a real response, trimmed where marked.

GET/api/v1/providers— every provider: live status plus full metadata (info)
bash
curl -s /api/v1/providers
Example response
json
{
  "generated_at": "2026-10-12T16:58:56Z",
  "schema_version": 1,
  "providers": [
    {
      "provider": "deepseek",
      "peak": false,
      "minutes_left": 481,
      "seconds_left": 28864,
      "current_window": null,
      "next_transition_at_utc": "2026-10-13T01:00:00Z",
      "provider_timezone": "UTC",
      "holiday": false,
      "now_utc": "2026-10-12T16:58:56Z",
      "info": { "…": "full provider metadata — see GET /api/v1/providers/<provider-id> below" }
    },
    { "…": "6 more providers, same shape" }
  ]
}
GET/api/v1/providers/<provider-id>— one provider; 404 JSON error if unknown
bash
curl -s /api/v1/providers/zai-glm-coding-plan
Example response
json
{
  "schema_version": 1,
  "provider": "zai-glm-coding-plan",
  "peak": false,
  "minutes_left": 779,
  "seconds_left": 46763,
  "current_window": null,
  "next_transition_at_utc": "2026-10-13T06:00:00Z",
  "provider_timezone": "Asia/Singapore",
  "holiday": null,
  "now_utc": "2026-10-12T17:00:37Z",
  "info": {
    "name": "Z.ai",
    "product": "GLM Coding Plan (Lite / Pro / Max)",
    "models": ["glm-5.3", "glm-5.3-flash"],
    "effect": "credits",
    "peak_detail": "Peak hours (Mon–Fri 14:00–18:00, UTC+8): usage is charged at the standard 1× credit rate.",
    "off_peak_detail": "Off-peak hours (evenings, nights, weekends): usage is charged at 50% of the standard credit rate, so the same plan covers ~2× the tokens.",
    "peak_cost": {
      "basis": "credits",
      "peak_to_off_peak": 2.0
    },
    "notes": [
      "Applies to the GLM Coding Plan subscription (from $18/month), used through Claude Code, Codex, OpenCode, ZCode etc. — not to Z.ai pay-as-you-go API prices, which are flat.",
      "Timezone stated as Singapore Standard Time (UTC+8) in the docs."
    ],
    "source": { "url": "https://docs.z.ai/devpack/overview", "title": "Z.AI Developer Docs — GLM Coding Plan Overview" },
    "verified_at": "2026-10-12",
    "timezone": "Asia/Singapore",
    "utc_offset": "+08:00",
    "windows": [
      { "days": ["mon","tue","wed","thu","fri"], "start": "14:00", "end": "18:00",
        "current_or_next": { "state": "next", "start_utc": "2026-10-13T06:00:00Z", "end_utc": "2026-10-13T10:00:00Z" } }
    ],
    "holiday_calendar": null
  }
}

Query parameters

GET…?tz=<IANA zone>— optional on either route: adds a local object rendering the current/next windows in that zone; invalid zone → 400
bash
curl -s "/api/v1/providers/deepseek?tz=Europe/Madrid" | jq .local
Example local object (added to the response above)
json
"local": {
  "timezone": "Europe/Madrid",
  "utc_offset": "+02:00",
  "windows": [
    { "state": "next", "start": "2026-10-13T03:00:00+02:00", "end": "2026-10-13T06:00:00+02:00" },
    { "state": "next", "start": "2026-10-13T08:00:00+02:00", "end": "2026-10-13T12:00:00+02:00" }
  ]
}

Errors

Anything unknown is a JSON 404 — including model names, which aren’t routes: a model-looking id gets a hint naming the providers that serve it. No other routes exist under /api. An invalid ?tz= is a 400.

Example errors 404 / 400
http
GET /api/v1/providers/deepseek-v4.1-flash → 404   (a model name, not a provider id)
{
  "error": {
    "code": "unknown_provider",
    "message": "Unknown provider \"deepseek-v4.1-flash\".",
    "hint": "That looks like a model name: \"deepseek-v4.1-flash\" is served by alibaba-model-studio-deepseek and volcengine-ark-deepseek and tencent-tokenhub-deepseek and ollama-deepseek and siliconflow-deepseek — query one of those provider ids with GET /api/v1/providers/<provider-id>.",
    "known_providers": ["deepseek", "zai-glm-coding-plan", "…"]
  }
}

GET /api/v1/providers/deepseek?tz=Nope/Nope → 400
{
  "error": {
    "code": "invalid_timezone",
    "message": "?tz=\"Nope/Nope\" is not a valid IANA timezone.",
    "hint": "Use an IANA zone name, e.g. ?tz=Europe/Madrid or ?tz=America/New_York …"
  }
}

Field reference

Full field table — every key of both routes
FieldTypeMeaning
providerstringProvider id — the same id used in /api/v1/providers/<provider-id>.
peakbooleanA peak window is active at now_utc.
next_transition_at_utcISO-8601 UTCWhen the current state ends — peak start or peak end, whichever comes next (…Z). null only for providers that never peak. The source of truth for timing; the two fields below derive from it.
seconds_leftintegerWhole seconds from now_utc to next_transition_at_utc, rounded up — build logic on this.
minutes_leftintegerfloor(seconds_left / 60) — convenience for display.
current_windowobject | nullThe active peak occurrence as UTC instants (start_utc, end_utc); null when off-peak. Windows are end-exclusive.
provider_timezonestringIANA zone the provider defines its schedule in (top-level convenience; same as info.timezone).
holidayboolean | nullA date of the provider’s holiday calendar is current, so peak is suppressed all day (e.g. Chinese public holidays for DeepSeek; 调休 make-up workdays bill off-peak — modeled exactly by the literal Mon–Fri windows). null when the provider has no calendar.
now_utcISO-8601 UTCThe instant the answer was computed for — compare against your clock to detect a stale (≤ 60 s cached) response.
info.peak_costobject | nullWhat peak costs: peak_to_off_peak = peak rate ÷ off-peak rate (peak = ratio × off-peak; 2.0 = off-peak is half price). basis: price = per-token price ratio, credits = credit-burn ratio (matches effect). Optional note carries caveats. null when no meaningful multiplier exists — numbers are never invented. Vendor-published, verified with the schedule.
info.verified_atdate (YYYY-MM-DD)When this schedule was last verified against the vendor’s published page (the source link) — the staleness signal for consumers that cache schedules locally.
infoobjectFull provider metadata — everything this page renders: name, product, models, effect (pricing | credits), peak_detail / off_peak_detail, peak_cost, notes, source {url, title} + verified_at, and the schedule — provider-local windows (days + HH:MM, end-exclusive, 24:00 = end of day, start > end crosses midnight), each with its current_or_next occurrence as absolute UTC instants, plus timezone, utc_offset (at now_utc) and holiday_calendar {id, description} or null.
localobject | absentOnly with a valid ?tz=: the same current/next occurrences in the caller’s zone. start/end are ISO-8601 with that zone’s offset — local wall clock that remains an absolute instant. windows is index-aligned with info.windows.
generated_atISO-8601 UTCList route only — instant the array was computed for.
schema_versionintegerVersion of the provider-data schema this payload was built from (top level of both routes; the same value the page's data carries). Lets caching consumers detect meaning-level data changes.
errorobjectOn 4xx: code (unknown_provider / not_found / invalid_timezone), message, hint, and known_providers where helpful.

Recipes

Ready-made curl + jq recipes for this API — who’s in peak right now, what waiting saves per provider, staleness checks, seconds until a regime flip, finding providers by model — live in the cookbook:API recipes for the peak-time JSON API.

The same tested engine powers this page and the API, so the badge above and the JSON can’t drift apart — a parity test guarantees the API returns everything the page renders.

FAQ

What is peak time for LLM APIs?

Some LLM providers charge more — or burn subscription credits faster — during certain hours of the day. Those hours are peak time; off-peak, the same requests cost less (for example half price, or half the credit burn). ispeaktime.dev tracks each provider's published peak windows and answers “is it peak time right now?” live.

How do I see LLM peak hours in my timezone?

Open ispeaktime.dev — it converts every provider's peak windows to your timezone automatically. The JSON API does the same for any IANA zone: add ?tz=Europe/Madrid (or your zone) to either API route.

Is there an API for LLM peak/off-peak status?

Yes — two routes, no auth: GET /api/v1/providers lists every provider with live status and full metadata, and GET /api/v1/providers/<provider-id> returns one provider. Success responses are cached for 60 seconds and open to any origin.