Which system version is installed on your Mac? On newer system versions the file size limit for iCloud is 50GB, but on older system versions it has been much lower.
If your system does not let you drag the large file to iCloud Drive, try to upload it using the web interface at www.icloud.com
But if your Mac is running low on storage, it may not be a good idea to move such a large file to iCloud. You will need the 50 GB local storage, if you ever want to use it again, because it requires a download from iCloud. And working with such a large off-line file will be very slow. Consider to move the really large files to an external volume instead, where you can access them directly, without needing to download them from iCloud.