Mathematical models that describe gas production are widely used to estimate the rumen degradation digestibility and kinetics. The present study presents a method to generate models by combining existing models and to propose the von Bertalanffy-Gompertz two-compartment model based on this method. The proposed model was compared with the logistic two-compartment one to indicate which best describes the kinetic curve of gas production through the semi-automated in vitro technique from different pinto peanut cultivars. The data came from an experiment grown and harvested at the Far South Animal Sciences station (Essul) in Itabela, BA, Brazil and gas production was read at 2, 4, 6, 8, 10, 12, 14, 17, 20, 24, 28, 32, 48, 72, and 96 h after the start of the in vitro fermentation process. The parameters were estimated by the least squares method using the iterative Gauss-Newton process in the software R version 3.4.1. The best model to describe gas accumulation was based on the adjusted coefficient of determination, residual mean squares, mean absolute deviation, Akaike information criterion, and Bayesian information criterion. The von Bertalanffy-Gompertz two-compartment model had the best fit to describe the cumulative gas production over time according to the methodology and conditions of the present study.