"doctl compute size list" provides a breakdown of each option's memory, VCPU, disk, and pricing. "doctl databases options slugs" and https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_list_options list the droplet sizes but fail to provide the aforementioned breakdown.
Please provide the same level of detail for database slugs using an endpoint like https://docs.digitalocean.com/reference/api/api-reference/#operation/sizes_list and using doctl.