# Plans, sleeping and waking

Source: https://kilat.host/docs/flex-agents

New agents are Flash agents. A Flash agent sleeps when nobody is using it and usually resumes in seconds. It is included in your workspace plan: Start, Plus, Business or Pro. See [Flash agents](https://kilat.host/docs/flex-agents#flash).

Flex is no longer offered for new agents. Existing Flex agents keep running and renewing.

## Existing Flex agents

| How it runs | Sleeps when idle, usually wakes from sleep in under 2 minutes |
| --- | --- |
| Price | Included in your plan, from Rp 13,000 per 30 days |
| Size | 2 GB |
| CPU | While awake: 0.5 vCPU on Start, 1 vCPU on Plus, Business and Pro |
| Region | Jakarta |
| Channels | Chat and webhook channels such as Telegram |
| Reliability | 99.5% monthly target on paid plans |

An agent keeps the run type it was created with. [Flex or Flash](https://kilat.host/docs/run-types) compares them side by side.

Both run types get the same agent: chat, Telegram, memory, schedules, skills and the KilatBot MCP tools, managed from your KilatBot dashboard.

## Plans

A plan belongs to your workspace and is paid every 30 days, from Credits first, then Balance. Each term includes Credits for awake time, plus Paid websites at Rp 0. Backends (PocketBase) are no longer offered for new purchases. Existing backends keep running, renewing and restarting.

| Plan | Price / 30 days | Credits each term | Flex agents | Awake time | Paid websites included | Sleeps after idle |
| --- | --- | --- | --- | --- | --- | --- |
| Start | Rp 13,000 | Rp 12,000 | 1 | About 30 hours for one agent (0.5 vCPU, 2 GB, Rp 400 an hour) | 0 Paid websites | 15 min |
| Plus | Rp 75,000 | Rp 65,000 | 3 | About 100 hours for one agent (1 vCPU, 2 GB, Rp 650 an hour) | 3 Paid websites | 15 min – 2 h |
| Business | Rp 99,000 | Rp 65,000 | 3 | About 100 hours for one agent (1 vCPU, 2 GB, Rp 650 an hour) | 3 Paid websites | 15 min – 2 h |
| Pro | Rp 179,000 | Rp 165,000 | 10 | About 253 hours for one agent (1 vCPU, 2 GB, Rp 650 an hour) | 10 Paid websites | 15 min – 8 h |

## Changing plans

- **Upgrade** on [Plan & billing](https://kilat.host/billing/plans). A new 30-day term starts at once, and the unused days of a paid plan come back the way you paid them (Credits as Credits, Balance as Balance), less the plan credits you've already used.
- **Downgrade** to a smaller plan from the end of the current term. Your Flex agents must fit the smaller plan; delete the extras first.
- **Renewal** is charged from your Balance when the term ends. You can turn auto-renew off; the plan then ends with the term, and its Flex agents are suspended.
- **If renewal fails**, your agents keep running for 3 days while you add funds. After that the plan ends and its Flex agents are suspended. Suspended agents keep their files and memory for 7 days; buy a plan or delete an agent to bring them back.
- Agents can read your plan through the KilatBot MCP tool `get_plan`, but only you can buy or change it.

## Awake time

- Awake time costs Start: Rp 400 an hour, Plus: Rp 650 an hour, Business: Rp 650 an hour, and Pro: Rp 650 an hour, counted by the second. Sleeping agents incur no awake-compute charge. Flash storage is billed separately, awake or asleep, as described below.
- Awake time is paid from Credits first: your plan's Credits for the term, then any other Credits, soonest expiry first. Plan credits reset at the start of each 30-day term and don't carry over.
- When Credits run out, Flex agents sleep, unless you turn on pay-as-you-go: then awake time is paid from Balance, up to the monthly cap you set.

## Flash agents

A Flash agent is a Flex-style sleeping agent that comes back faster. Usually resumes in seconds. Shared CPU. Pay for awake time and storage. It is included in your plan and counts toward the same agents as Flex. It runs in Jakarta, in Small, Medium or Large (1 GB, 2 GB, and 4 GB), and resumes from a memory checkpoint where it left off.

- **Awake time:** Rp 150 per GB-hour, counted by the second, so Small costs Rp 150, Medium costs Rp 300, and Large costs Rp 600 an hour. Its CPU is shared, so only memory is priced. A sleeping agent uses no awake time.
- **Storage:** Rp 1,500 per GB-month on 5, 10, and 20 GB, which is Rp 7,500, Rp 15,000, and Rp 30,000 a month. It is charged by the hour for as long as the agent exists, awake or asleep.
- **Who pays:** plan Credits pay first. Balance pays only while pay-as-you-go is on, and it is off by default. With it off, when Credits run out, Flex and Flash agents sleep and Flash storage goes unpaid. After 7 days unpaid the agent is suspended, and its files are kept. Turning pay-as-you-go on, or adding funds while it is on, pays the debt and brings the agent back.

**If you use Flash beyond your Credits, turn on pay-as-you-go.** Delete a Flash agent you no longer need: its storage is charged until you do.

## What wakes a Flex or Flash agent

- **Chat:** open its Chat and send a message. The message waits in your tab while the agent wakes.
- **Telegram:** KilatBot receives messages to your bot while the agent sleeps, wakes it, then hands them over.
- **Schedules:** the agent wakes when one of its scheduled tasks is due.
- **Start:** the Start button on the agent's page.

Waking from sleep (a cold start) usually takes under 2 minutes; most wakes take about 60–80 seconds, a little longer on Start, whose agents run at 0.5 vCPU. If cloud capacity is busy it can take longer; your messages wait meanwhile.

## While it sleeps

- The agent's files, saved memory, chat history, skills and settings persist across sleep. Flex restarts from this durable state when it wakes; it does not resume running processes from a memory checkpoint.
- Agents on KilatBot's newer storage keep their provider keys and subscription sign-ins (such as Nous Portal's device code) in the agent's own encrypted storage. Opening Settings wakes the agent so you can add or change them.
- Agents not moved to the newer storage yet keep provider keys encrypted in KilatBot, handed to the agent in memory when it wakes, and have no subscription sign-in. Use a provider API key until your agent is moved.

Flex agents use elastic compute capacity in Jakarta. This spare capacity can be interrupted or reclaimed while an agent is awake. KilatBot restarts the agent on available capacity from its latest saved durable state, usually within two minutes; busy capacity can make recovery take longer. Unsaved work can be lost: this is a restart, not a memory-checkpoint resume or live migration. An open Chat reconnects by itself, and messages wait meanwhile.

## Reliability and backups

- **Target:** on paid plans, KilatBot aims for 99.5% availability each month (about 3.6 hours of downtime). Available means the agent wakes when asked and stays reachable while awake. This is a target, not a guarantee: missing it earns no credit or refund.
- **Not counted:** maintenance announced in advance, sleep because the plan's awake time is used up, and outages at your model provider, Telegram or other services outside KilatBot.
- **Where it runs:** elastic compute capacity in Jakarta.
- **Backups:** agents on KilatBot's newer storage are saved when they sleep and every 30 minutes while awake. KilatBot keeps the latest save and one from each of the last 7 days. Keep your own copy of anything important.

## Create a Flash agent

1. Open **Agents → New agent** and pick a template.
2. Give the agent a name, then select **Create agent**. Nothing is charged; it uses one of your plan's agents.
3. Chat with it. It starts on Kilat AI; to use your own model instead, add your provider key (or sign in with a subscription, if your agent supports it) in the agent's **Settings**. Connect Telegram from its Telegram tab. See [KilatBot](https://kilat.host/docs/kilat-agent) for setup and safety.

When all your plan's agents are in use, the new-agent page says so. Delete an agent or choose a larger plan.
