Can I add an AI model from OpenRouter to be used by Xcode 26?
Asked on 06/12/2025
1 search
Yes, you can add an AI model from OpenRouter to be used by Xcode 26. Xcode 26 allows you to integrate models from different providers, including OpenAI and Anthropic, by entering your API key. This integration provides flexibility and control, enabling you to use the model that best suits your needs. You can also run models locally on your Mac or a private network. This feature is part of the new capabilities introduced in Xcode 26, as discussed in the Platforms State of the Union session.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Discover machine learning & AI frameworks on Apple platforms
Tour the latest updates to machine learning and AI frameworks available on Apple platforms. Whether you are an app developer ready to tap into Apple Intelligence, an ML engineer optimizing models for on-device deployment, or an AI enthusiast exploring the frontier of what is possible, we’ll offer guidance to help select the right tools for your needs.

What’s new in Xcode
Discover the latest productivity and performance advancements in Xcode 26. Learn how to leverage large language models in your development workflow. Explore editing and debugging enhancements, improved performance and testing tools, and Swift Build - the open-source build system engine used by Xcode.