XML 130 R107.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

RELATED PARTY TRANSACTIONS - Schedule of related party transactions (Details) ¥ in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 CNY (¥) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 CNY (¥) | Dec. 31, 2021 CNY (¥)
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | ¥ 7,047,461 | $ 992,614 | ¥ 8,180,107 | ¥ 9,060,784
Related party transaction, amounts of transaction | 89,632 | 12,624 | 129,912 | 91,843
Related parties |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 1,107,342 | 155,965 | 1,128,665 | 929,524
Public Cloud Service | Xiaomi Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 763,338 | 107,514 | 804,647 | 749,597
Public Cloud Service | Kingsoft Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 217,333 | 30,611 | 187,907 | 156,158
Public Cloud Service | Other related parties |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 378 | 53 | 50,629 |
Others |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 1,727 | 243 | 2,849 | 3,882
Others | Related parties |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 436 | 61 | 0 | 74
Others | Kingsoft Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues |  |  |  | 74
Others | Other related parties |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 436 | 61 |  |
Purchase of devices | Xiaomi Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Related party transaction, amounts of transaction | 91 | 13 | 144 | 1,349
Interest expense on loan | Xiaomi Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Related party transaction, amounts of transaction | 39,703 | 5,592 | 48,707 | 16,633
Interest expense on loan | Kingsoft Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Related party transaction, amounts of transaction | 958 | 135 | 18,364 | 4,088
Rental of office space and administrative services | Kingsoft Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Related party transaction, amounts of transaction | 9,167 | 1,291 | 13,931 | 13,321
Rental of building | Xiaomi Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Related party transaction, amounts of transaction | 39,713 | 5,593 | 48,766 | 56,452
Enterprise cloud services |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 2,663,993 | 375,216 | 2,816,976 | 2,897,817
Enterprise cloud services | Related parties |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 125,857 | 17,726 | 85,482 | 23,695
Enterprise cloud services | Xiaomi Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 104,967 | 14,784 | 74,590 | 22,857
Enterprise cloud services | Kingsoft Group |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | 18,690 | 2,632 | ¥ 10,892 | ¥ 838
Enterprise cloud services | Other related parties |  |  |  |
RELATED PARTY TRANSACTIONS |  |  |  |
Total revenues | ¥ 2,200 | $ 310 |  |

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483326/850-10-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483326/850-10-50-3 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481687/323-10-50-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-28 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1A Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480097/470-10-S99-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-30 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-40 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-41 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-05(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479557/942-235-S99-1 + Details
Name: | us-gaap_Revenues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_PublicCloudServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=kc_XiaomiGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=kc_KingsoftGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=kc_OtherRelatedPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_OtherServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_PurchaseOfServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_InterestExpenseOnLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_RentalOfOfficeSpaceAndAdministrativeServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_RentalOfBuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=kc_EnterpriseCloudServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |