Well to give you an idea of what the various stats cost up front, configuring the next server we can purchase:
Memory is a one-time cost $3.81 per 1 GB. Example: 32 GB server is $504.87 and 1024 GB server is $4280.87. We charge $3 per month per 1 GB.
Storage is a one-time cost $2.95 per 1 GB. Example: 600 GB server is $523.87 and 3072 GB server is $7840. We charge $0.01 per month per 1 GB.
CPU is a one-time cost $56.29 per 1 core. Example 8 core server is $504.87 and 22 core server is $1292.87. We charge $0.25 per month per 1 core.
CPUs are expensive up front, but all of the VPS on a server can share the CPU time. Most VPS only use 1% - 5% CPU at any given time. Plus we don't allow mining and other activity that would use 100% CPU so there is usually plenty of idle time.
Storage is pretty expensive up front, but the speed of the storage is similar to the CPU usage where most VPS only have a very small amount of disk activity at any point so the read and write speed for all of the VPS stays decently high.
Memory cannot be shared however. Some VPS providers oversell memory, but that means that if all of the VPS on the server simultaneously try to use more memory than the whole server physically has the host has to start swapping to provide that much virtual memory. The speed between real memory and hard drive is like night and day. The VPS would all grind to a halt basically, the load would spike super high, and they would all be extremely slow.