שְׁתֵּ֤ים עֶשְׂרֵה֙ שָׁנָ֔ה עָבְד֖וּ אֶת־כְּדָרְלָעֹ֑מֶר וּשְׁלֹשׁ־עֶשְׂרֵ֥ה שָׁנָ֖ה מָרָֽדוּ׃
이들이 십이 년 동안 그돌라오멜을 섬기다가 제십삼년에 배반한지라
Rashi on Genesis
שתים עשרה שנה עבדו TWELVE YEARS DID THEY i. e. these five kings SERVE Chedorlaomer.
Radak on Genesis
שתים עשרה שנה עבדו, they were enslaved to Amrafel, paying annual taxes to him.
Sforno on Genesis
עבדו את כדרלעמר, after the compromise they had reached 12 years ago. Afterwards, they rebelled.