add backend cost calculate support