Check your smbios, hold down option+command+r to enter the smbios to support the latest version of macOS dmg recovery image, for shift+~ download the version that smbios first supports, such as MacPro ...
Lastly, if your Mac supports Internet Recovery, then you can use this by holding Option-Command-R at startup instead of just Command-R. This will load the same recovery tools from Apple's servers that ...