You can delete a few frames or click on the little menu at the top right corner when you’re saving it, then “optimize to file size”, and set it to 1023k. And if that makes it look too ugly, you can make it black and white or add a gradient map and then do the same thing and it’ll look fine, just not colorful.