GPS is about as accurate as you can get as long as your device can receive data from at least four satellites (more than four is even better). Other devices that rely on atmospheric pressure to measure altitude can vary widely as you have observed. Even altimeters in aircraft that rely on pressure have to be recalibrated by the pilot frequently using known field elevations or current ATC info.