> [!tldr] 21 characters slightly beats [[UUID]] Using the standard [[NanoID]] alphabet, 21 characters gets you better collision protection than [[UUID]]. ## 21 - at 1000 IDs per second _~41 million years or 1,307,660T IDs_ needed, in order to have a **1%** probability of at least one collision - Slightly beats out the [[UUID]] - This is the **default** that NanoID ships with. - `Jt1IxjboS35sgI6Jl-M2m` ## 15 - at 1000 IDs per hour _~569 thousand years or 4T IDs_ needed, in order to have a 1% probability of at least one collision. - at 1000 IDs per second _~158 years or 4T IDs_ needed, in order to have a 1% probability of at least one collision. - `gQXgizzcxOPGyNN` ## 12 - at 1000 IDs per hour _~1 thousand years or 9B IDs_ needed, in order to have a **1%** probability of at least one collision. - I started using this be **default for my stuff** - `KCZ3HfbUjo0A` Probably don't go below 12. **** # More ## Source - https://zelark.github.io/nano-id-cc/