Deploy

One command. A public URL, no account.

Run kirak deploy in a project folder and your API is live on Kirak's hosting. No sign-up, no email, no card. The instance is temporary until you claim it; claiming takes a minute and keeps it running on the free tier.

01

Deploy from your project folder

The CLI runs kirak validate first, then sends the project's code, config and text files (never .env, kirak.local.json or compiled Python) and its secrets from .env. The bundle has a size limit; see Project files.

terminal
kirak deploy
Deployed: https://<random-name>.kirak.dev
Claim URL: https://...
Run 'kirak deploy claim-code' to retrieve your claim code.
Expires: <date and time, one hour from now>
02

Get your claim code

The claim link alone cannot claim the instance. You also need the 8-character code that only your machine has. The deploy output never prints it, so the link and the code do not end up in the same log or chat.

terminal
kirak deploy claim-code         # prints the code, e.g. K7QM-3XRD
kirak deploy claim-code --new   # new code; the old one stops working

After five wrong codes the claim locks. kirak deploy claim-code --new makes a new code and unlocks it; use it too if the code leaked.

03

Claim it

Open the claim URL, sign in or sign up, and enter the code. The instance moves to your account, keeps its URL, data and secrets, and is redeployed with your custom Python code.

04

Keep deploying

Run kirak deploy again from the same folder to update the same instance. The CLI keeps the project id in .kirak/project.json (commit it) and the claim token and code in .kirak/deploy.json (never commit it; the CLI adds it to .gitignore). After claiming, run kirak login to deploy from any machine.

terminal
kirak login
kirak deploy
Before you claim

An unclaimed instance lives one hour.

Anyone can deploy without an account, so an unclaimed instance is a short preview with tight limits. Claim it within the hour to keep it.

Lifetime
1 hour from the first deploy, shown as Expires:. Then the instance, its database, its secrets and the uploaded files are deleted, and the claim link stops working. Deploy again for a new one.
Custom Python
Not run until you claim. Your custom endpoints answer 403 INSTANCE_NOT_CLAIMED, and hooks, tools and scheduled tasks do not run. The deploy output says so, and every response carries X-Kirak-Restricted: custom_python_blocked.
What does run
The API Kirak builds from your config: auth, CRUD, GraphQL and modules (except AI and monitoring), with your own provider keys. Data written before the claim skipped your hooks and stays in the database after it.
Requests
3,600 in total for the instance's life, at most 1 a second with bursts up to 10, and 20 a minute from one IP address.
Address
A random name under kirak.dev, kept after the claim.
Everything else
The free tier's rules below (responses, outbound calls, database, no logs) apply too.
Free tier

Claimed and free. Here is what you get.

A claimed instance keeps running on the free tier at no cost. These limits keep it free for everyone.

Address and keys

Address
<name>.kirak.dev over HTTPS.
Provider keys
Bring your own. Kirak supplies no email, SMS, AI or payment keys on any plan.

Project files

What is sent
Code, config and text files at any depth (.py, .json, .txt, .md, .html, .yaml, .toml, .sql, .csv and similar) and project dotfiles such as .gitignore. Never sent: .env files, kirak.local.json, compiled Python, images, archives and other binary files, and local folders such as .venv/, .git/ and node_modules/.
Bundle size
Up to 30 MB compressed and 200 MB unpacked, at most 30 MB for one file and 5,000 files. A larger bundle is refused with BUNDLE_TOO_LARGE.
Running instance
Your Python and the files it reads run in a size-limited instance next to Kirak itself, so a bundle within the limits above can still be too large to start. Keep data files small, and put large files in a storage provider.

Requests

Per day
3,000 requests a UTC day. Over it, visitors get 503 until 00:00 UTC.
Rate
1 request a second, with bursts up to 10.
Responses
JSON, plain text, redirects and empty responses, up to 1 MB each. Server-sent event streams up to 10 MB. HTML and Markdown only on Kirak's own pages (such as /docs and the auth pages). Other content types answer 415.
CPU
Each request has a CPU time limit, so long-running work does not fit. Password hashing uses fewer bcrypt rounds (10) to stay under it.

Monthly limits

The owner is emailed at 80% and 90% of any limit. At 100% the instance is paused until the next month starts.

CPU time
5.5 million ms (about 92 minutes) a month.
Database reads
20 million rows a month.
Database writes
0.1 million rows a month.
Outbound calls
100,000 a month, and at most 50 in one request.
Egress
Unlimited.

Database

Size
100 MB. Above it the instance turns read-only: reads go on, writes answer 403.
Engine
SQLite-compatible (Cloudflare D1). Kirak creates the tables from your models. kirak.transaction() is not available; kirak deploy warns when your code uses it.
File storage
The local storage provider has no disk to write to; use a cloud provider. kirak deploy warns about a local storage instance.

Outbound calls and modules

Outbound
HTTPS only, and only to the hostnames of the providers your app has enabled. Other URLs in your config, such as your own webhook targets or a custom provider base URL, cannot be reached. No raw sockets, IP addresses or other ports.
Domains
Your app is served on its Kirak address only. Custom domains are not available on the free tier.
Logs
None are stored, by Kirak or by Cloudflare. The monitoring module is not available on the free tier.
AI
The ai module is not available on the free tier: its agents need more memory and CPU time than a free instance has. A deploy with it enabled is refused. AI agents run on the paid plans.
Scheduled tasks
Not running on the free tier yet.

Inactivity

Day 5 without visitors
The owner is emailed a warning.
Day 7
The instance is paused. Visitors get 503 INSTANCE_SUSPENDED. Redeploy to turn it back on.
Day 14
A final email: the app and its data will be deleted the next day.
Day 15
The instance, its database and its keys are deleted.

Days count from the last visit; Kirak's own calls do not count. A visit before day 7, or a redeploy, starts the count again.

Need more than the free tier?

Ask about Kirak on