
Chat with OpenAI-compatible models right from Raycast, with or without an API key — use a cloud provider, a local server, or a proxy, and keep every conversation and its context separate.
Bring your own model, pay your own provider, and stay in control of your data.

Install Custom AI Chat from the Raycast Store. No account or signup is needed — the extension works with whatever models you connect.
Ask AI in Raycast and press Enter.https://api.example.com/v1 or http://localhost:xxx/v1 for a local modelgpt-4o or llama3.2That's it. To add more models, use Add Model (⌥⌘N) again — models sharing the same Base URL are grouped together.
Keep multiple threads going. Each conversation is independent. Use ↑/↓ to browse them; the one you used most recently stays at the top. Start a fresh one with ⌘N.
Connect to a local server or proxy. Point the Base URL at any OpenAI-compatible local server or proxy. Leave the API Key empty if it needs no credentials, or fill it in if it does — either way, nothing leaves your machine unless you choose a remote endpoint.
Regenerate a reply. Open the Action Panel and choose Regenerate Response to retry the last question with the current model.
| Action | Shortcut |
|---|---|
| Send message | Enter |
| Stop generation | ⌃C |
| New conversation | ⌘N |
| Delete conversation | ⌃X |
| Add model | ⌥⌘N |
| Edit model | ⌥⌘E |
| Regenerate response | Action Panel |
Do I need a paid API key? Not necessarily. You can point the extension at a local server or proxy that needs no key, or bring a key from any provider you already have an account with. A key is only needed if your chosen endpoint requires one.
Where are my models and keys stored?
Locally, in a providers.yaml file on your Mac — the same file Raycast AI uses. Your keys are only sent to the provider you configure, never to any other service.
Why a config file instead of settings in Raycast?
Using Raycast's native providers.yaml means the same models work in both Raycast AI and this extension — one file, no duplication. You can edit models through the extension, so you rarely need to touch the file by hand.
Can I use a different config file? Yes. In the extension details you'll see two settings: Custom Configuration File lets you pick a file, and Configuration File Path shows the default path (you can edit it too). If you pick a custom file, that wins; otherwise the path is used.
What if my config file is broken? The extension shows a setup page where you can open the file, fix it, and retry. It won't overwrite a broken file without your say-so.
Are my conversations sent anywhere? Only to the model provider you chose, as part of your chat. Conversations are saved locally on your Mac. Closing the window stops generation.
providers.yaml and go only to your chosen provider.providers.yaml DirectlyMost users don't need this — the Add Model form writes the file for you. If you prefer to edit it by hand, the default location is ~/.config/raycast/ai/providers.yaml:
providers:
# Endpoint that needs a key — each model gets its own key entry
- id: cloud
name: My Cloud Provider
base_url: https://api.example.com/v1
api_keys:
model-gpt-4o: sk-your-api-key
models:
- id: gpt-4o
name: GPT-4o
provider: model-gpt-4o
- id: gpt-4o-mini
name: GPT-4o Mini
# Local server or proxy that needs no key — just omit api_keys
- id: local
name: My Local Server
base_url: http://localhost:xxx/v1
models:
- id: llama3.2
name: Llama 3.2
id — short identifier for the provider; name is what you see in the menubase_url — the API root (a trailing /chat/completions is removed automatically)api_keys — optional; maps a label to your key. The Add Model form creates a separate model-<id> entry per model so changing one key never affects anothermodels[].id — the exact model name your provider expects; name is the display labelmodels[].provider — optional; points a model at one of the api_keys labels. Leave it out for models that need no keyAsk a question and continue it in its own conversation, with streaming answers from your own AI model or gateway.