Will the 4.0 Ah 18 V Lithium-Ion LXT batteries work on this inflator?

Sorry, it's compatible only with 12V Makita batteries regardless of capacity. The battery capacity (Ah) will just determine the runtime. Also, this only takes the newer slim slide on 12V Makita batteries, the older pod plug in batteries will not work