B737 Undifferentiated or Other Model
Flight Crew Instrument; Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine
Flight Crew Last 90 Days 211; Flight Crew Total 2172; Flight Crew Type 535
Conflict Ground Conflict; Critical; Deviation / Discrepancy - Procedural Published Material / Policy; Ground Event / Encounter Other / Unknown
Flight Crew Took Evasive Action
Procedure
Ground cleared us taxi to Gate XX at SFO. Approaching Spot XY from Taxiway A; vehicle to right saw us approaching; hesitated then abruptly stopped. Vehicle on left was further away and I began turn into line on XY when vehicle sped up to 'race' us and passed in front cutting me off.  Luckily this time I did not have to slam on brakes; only slow down as I flashed lights at him. Once at gate I called [Operations Control] to confirm they have video and voiced my displeasure with once again vehicles in SFO being a danger. I'm getting real tired of this willful violations.
B737 Captain reported taking evasive action to avoid a collision with a vehicle.