It's arguably more expensive in West Los Angeles (where tech is in LA). Most articles compare LA to SF but LA is giant. If you lived in La Verne (cheap), the east most side of LA, your commute to tech companies on the West Side would be 2 to 3hrs.
Looking at Rent Cafe:
SF: $3267
Santa Monica: $3956
Venice: $3844
Playa Vista: $3726
Marina Del Rey $3896
These are all places near Meta, Google, etc....
I don't know if the "coliving" thing has hit SF yet but in LA on the west side it's all over the place. "Coliviing" where they rent out individual bedrooms for $2500-$3500 a month and you share the living room and dining room. It's like having a roommate except you have have lock on your bedroom door and no choice who your roommates are (and no responcibility if they don't pay their rent).