differ in (something)
To have specific differences from someone or something else. I can tell the twins apart—they differ in that Jim has a birthmark on his cheek. This recipe differs from that one because it doesn't require eggs.
differ in something
[for people or things] to be different in a specific way or in specific ways. They differ only in the color of their eyes and the size of their shoes. They differ in size and shape.