The assembly and function of cilia on Caenorhabditis elegans neurons depends on the action of two kinesin-2 motors, heterotrimeric kinesin-II and homodimeric OSM-3-kinesin, which cooperate to move the same intraflagellar transport (IFT) particles along microtubule (MT) doublets. Using competitive in vitro MT gliding assays, we show that purified kinesin-II and OSM-3 cooperate to generate movement similar to that seen along the cilium in the absence of any additional regulatory factors. Quantitative modeling suggests that this could reflect an alternating action mechanism, in which the motors take turns to move along MTs, or a mechanical competition, in which the motors function in a concerted fashion to move along MTs with the slow motor exerting drag on the fast motor and vice versa. In vivo transport assays performed in Bardet-Biedl syndrome (BBS) protein and IFT motor mutants favor a mechanical competition model for motor coordination in which the IFT motors exert a BBS protein-dependent tension on IFT particles, which controls the IFT pathway that builds the cilium foundation.