A cost tensor is a multidimensional array whose entries quantify the cost, penalty, or distance associated with jointly matching, assigning, or transporting a specific combination of elements across three or more sets or probability distributions. Serving as the higher-order generalization of a two-dimensional cost matrix used in bipartite matching and classical two-marginal optimal transport, a cost tensor assigns a numerical value to each multi-index tuple representing simultaneous interactions among multiple domains. In mathematical optimization and multimarginal optimal transport, it defines the linear objective function, where the total cost is computed as the inner product between the cost tensor and a corresponding multidimensional decision variable or transportation plan subject to marginal constraints.