Back to directory

Developer Tools · Frameworks & Platforms

Tailcall

A Rust runtime for composing GraphQL APIs from configuration

Tailcall is an open-source Rust runtime for building GraphQL backends from configuration files and existing HTTP services. It targets teams that need API composition without handwritten resolver code. Apache-2.0 permits commercial use and private deployment. Tailcall is self-hostable, and its AWS Lambda guide documents serverless deployment; no public hosted price is listed.

Key facts

License
Apache-2.0
Main language
Rust, JavaScript, TypeScript, Shell, Lua
Maintainer
Tailcall
Latest release
v1.6.14, January 22, 2026
GitHub stars
1,440, repository page
Hosted option
Self-hosted runtime; no public hosted price listed

What Tailcall is

Tailcall is an open-source Rust GraphQL runtime for engineers creating an API layer over existing HTTP services and building backends from configuration files instead of handwritten resolver code. Its repository was created in January 2023, and its license names Tailcall as the copyright holder. The README presents it as a high-performance GraphQL backend solution, while the FAQ links its origins to work at Dream11. GitHub lists 1,440 stars and 256 forks, with contributors including tusharmath, amitksingh1490, ssddOnTop, meskill, and others. The repository includes Rust, JavaScript, TypeScript, Shell, Lua, HTML, and Dockerfile content. Apache-2.0 supports commercial use and private deployment, and AWS Lambda guidance supports serverless operation. No separate funding organization, first tagged release version, or public hosted price is identified.

How it works

A typical Tailcall project keeps the GraphQL schema and resolver mapping in one configuration file. The README uses @server and @http directives to define a port, describe fields, call REST endpoints, and interpolate request arguments into upstream paths. A user starts the configuration with the Tailcall CLI, then clients query the resulting GraphQL endpoint. The runtime can also expose GraphQL operations through REST routes using the @rest directive described in the FAQ. Configuration controls CORS, introspection, query validation, response validation, status routes, and response timeouts. Upstream settings cover proxies, connection pools, keep-alive behavior, forwarded headers, caching, batching, and request middleware.

Architecture and recent releases

The main implementation language is Rust, and the FAQ describes compilation to an executable that can run on a self-managed server. The README documents npm, Yarn, Homebrew, an installation script, Docker, and a downloaded binary. Deployment targets described by the project include Kubernetes, containers, AWS Lambda, Cloudflare Workers, WebAssembly, and ordinary hosts. Tailcall can connect to REST, gRPC, and existing GraphQL configurations according to its FAQ. The latest GitHub release shown in the release page is v1.6.14, dated January 22, 2026. That release includes dependency updates for Lambda, Cloudflare Workers, and Rust packages. The documents do not identify a database requirement.

License and pricing

Tailcall is an open-source Rust runtime for building GraphQL backends from configuration files and existing HTTP services, helping teams compose APIs without writing handwritten resolver code. It is licensed under Apache License 2.0, which permits reproduction, modification, distribution, sublicensing, commercial use, and private deployment, while requiring compliance with license, notice, attribution, modification, and patent provisions. Deployment documentation covers AWS Lambda through Terraform and a GitHub Action, with AWS and Terraform credentials required. The FAQ says a self-hosted control plane is in progress and invites interested users to contact the team. Infrastructure, upstream services, monitoring, maintenance, and support may still create operating costs.

Limitations and how it compares

Tailcall's main constraint is the amount of design work left to the operator: schemas, upstream contracts, authentication, secrets, CORS, caching, and release testing remain deployment responsibilities. The project publishes no minimum hardware requirement and no public hosted price. Hasura is a closer choice for database-generated APIs, while GraphQL Mesh is aimed at composing multiple API protocols and Apollo Router fits teams seeking Apollo's federation and commercial platform services. Tailcall is the better fit for teams wanting a small, configurable Rust gateway over REST or gRPC services. Teams prioritizing database tooling or a managed control plane should assess those alternatives first.

Main features

  • GraphQL configuration. Define schemas, server settings, and resolver mappings in GraphQL configuration instead of handwritten resolver classes.
  • REST composition. Map GraphQL fields to REST endpoints with HTTP directives, path parameters, headers, and response configuration.
  • Protocol integration. The FAQ describes configuration generation from REST, gRPC, and existing GraphQL inputs, including hybrid integrations.
  • Upstream controls. Configure proxies, connection pools, keep-alive behavior, timeouts, user agents, forwarded headers, and HTTP caching.
  • Request batching. Set batch size, delay, and selected headers for grouped upstream requests made during GraphQL resolution.
  • Server controls. Set workers, ports, routes, CORS, TLS files, introspection, validation, federation, and global response timeouts.
  • Deployment targets. Run compiled binaries or containers on hosts, Kubernetes, AWS Lambda, Cloudflare Workers, or WebAssembly environments.

Self-hosting Tailcall

Tailcall requires no database, Redis service, or object store for the core runtime described in the project docs. Install it with npm, Yarn, Homebrew, the project install script, a release binary, or Docker. The README shows a container image and ports 8080 and 8081, while configuration examples use a GraphQL file and optional YAML runtime settings. The project describes deployment on ordinary servers, Kubernetes, AWS Lambda, Cloudflare Workers, and other container platforms. No minimum CPU, memory, or storage requirement is published. Operators should preserve configuration, secrets, deployment manifests, and external cache data, then test upgrades against upstream API contracts.

Strengths

  • Apache-2.0 permits commercial deployment, modification, and redistribution.
  • Configuration can compose REST services without handwritten resolver classes.
  • Rust compilation supports native executable and container deployment.
  • The runtime exposes detailed upstream and server controls.

Drawbacks

  • No minimum hardware requirement is published.
  • No public hosted service price is listed.
  • Configuration still requires careful schema, secret, and upstream management.

What teams replace with it

Teams usually evaluate Tailcall when they want to move off Apollo Router, StepZen, AWS AppSync.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Tailcall

Frequently asked questions

Is Tailcall free to use?

The runtime is released under Apache License 2.0, which permits use, modification, and distribution, including commercial use, subject to the license conditions. Self-hosting still has infrastructure and operational costs. The documents do not list a paid runtime fee or a current hosted subscription price. AWS, Terraform, upstream services, monitoring, and support may add separate costs.

Can companies use Tailcall commercially?

Yes. Apache License 2.0 grants commercial use, reproduction, modification, distribution, sublicensing, and patent rights within its terms. Redistributors must preserve required notices, include the license, and mark modified files as required. The license does not grant permission to use Tailcall trademarks. Companies should review the full license before distributing modified versions.

How do I self-host Tailcall?

Install Tailcall with npm, Yarn, Homebrew, the installation script, a release binary, or Docker. Create a GraphQL configuration file, define the schema and upstream mappings, then start the file with the CLI. The project describes deployment on servers, Kubernetes, containers, AWS Lambda, Cloudflare Workers, and WebAssembly. No minimum hardware specification is published.

How does Tailcall compare with Hasura?

Tailcall centers on configuration-based composition of REST, gRPC, and GraphQL services through a Rust runtime. Hasura is more closely associated with database-backed API generation and data permissions. Tailcall suits teams placing a configurable gateway in front of existing services. Hasura suits teams whose primary requirement is exposing database data and related application operations through generated APIs.

Can Tailcall keep data inside my infrastructure?

The documented deployment options include self-managed servers, containers, Kubernetes, AWS Lambda, and Cloudflare Workers. In those models, the operator controls the runtime location and configures which headers and upstream services it uses. Privacy also depends on deployment logs, secret handling, network policy, upstream providers, and CORS settings. The project documents header allowlists and TLS configuration.

Similar projects to compare

Sources

Last updated 2026-10-22.