According to OpenSea, the file size for an NFT should be well under 100 MB. As far as the Ordinals are concerned then the no-code tool Gamma recommends that still images be under 60kb and GIFs under 200kb for better results.