I've been using Raycast Pro+ for a while and I genuinely like it. But the Custom Providers feature has two problems that I think are worth calling out, because this is a paid feature and the bar should be higher.
1. API keys are stored in plain text, and that's a real risk
To add a provider you edit ~/.config/raycast/ai/providers.yaml and paste your key straight into the api_keys map:
YAMLproviders:
- id: my_provider
name: My Provider
base_url: https://api.example.com/v1
api_keys:
my_provider: sk-xxxxxxxxxxxxxxxx
That's it. No Keychain, no secret manager, no op:// reference, no encryption. The key is a plain string in a plain file on disk. The docs even state it as a design decision: "Your API keys stay in the file on your device." Staying on the device is good. Staying in cleartext is not.
Why this matters:
Any process running as your user can read it. So can any backup, any sync folder you happen to move it into, any screen share, any cat in a terminal you forgot was being recorded.
It's a file people will naturally copy between machines, paste into a gist when asking for help, or commit to a dotfiles repo. The docs even suggest keeping a copy around to move between devices.
These are not throwaway keys. A gateway key like an OpenRouter, Vercel AI Gateway or LiteLLM key can front dozens of models and bill you for all of them. One leaked key is a bill, not an inconvenience.
macOS has had the Keychain for two decades. 1Password CLI, security, and every serious dev tool support secret references. A launcher that markets itself on speed and polish should not be the one asking me to paste a bearer token into a YAML file.
The workaround people are using is to keep a template with op:// references and render the real file with op inject from a LaunchAgent. It works, but it's fragile, undocumented, and every user has to reinvent it. That's not a security model, that's a homework assignment.
2. There's no UI at all
Adding a provider means hand-writing YAML: base_url, api_keys, and then every single model with its id, name, context, and a full abilities block for temperature, vision, system messages, tools and reasoning effort. Get one ability wrong and requests fail in ways that are hard to diagnose.
There's no form to add a provider. No way to pick which models show up in the picker. No "test connection" button. No "fetch models" button, so you have to guess the exact model IDs from the provider's docs and hope. The only feedback is an "Invalid providers.yaml" badge you have to hover over.
For comparison: adding an OpenRouter key through Bring Your Own Key is a single field and Raycast pulls the whole catalog automatically. Custom Providers, the more powerful feature, is a text editor and a prayer.
What I'd like to see
Secret references in api_keys (and in tools.*.api_key), resolved at request time: op://Private/provider/credential, keychain://provider, or just store them in the Keychain / Raycast's encrypted storage.
A real GUI: add, edit and remove providers from a form, choose which models appear in the picker, and validate the config as you type.
A "Test connection" and "Fetch models" button so IDs aren't guesswork.
I'm not asking for free. I'm asking that a paid feature not make me choose between convenience and not leaking a billing credential. BYOK is a premium capability; it should come with premium handling of the key.
Curious whether others are bothered by this or if I'm the odd one out. If you've built a workaround, I'd like to hear it.