The noun flex can be countable or uncountable.
In more general, commonly used, contexts, the plural form will also be flex.
However, in more specific contexts, the plural form can also be flexes e.g. in reference to various types of flexes or a collection of flexes.