A photodetector heterostructure based on AlInSb / InSb grown by molecular beam epitaxy was presented. Mesastructures of various diameters were fabricated and the temperature dependence of the dark current was measured. It was shown that the built-in barrier blocks the flow of the main charge carriers, thereby reducing the dark current density, in comparison with the pin structure based on InSb. By measuring the dependence of the dark current on the size of the mesastructure, it was shown that the bulk component of the current prevails over the surface component.