Google launched the latest Pixel smartphones Tuesday, betting on its first custom-designed system processor and a new version of the Android operating system to lure buyers away from Apple Inc.’s iPhone.

The Pixel 6 and 6 Pro differ only slightly in size, memory and camera specs, with both built around Google’s Tensor system-on-chip — a custom semiconductor that took four years of development. Tensor is optimized for Google’s strengths in image processing and artificial intelligence, helping deliver faster and more accurate speech recognition and better battery life.

While Google’s Android is the top smartphone operating system globally, the Alphabet Inc. unit has a minuscule market share in mobile handsets. The company is now trying to stand apart from the competition with its own processor, joining Apple in making such a move.