Perplexity's API Xcode integration

Hi,

I'm a novice on Xcode and I have just created an API Key in order to use Perplexity as a model Provider in Xcode 26.4 (beta). The key is valid and, Perplexity support replies this:

_The issue is that Xcode expects specific endpoint structures that don't fully match Perplexity's API. Xcode requires a

/v1/models endpoint to list available models, which Perplexity doesn't currently provide in that format. Our API uses

/chat/completions rather than

/v1/chat/completions as well._

Is there a workaround to integrate it and get the benefits of new Intelligence features with Perplexity?

Error code is "Provider is not valid - Models could not be fetched with the provided account details"

Thanks for your help

Perplexity's API Xcode integration
 
 
Q