There is no reliable single statewide average covering community colleges, private career schools, apprenticeships, and employer training: they charge for training differently, and some pay participants. As a public-college starting point, the California Community Colleges Chancellor's Office publishes a $46-per-unit resident enrollment fee; verify the fee for your term and check residency rules before budgeting. That rate is not a complete program price.
Request an itemized estimate through completion: required units or clock hours, enrollment and campus fees, textbooks or software, tools, consumables, safety gear, exam fees, travel to labs or worksites, and earnings you would forgo. Check eligibility for the California College Promise Grant, other state or federal aid where the program qualifies, employer reimbursement, and workforce assistance; eligibility varies by student and program (California Community Colleges Chancellor's Office; California Student Aid Commission; Federal Student Aid). A paid apprenticeship may lower borrowing but take longer and require competitive entry.
For a meaningful return-on-investment comparison, include your current earnings, likely time out of work, aid, debt, likelihood of completion, plausible post-training pay, and how long you expect to use the skills. The cheapest tuition is not necessarily the lowest-cost path to employment.