Unified GLM model callback