The places right by the fair are actually pretty cheap, I think. They are basically the front yard's of people who live nearby. We stayed at the Big Oak Campground on Sutter Road, by the fair entrance, for a few years. I think it was $10-$20 a night (per car or per adult, I don't remember), and an easy walk to the gates from there. Sorry I don't remember the pricing details.
There is also some BLM land maybe 20 miles west of the fair on 126, which is free to camp on. I camped there years ago with friends, and it was pretty mellow, but I'm sure that others have discovered it since then, so it may have changed. There are no facilities there.
It is quite a drive to the coast, but if you want to be there (the coast) before and after the fair, it could work. The gates don't open until 11am, so there is plenty of time to get up and drive in.
I hope you find something that works well for you.
There is also some BLM land maybe 20 miles west of the fair on 126, which is free to camp on. I camped there years ago with friends, and it was pretty mellow, but I'm sure that others have discovered it since then, so it may have changed. There are no facilities there.
It is quite a drive to the coast, but if you want to be there (the coast) before and after the fair, it could work. The gates don't open until 11am, so there is plenty of time to get up and drive in.
I hope you find something that works well for you.