v3.25.1
Taxation (Details)
¥ in Thousands, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended 64 Months Ended
Mar. 31, 2022
subsidiary
Dec. 31, 2022
Dec. 31, 2024
CNY (¥)
entity
Dec. 31, 2024
USD ($)
entity
Dec. 31, 2023
CNY (¥)
entity
Dec. 31, 2022
CNY (¥)
entity
Dec. 31, 2023
Taxation              
Undistributed earnings     ¥ 20,442,723        
Income tax rate     25.00% 25.00%      
Income tax expense     ¥ 1,270,374 $ 174,041 ¥ (1,357,362) ¥ (127,007)  
Net operating loss carryforwards     6,899,939        
Deferred tax assets, operating carryforwards, valuation allowance     378,075        
Deferred tax assets, operating carryforwards, net of valuation allowance     ¥ 1,186,918        
Percentage of consumption tax     3.00% 3.00%      
Deferred tax assets     ¥ 6,085   ¥ 1,990,245    
High and New Technology Enterprises              
Taxation              
VAT for software research and development and relevant services     13.00% 13.00%      
VAT refund in excess     3.00% 3.00%      
National encouraged key software enterprises              
Taxation              
Income tax rate     12.50% 12.50% 0.00%    
Number of subsidiaries awarded as software enterprise. | subsidiary 1            
Period of tax exemption given from the first profitable calendar year 2 years            
Reduction in the standard statutory income rate     50.00% 50.00%      
Period of consecutive years for which the reduction in standard income tax rate provided     3 years 3 years      
Period of enterprise tax exemption provided for National Encouraged Key Software Enterprises     5 years 5 years      
Income tax rate applicable after first five years     10.00% 10.00%      
Cayman Islands              
Taxation              
Withholding income tax rate (as a percent)     0.00% 0.00%      
Hong Kong              
Taxation              
Corporate income tax rate     16.50% 16.50%      
PRC              
Taxation              
Statutory VAT rate (as a percent)     13.00% 13.00%      
Withholding income tax rate (as a percent)     10.00% 10.00%      
Income tax rate     25.00% 25.00%      
Minimum percentage of ownership interests held by investors in Hong Kong to qualify for lower withholding tax rate (as a percent)     25.00% 25.00%      
Reduced withholding tax rate (as a percent)     5.00% 5.00%      
Total deduction available on qualified research and development expenses (as a percent)     150.00% 150.00%      
Additional deduction on qualified research and development expenses (as a percent)   200.00% 200.00% 200.00%     175.00%
PRC | High and New Technology Enterprises              
Taxation              
Preferential enterprise income tax rate (as a percent)     15.00% 15.00%      
Number of entities which applied the preferential enterprise income tax rate | entity     4 4 3 1  
Effective term     3 years 3 years      
PRC | High and New Technology Enterprises | Sichuan Li Xinchen Technology Co., Ltd              
Taxation              
Preferential enterprise income tax rate (as a percent)     15.00% 15.00%      
Number of entities which applied the preferential enterprise income tax rate | entity     1 1      
Singapore              
Taxation              
Corporate income tax rate     17.00% 17.00%