khat
Log in Deploy
Edge platform · v4.2

Ship APIs to the edge in one command.

Your functions and APIs run in 38 regions, next to your users — with a preview URL for every branch, instant rollbacks and logs you can actually read.

$npx khat deploy --prod
One request, step by step
Regions38
Global p5014 ms
Uptime99.99%
Requests / day1.2B
northwindPARSECHalcyonnashanORBITALtidepool
01 — Product

Everything an API needs in production.

01Edge functions

Write TypeScript, Python or Go; we run it in the closest region.

export default async (req) => {
  return Response.json({ ok: true })
}
02Instant rollbacks

Every deploy is immutable — go back to any version in one click.

a3f9c2eprod
91be0042h
4c7d1aa5h
03Preview URLs

Each branch gets its own URL to review before merging.

feat/checkout
→ payments-git-feat-checkout.khat.app
04Observability

Logs, traces and metrics with zero configuration.

05Global KV

A key–value store replicated everywhere in under 10 ms.

session:9f2{ uid: 41 }
rate:ip:5.217
06Secure by default

TLS 1.3, a web firewall and encrypted secrets — no extra work.

✓ tls 1.3 · auto-renew
✓ waf · owasp ruleset
✓ secrets · aes-256
02 — Develop

Your code, our edge.

One file, one command. You get a production URL in under a minute, and every push builds a preview.

~/payments-api
$ npx khat deploy --prod
› building 3 functions…
✓ built in 6.2s
✓ deployed to 38 regions
→ https://api.acme.example
// api/orders.ts — runs in every regionimport { kv } from "khat:kv"export default async function handler(req: Request) {  const id = req.headers.get("idempotency-key")  const seen = await kv.get(id)  if (seen) return Response.json(seen)  const order = { id, total: 420 }  await kv.set(id, order, { ttl: 86400 })  return Response.json(order, { status: 201 })}
03 — Architecture

The shortest path from user to data.

Clienttehran · 4g
Edge38 regions · anycast
Functionv8 isolate · 0 ms cold
Datakv · postgres · blob
04 — Pricing

Pay for traffic, not idle servers.

Hobby$0
  • 100K requests / month
  • Preview URLs
  • 1-day logs
Start free
EnterpriseCustom
  • 99.99% SLA
  • SSO & audit logs
  • Dedicated regions
Talk to sales
FeatureHobbyProEnterprise
Regions123838 + private
Function timeout10s60s900s
Custom domains150∞
SupportCommunityEmail · 24hDedicated · 1h
05 — Changelog

A little better every week.

October 13, 2026
NewGradual rollouts

Send a new deploy to 5% of users first and ramp up automatically while errors stay under your threshold.

October 6, 2026
ImprovedLogs are 3× faster

Searching a million log lines now takes under a second.

September 29, 2026
FixedMiddle East regions

Users in Tehran and Dubai now route to the closest region.

06 — Start

Deploy your first API in 60 seconds.

$npx khat init payments-api