By analyzing B → X u ℓν ℓ spectra with a model based on soft-gluon resummation and an analytic time-like QCD coupling, we obtainwhere the first and the second error refers to experimental and theoretical errors, respectively. This model successfully describes the accurate experimental data in beauty fragmentation, which has similar soft-gluon effects. The |V ub | value is obtained from the available measured semileptonic branching fractions in limited regions of the phase-space. The distributions in the lepton energy E ℓ , the hadron invariant mass m X , the light-cone momentum P + ≡ E X − | p X |, together with the double distributions in (m X , q 2 ) and (E ℓ , s max h ), are used to select the phase-space regions. The q 2 is the dilepton squared momentum and s max h is the maximal m 2 X at fixed q 2 and E ℓ . The |V ub | value obtained is in complete agreement with the value coming from exclusive B decays and from an over-all fit to the Standard Model parameters. We show that the slight disagreement (up to +2 σ) with respect to previous inclusive measurements is not related to different choices for the b (and c) masses, but to a different modelling of the threshold (Sudakov) region.