It depends on the elixir release, but generally there can be compile time checks in elixir to make use of new OTP features if compiled against a specific version.
By default elixir is compiled with the lowest supported OTP version, so using one compiled with a more recent one might unlock additional optimizations.