Alpha  ·  Experimental

FastAPI-compatible.
Zig HTTP core.
7x faster.

Drop-in replacement · Zig-native validation · Zero-copy responses · Free-threading · dhi models

pip install turboapi

Faster than FastAPI
<5ms
Cold start
alpha
Experimental
230+
Tests passing
Performance
Measured against
the field
Requests per second — higher is better
M3 Pro · Python 3.14t · wrk
TurboAPI 47,832
Starlette 9,201
FastAPI 6,847
Flask 4,312

Migration
One line. That's it.
main.py drop-in
- from fastapi import FastAPI
+ from turboapi import TurboAPI
 
  # Everything else stays exactly the same
app = TurboAPI()
 
@app.get("/items/{item_id}")
async def read_item(item_id: int):
    return {"item_id": item_id}
Capabilities
Built for production
from the start
01
Zig HTTP server

8-thread pool with keep-alive. Zero-copy response pipeline. Zig-side JSON parsing — no json.loads overhead.

02
FastAPI-compatible

Same route decorators, dependency injection, Pydantic models, and OpenAPI docs. No rewrite needed.

03
dhi validation

Pydantic-style constraints compiled to native Zig. Validation happens before Python ever sees the data.

04
Free-threaded Python

Python 3.14t free-threaded support. Pair with the Zig HTTP core to remove the GIL from your hot path entirely.

05
Full security stack

OAuth2, Bearer tokens, API keys — the same security primitives from FastAPI, fully supported.

06
Native FFI handlers

Mount handlers written in C or Zig directly. Zero Python overhead for your absolute hottest endpoints.

Ready to ship
faster APIs?

Alpha — works and tested. 230+ tests passing. API surface may still change.