<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServerLimit](./bitburner.ns.getpurchasedserverlimit.md) ## NS.getPurchasedServerLimit() method Returns the maximum number of servers you can purchase. **Signature:** ```typescript getPurchasedServerLimit(): number; ``` **Returns:** number Returns the maximum number of servers you can purchase. ## Remarks RAM cost: 0.05 GB