It really depends. If you're an experienced seller on eBay or Craigslist, you will likely get the highest value for your Xiaomi Phone on those platforms. However, they do require more effort from the seller, charge fees, and come with risk of fraud that novice sellers may not know how to protect themselves from.
If you share some of those concerns then we recommend using a trade-in site such as ItsWorthMore. Trade in websites leverage their volume discounts and industry know-how to provide a smooth streamlined experience; for a slightly lower payout.
Another alternative is to trade in your Xiaomi phone directly with the manufacturer, which typically offers the lowest payout. However, manufacturers tend to run promotions at times as well, usually during new releases. Under the right circumstances, they can result in a very high return for your device.
Some older Xiaomi phones, especially non-functional ones, do not have much of a resale value and you can choose to recycle them. Recycling in an environmentally friendly manner helps keep toxic pollutants, such as lead, out of the environment. Keeping us all healthier and happier!