static Rational rational(int tokens, double costPerMillion) => Decimal.fromInt(tokens) * Decimal.parse(costPerMillion.toString()) / _million;