We study inflation with the Dirac–Born–Infeld (DBI) noncanonical scalar field in both the cold and warm scenarios.We consider theAnti-de Sitterwarp factor f (φ) = f0/φ4 for the DBI inflation and check viability of the quartic potential V(φ) = λφ4/4 in light of the Planck 2015 observational results. In the cold DBI setting, we find that the prediction of this potential in the r − ns plane is in conflict with Planck 2015 TT, TE, EE + low P data. This motivates us to focus on the warm DBI inflation with constant sound speed. We conclude that in contrary to the case of cold scenario, the r−ns result ofwarm DBI model can be compatible with the 68% CL constraints of Planck 2015 TT, TE, EE + low P data in the intermediate and high dissipation regimes, whereas it fails to be observationally viable in the weak dissipation regime. Also, the prediction of this model for the running of the scalar spectral index dns/d ln k is in good agreement with the constraint of Planck 2015 TT, TE, EE + low P data. Finally, we show that the warm DBI inflation can provide a reasonable solution to the swampland conjecture that challenges the de Sitter limit in the standard inflation.