Studying the generalized costs of the Sunset-departure and Sunrise-arrival Trains (SST) on High-speed Rails (HSR) is crucial to enhance the attraction of SST on HSR. The paper selects the SST on HSR as the survey object and establishes a generalized cost model. A questionnaire survey of passenger's age and income is conducted. The correlation between age and fatigue recovery time is analyzed and the generalized cost model parameters are calibrated based on the survey results. Finally, using the Beijing-Shanghai passenger transport corridor as an example, the paper analyzes the competitiveness of SST on HSR, train of daytime on HSR and airplane. According to the calculation results, the paper analyzes the relationship between passengers' age, income, travel distance and the influence range of passenger flow of SST on HSR. Based on the analysis result, the paper proposes to set up old tickets, implement time-slot, minute-divided discount tickets and increase the number of stops on the way.