Estimated costs for 1 year at a California CC as an International student(Santa Monica College for example) is around $33K/year which includes tuition/fees for 24 units, mandatory health insurance and living expenses. Living expenses will dependent upon where you live in the Santa Monica/LA area.
International transfers to the UC’s via the California CC pathway is higher than non-CCC transfers.
UCLA’s International transfer admit rate for 2024 from a CCC was 24% while Berkeley was 17% but for both of these top schools you are looking at Transfer GPA admit ranges around 3.9-4.0 so academically very competitive even for transfers. Of course other UC’s are not as competitive but still looking at achieving a 3.7+ Transfer GPA for the rest of these schools for the best chances.