# How to Use ChatGPT in Shortcuts on iPhone and Mac

Updated: November 12, 2026

AI Actions: Price: Free. Platforms: macOS, iOS, visionOS. Get it from: [App Store](https://apps.apple.com/app/id6465250302). Requires macOS, iOS, or visionOS 27 or later. Free older versions for macOS 26, 15, and 14: [download](https://sindresorhus.com/ai-actions#older-versions).

URL: https://sindresorhus.com/guides/chatgpt-in-shortcuts

On a device with Apple Intelligence, add the built-in “Use Model” action to a shortcut, and choose “Extension Model”, which uses ChatGPT. To choose the model, add a system prompt, or use it on any device, add the “Ask AI” action of [AI Actions](https://sindresorhus.com/ai-actions) with your own OpenAI API key.

## With AI Actions

1. Get an API key on the [OpenAI platform](https://platform.openai.com/api-keys). A ChatGPT Plus plan does not include API access, so you pay OpenAI for what you use.
1. Open [AI Actions](https://sindresorhus.com/ai-actions), open “Settings”, and paste the key in “OpenAI API Key”.
1. In the Shortcuts app, make a new shortcut, and add the “Ask AI” action.
1. Type your prompt, or insert a variable, like the text that the shortcut gets. Expand the action to choose the model and add a system prompt.
1. Run the shortcut. The reply of the AI is the output of the action, which the next action can use.

AI Actions is free, and stores your API key in the keychain, not in the shortcut, so you can share your shortcuts. It also has “Ask Claude” for Anthropic, and works with [Ollama, Groq, and other services](https://sindresorhus.com/ai-actions#alternative-providers). If the actions do not show in Shortcuts, restart your device.

The ChatGPT app also has an “Ask ChatGPT” action, but it needs the ChatGPT app and its account. [How AI Actions is different](https://sindresorhus.com/ai-actions#use-model).

## Without an app

On iOS 26 and macOS 26 or later, with Apple Intelligence (the names of the models below are from iOS 27 and macOS 27):

1. In the Shortcuts app, make a new shortcut.
1. Add the “Use Model” action, and choose “Extension Model” to use ChatGPT. “On-Device”, “Cloud”, and “Cloud Pro” use the models of Apple.
1. Type your prompt in the text field below “Use Model”, and run the shortcut.

“Use Model” is free, but it needs a device that supports Apple Intelligence, like iPhone 15 Pro or later, and Apple Intelligence is not in all languages or regions. If it does what you need, use it. AI Actions is for other devices, other models, and more options.