Phototransistors are light-sensitive devices featuring a high dynamic range, low-light detection, and mechanisms to adapt to different ambient light conditions. These features are of interest for bioinspired applications such as artificial and restored vision. In this work, we report on a graphene-based phototransistor exploiting the photogating effect that features picowatt- to microwatt-level photodetection, a dynamic range covering six orders of magnitude from 7 to 107 lux, and a responsivity of up to 4.7 × 103 A/W. The proposed device offers the highest dynamic range and lowest optical power detected compared to the state of the art in interfacial photogating and further operates air stably. These results have been achieved by a combination of multiple developments. For example, by optimizing the geometry of our devices with respect to the graphene channel aspect ratio and by introducing a semitransparent top-gate electrode, we report a factor 20-30 improvement in responsivity over unoptimized reference devices. Furthermore, we use a built-in dynamic range compression based on a partial logarithmic optical power dependence in combination with control of responsivity. These features enable adaptation to changing lighting conditions and support high dynamic range operation, similar to what is known in human visual perception. The enhanced performance of our devices therefore holds potential for bioinspired applications, such as retinal implants.