Adaption to prices is an important feature of productivity development. This paper proposes an extension of the StoNED model to accommodate estimation of allocative efficiency. It demonstrates how indirect production theory is suited for assessing allocative efficiency and helps alleviating the curse of dimensionality for stochastic nonparametric estimators compared to conventional measures of allocative efficiency. Furthermore, the paper elaborates on the appropriate cost of capital for the estimation of allocative efficiency. The proposed model framework is utilized to study allocative efficiency of Norwegian container ports, thereby adding to the literature on seaport terminal efficiency studies.