Modeling GeV observations of gamma-ray bursts