support model, collect plugin and cost plugin

support model, collect plugin and cost plugin