Bonus: Top up now and we'll double your first deposit — get x2 credits instantly.

F5-TTS: Self-Hosting & Deployment Guide

F5-TTS is an open-weight text-to-speech model.

What is F5-TTS?

F5-TTS is an open-weight text-to-speech model, published by SWivid with open weights at SWivid/F5-TTS. LLM API does not route this model today, so there is no endpoint or code sample for it here. What this page does give you is the self-hosting picture: published weight sizes, the VRAM each quantisation needs and the commands to serve it yourself. Every figure is read from the public repository and refreshed weekly. At import it had 945,656 downloads on Hugging Face in the previous 30 days, under the cc-by-nc-4.0 licence.

How to run F5-TTS yourself

Open weights (cc-by-nc-4.0). Below: how much memory the weights need at each quantization, which hardware fits them, and the commands to serve it.

F5-TTS VRAM requirements

Precision / quantizationWeightsFigureSource
Full precision weights4 GBFile sizeSWivid/F5-TTS
MLX 4-bit0.36 GBFile sizealandao/f5-tts-mlx-4bit

File size = actual download size on Hugging Face. Estimate = parameter count × bytes per weight. Weights only — the KV cache for long contexts needs extra memory; the fit tables below add 15% headroom as a rule of thumb.

GPU requirements: deploy F5-TTS on your hardware

HardwareFull precision weightsMLX 4-bit
NVIDIA H200141 GB1×1×
NVIDIA H10080 GB1×1×
NVIDIA A100 80GB80 GB1×1×
NVIDIA L40S48 GB1×1×

GPUs needed per variant.

HardwareMLX 4-bit
Mac, 512 GBM3 UltraFits
Mac, 192 GBM2 UltraFits
Mac, 128 GBM4 Max / M3 MaxFits
Mac, 64 GBM4 Pro / MaxFits

Assumes ~75% of unified memory is usable by the GPU.

HardwareFull precision weightsMLX 4-bit
AWS p5.48xlarge8× H100 · 640 GBFitsFits
AWS p4de.24xlarge8× A100 80GB · 640 GBFitsFits
AWS g6e.12xlarge4× L40S · 192 GBFitsFits
Google Cloud a3-highgpu-8g8× H100 · 640 GBFitsFits
Azure ND H100 v58× H100 · 640 GBFitsFits

Whole-instance GPU memory; public instance specs.

Not on LLM.API yet

We do not route this model through our API at the moment. Browse the models you can call today — most workloads have a close match already live.

Not available on LLM API yet

We do not route this model through our API at the moment, so there is no endpoint or code snippet for it yet. Browse the models you can call today — most workloads have a close match already live.

Browse available models

When to Use — When NOT to Use

Use it if...

  • You need speech generated from text on your own hardware (F5-TTS)
  • Audio must stay inside your network for privacy or compliance reasons
  • The weights are published openly, so you can fine-tune on your own voices or vocabulary
  • You are comparing self-hosting cost against a per-minute or per-character API

Avoid if...

  • LLM API does not route this model today, so there is no endpoint here to call
  • You want zero operations — serving, scaling and upgrades are yours to run
  • You need a chat or reasoning model — this is an audio model
  • You need a guaranteed real-time SLA before testing on your own audio

Get one key to every model

Swap your API key. Keep your code.