The mandatory quarantine is 14 days, meaning you cannot leave the hotel during this period. However, the accommodation package is usually for 16 days and 15 nights because the day you arrive in Thailand is often considered as day 0 instead of day 1.