Trust him ? After almost killing Tris in the first book, I think not!Â
Peter operates with whoever gives him the better deal, and I think for the majority of Insurgent he saw the Erudites as the winning side. Not willing to operate with losers, Peter isn't exactly the most stable comrade in the world, but when he is on your side he's quite the asset, explaining why both sides want him.