A budget of around 20,000 yuan, flying from Kunming to Bangkok, relatively inexpensive hotels during normal times, how long can I stay there, and I also want to see Chiang Mai.

Fly from Kunming to Bangkok with a budget of around 20,000 yuan, and choose a cheaper hotel. Generally speaking, you can spend 7 to 10 days in Bangkok. If you want to go to Chiang Mai later, you can consider staying in Bangkok for 4-5 days, then go to Chiang Mai, and spend 3-5 days there. This ensures you can fully experience the charm of both cities within your budget. Specific itineraries can be adjusted based on personal interests and budget.