TrueFoundry ships as a helm chart (https://github.com/truefoundry/infra-charts/tree/main/charts/truefoundry) that has configurable options to either deploy both Deployment and AI Gateway feature or just choose the one of them according to your needs. The compute requirements change based on the set of features and the scale of the number of users and requests.Here are a few scenarios that you can choose from based on your needs.
Small (Dev)
The small tier is recommended for development purposes. Here all the components are deployed on Kubernetes and in non HA mode (single replica). This is suitable if you are just testing out the different features of TrueFoundry.
This setup brings up 1 replica of the services and is not highly-available. It
can enable you to test the features but we do not recommend this for
production mode.
Resource requirements are the same across AWS, GCP, and Azure.
Costs shown are approximate AWS prices
Medium (Recommended)
The medium tier is configured for production and will suffice teams of 10-500 members.
The AI Gateway is configured for a minimum 3 replicas (1 vCPU 1GB each) which can handle around 500 requests/second to LLMs.It’s configured to be horizontally scalable and autoscale when the load increases. The Block Storage and S3 are used to store LLM request logs. The size is dependent on the size and number of requests and should be set as per the expected usage.
Component
Resources
Min Nodes
Approx. Cost (AWS)
Helm-Chart (AI Gateway Control Plane components)
CPU: 14 vCPU Memory: 32 GB Storage: 250 GB
3 Pods should be spread over min 3 nodes
~ $600 pm (EC2 and EC2 others)
Helm-Chart (AI Gateway component only)
CPU: 3 vCPU Memory: 3 GB Storage: —
3 Pods should be spread over min 3 nodes
~ $105 pm (EC2 and EC2 others)
Postgres (Managed Database)
CPU: 2 vCPU Memory: 4 GB Storage: 30 GB
—
~ $60 pm (RDS compute and storage)
Blob Storage (S3 Compatible)
Storage: 500 GB
—
~ $15 pm (S3 storage)
Resource requirements are the same across AWS, GCP, and Azure. Costs shown are approximate AWS prices
Large (Prod)
The large tier is configured for production and will suffice organizations of 500-50000 members.
The AI Gateway is configured for a minimum 10 replicas (1 vCPU 1GB each) which can handle around 2000 requests/second to LLMs.It’s configured to be horizontally scalable and autoscale when the load increases. The Block Storage and S3 are used to store LLM request logs. The size is dependent on the size and number of requests and should be set as per the expected usage.
Component
Resources
Min Nodes
Approx. Cost (AWS)
Helm-Chart (AI Gateway Control Plane components)
CPU: 32 vCPU Memory: 64 GB Storage: 400 GB
10 Pods should be spread over min 10 nodes
~ $1400 pm (EC2 and EC2 others)
Helm-Chart (AI Gateway component only)
CPU: 10 vCPU Memory: 10 GB Storage: —
10 Pods should be spread over min 10 nodes
~ $350 pm (EC2 and EC2 others)
Postgres (Managed Database)
CPU: 2 vCPU Memory: 4 GB Storage: 30 GB
—
~ $60 pm (RDS compute and storage)
Blob Storage (S3 Compatible)
Storage: 1000 GB
—
~ $30 pm (S3 storage)
Resource requirements are the same across AWS, GCP, and Azure. Costs shown are approximate AWS prices
Make sure the following are set up in your environment before starting the installation.
Requirement
Details
Kubernetes Cluster
Kubernetes version 1.27 or higher.
Dynamic Storage Provisioning
Support for dynamic PVC provisioning (e.g., AWS EBS, Azure Disk, GCP Persistent Disk).
Ingress
An ingress controller (e.g., NGINX Ingress Controller) or Istio service mesh to expose the control plane dashboard and AI Gateway.
Domain & TLS Certificate
A domain to map the ingress of the control plane dashboard and AI Gateway, along with a TLS certificate for the domain. This domain is referred to as the Control Plane URL in our documentation.
Egress Access
Outbound HTTPS access to the TrueFoundry endpoints listed below.
PostgreSQL Database
PostgreSQL version >= 13. Managed PostgreSQL (AWS RDS, Google Cloud SQL, Azure Database for PostgreSQL) is recommended for production. For PostgreSQL 17+, disable SSL (AWS: set force_ssl=0; Azure: set require_secure_transport=false in the parameter group). For instance sizing, refer to the Compute Requirements section.
Blob Storage
S3, GCS, Azure Blob Storage, or any other S3-compatible storage to store AI Gateway request logs. Setup instructions are included in the guide below.
If you do not have a managed PostgreSQL database and just want to test, set devMode to true in the values file to spin up a local PostgreSQL database on Kubernetes.
The following will be provided by the TrueFoundry team. Make sure your organization is registered on TrueFoundry before requesting them.
Item
Description
Tenant Name
Unique identifier for your control plane.
License Key (TFY_API_KEY)
Authentication key used to license your installation.
Image Pull Secret
Docker config JSON used to pull TrueFoundry container images.
One Tenant Name and License Key must only be used to set up one Control Plane. Switching to a new tenant name and license key later will lead to complete data loss of the existing control plane.