[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getUnlockCost](./bitburner.corporation.getunlockcost.md) ## Corporation.getUnlockCost() method Get the cost to unlock a one-time unlockable upgrade. **Signature:** ```typescript getUnlockCost(upgradeName: string): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | upgradeName | string | Name of the upgrade | **Returns:** number Cost of the upgrade ## Remarks RAM cost: 10 GB