# justrach/turboAPI

FastAPI-compatible Python framework with Zig HTTP core; 7x faster, free-threading native

Repository: https://github.com/justrach/turboAPI
Canonical: https://ross.abutalabs.com/products/turboapi
Homepage: https://turboapi.trilok.ai
Language: Zig
License: MIT
License Family: permissive
Topics: free-threading, http-server, zig
Last push: 2026-08-31T08:34:59+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 100, release rhythm 99, longevity 38
- inputs: {"age_days": 536, "days_push": 2, "days_rel": 7, "gap_med": 0, "n_releases_24m": 50}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1002, forks 29 (observed 2026-09-03T02:15:13.920545+00:00)

## What it is
TurboAPI is a FastAPI-compatible Python web framework whose HTTP layer is implemented in Zig, offering drop-in migration by changing a single import line. It provides Zig-native request validation (dhi models), zero-copy response handling, and native support for Python 3.14 free-threading for high-throughput APIs.

## Use cases
- migrate an existing FastAPI app to a faster runtime without rewriting code
- build high-throughput JSON REST APIs in Python
- serve APIs with lower latency than FastAPI or Flask
- run Python web servers on free-threaded Python 3.14 without GIL contention
- validate request bodies with Pydantic-style models at native speed
- mount C or Zig handlers for ultra-hot endpoints

## When to choose
- you have an existing FastAPI codebase and need more throughput
- you can run Python 3.13+/3.14t and want a drop-in performance upgrade
- your workload is HTTP-heavy and benefits from zero-copy parsing and native validation
- you want FastAPI ergonomics (decorators, dependency injection, OpenAPI) with a faster core

## When to avoid
- you need TLS, HTTP/2, or HTTP/3 natively - it requires an edge proxy like nginx or Caddy
- you need production-grade stability - the project is explicitly alpha with a changing API surface
- you rely on WebSockets at scale - support is still in progress and limited
- your deployment depends on C extensions that are not free-threading-safe
- you need configurable request body limits beyond the hardcoded 16MB cap

## Facets
- artifact type: framework
- maturity: experimental
- function: web-framework, http-server, api-framework, serialization, middleware, auth, routing
- domain: web-development, backend, apis, performance
- platform: python, cross-platform, cli
- tags: fastapi-compatible, drop-in-replacement, free-threaded-python, zig-http-core, zero-copy, pydantic-alternative, openapi, alpha-software, zig

## Member repositories
- justrach/turboAPI (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:13.920545+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:16:06.746118+00:00, confidence not recorded.
  - readme: https://github.com/justrach/turboAPI (fetched 2026-09-03T02:15:13.920545+00:00, sha d717e1ace85e)
  - homepage: https://turboapi.trilok.ai (fetched 2026-08-29T13:14:05.389591+00:00, sha 827d82788669)
  - site_page: https://turboapi.trilok.ai/docs (fetched 2026-08-29T13:14:05.398821+00:00, sha 18087a20ecb7)
  - site_page: https://turboapi.trilok.ai/quickstart (fetched 2026-08-29T13:14:05.401049+00:00, sha b923cf30d51b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
