Settings & API Keys
Settings & API Keys
Section titled “Settings & API Keys”Learn how to configure Clipboard Recast and manage your AI provider credentials.
Opening Settings
Section titled “Opening Settings”Access the Settings window:
- Click the menu bar icon → Settings…
Settings Overview
Section titled “Settings Overview”The Settings window contains:
- AI Provider Selection: Choose your preferred AI service
- API Key Configuration: Enter your authentication credentials
- Model Selection (optional): Override the default model
- Project ID (Vertex AI only): Configure Google Cloud project
Configuring Your AI Provider
Section titled “Configuring Your AI Provider”Step 1: Select Provider
Section titled “Step 1: Select Provider”Click the Provider dropdown to choose from:
- Claude (Anthropic)
- OpenAI
- Google Gemini
- Google Vertex AI
- OpenRouter
- Cerebras
- Together AI
- z.ai
Step 2: Enter API Key
Section titled “Step 2: Enter API Key”What is an API Key? An API key is a unique identifier that authenticates your account with the AI provider. It allows Clipboard Recast to make requests on your behalf.
How to enter:
- Copy your API key from your provider’s dashboard
- Paste it into the API Key field
- The key typically starts with a provider-specific prefix:
- Claude:
sk-ant-api03-... - OpenAI:
sk-... - Gemini:
AIza... - Others vary by provider
- Claude:
Step 3: Customize Model (Optional)
Section titled “Step 3: Customize Model (Optional)”The Model field lets you override the default model:
- Leave blank to use the recommended default model
- Enter a specific model name for advanced configurations
- See AI Providers for model options
Common model overrides:
- OpenAI:
gpt-4-vision-preview(for screenshots) - Gemini:
gemini-pro-vision(for screenshots) - Claude:
claude-3-haiku-20240307(budget option)
Step 4: Project ID (Vertex AI Only)
Section titled “Step 4: Project ID (Vertex AI Only)”If using Google Vertex AI:
- Enter your Google Cloud Project ID
- Ensure Vertex AI is enabled in your project
- Configure authentication separately (see Vertex AI docs)
Step 5: Save Settings
Section titled “Step 5: Save Settings”Click the Save button to apply your configuration.
Getting API Keys
Section titled “Getting API Keys”Claude (Anthropic)
Section titled “Claude (Anthropic)”- Go to console.anthropic.com
- Create an account or sign in
- Navigate to API Keys section
- Click Create Key
- Copy the key and paste into Clipboard Recast
- Add credits to your account to use the API
Pricing: Pay-as-you-go, typically $3-15 per million tokens depending on model
OpenAI
Section titled “OpenAI”- Go to platform.openai.com
- Sign in to your account
- Go to API Keys section
- Click Create new secret key
- Copy the key (shown only once!) and paste into Clipboard Recast
- Add credits or set up billing
Pricing: Pay-as-you-go, varies by model ($0.50-$30 per million tokens)
Google Gemini
Section titled “Google Gemini”- Go to makersuite.google.com/app/apikey
- Sign in with your Google account
- Click Create API key
- Copy the key and paste into Clipboard Recast
Pricing: Free tier available, very generous limits
Google Vertex AI
Section titled “Google Vertex AI”- Go to console.cloud.google.com
- Create a new project or select existing
- Enable Vertex AI API
- Set up authentication (service account or gcloud CLI)
- Copy your project ID into Clipboard Recast
- Configure API key separately
Pricing: Similar to Gemini, enterprise features available
OpenRouter
Section titled “OpenRouter”- Go to openrouter.ai
- Sign up or sign in
- Go to Keys section
- Create a new API key
- Copy the key and paste into Clipboard Recast
- Add credits to your account
Pricing: Varies by model, typically similar to direct providers plus small markup
Cerebras, Together AI, z.ai
Section titled “Cerebras, Together AI, z.ai”Visit the respective provider’s website:
- Cerebras: api.cerebras.ai
- Together AI: api.together.xyz
- z.ai: api.z.ai
Follow their documentation to obtain API keys.
API Key Security
Section titled “API Key Security”How Keys Are Stored
Section titled “How Keys Are Stored”- API keys are stored in macOS UserDefaults
- UserDefaults is encrypted by macOS at the system level
- Keys never leave your Mac except when making API calls
- No telemetry or tracking of your keys
Security Best Practices
Section titled “Security Best Practices”- Never share your API key with anyone
- Don’t commit keys to version control (if developing)
- Rotate keys regularly if you suspect compromise
- Use separate keys for different applications
- Monitor usage on your provider’s dashboard
- Set spending limits where available
If Your Key Is Compromised
Section titled “If Your Key Is Compromised”- Immediately revoke the key in your provider’s dashboard
- Create a new key
- Update the key in Clipboard Recast settings
- Check your provider’s billing for unauthorized usage
Switching Providers
Section titled “Switching Providers”You can change AI providers at any time:
- Open Settings (menu bar icon → Settings…)
- Select a different provider from the dropdown
- Enter the new provider’s API key
- Adjust model if needed
- Click Save
Important notes:
- Your workflows remain intact when switching providers
- Different providers may produce different results for the same workflow
- Vision capabilities vary by provider (see Vision Models)
Managing Multiple Accounts
Section titled “Managing Multiple Accounts”Currently, Clipboard Recast supports one active provider at a time. To use multiple providers:
Option 1: Switch manually
- Change provider in Settings when needed
- Re-enter API key each time
Option 2: Use OpenRouter
- Single API key provides access to multiple AI providers
- Switch models without changing provider
Testing Your Configuration
Section titled “Testing Your Configuration”After configuring settings:
- Copy some text to your clipboard
- Press
Cmd+Shift+A - Select any transformation
- If configured correctly, you’ll see the result
- If there’s an error, check:
- API key is correct
- Internet connection is active
- Provider service is online
- Account has available credits
Settings Persistence
Section titled “Settings Persistence”Your settings are automatically saved and persist:
- Across app restarts
- After macOS updates
- When updating Clipboard Recast
Settings are stored locally and never synced or uploaded.
Advanced Configuration
Section titled “Advanced Configuration”Custom Models
Section titled “Custom Models”You can use any model supported by your provider:
Claude models:
claude-sonnet-4-5(default, recommended)claude-3-opus-20240229(highest quality)claude-3-haiku-20240307(fastest, cheapest)
OpenAI models:
gpt-4-turbo-preview(default)gpt-4-vision-preview(for screenshots)gpt-4o-mini(budget option)gpt-3.5-turbo(fastest, cheapest)
Gemini models:
gemini-pro(default, text-only)gemini-pro-vision(for screenshots)gemini-1.5-pro(latest)gemini-1.5-flash(faster)
See AI Providers for complete model lists.
Performance vs Cost Trade-offs
Section titled “Performance vs Cost Trade-offs”Different models offer different trade-offs:
High Performance (Expensive):
- Claude Opus
- GPT-4 Turbo
- Best for complex tasks
Balanced (Recommended):
- Claude Sonnet 4.5 (default)
- GPT-4o
- Good quality, reasonable cost
Budget (Fast & Cheap):
- Claude Haiku
- GPT-4o Mini
- Gemini Flash
- Good for simple tasks
Troubleshooting Settings
Section titled “Troubleshooting Settings”API Key Not Accepted
Section titled “API Key Not Accepted”Solutions:
- Verify key is copied correctly (no extra spaces)
- Check key hasn’t been revoked
- Ensure account is active with credits
- Try generating a new key
Transformations Failing
Section titled “Transformations Failing”Solutions:
- Verify internet connection
- Check provider’s status page
- Ensure account has credits/quota
- Try a different model
- Check Console.app for error messages
Settings Not Saving
Section titled “Settings Not Saving”Solutions:
- Ensure you clicked “Save” button
- Check file permissions on UserDefaults
- Try quitting and relaunching app
- Check Console.app for errors
Can’t Find Settings Window
Section titled “Can’t Find Settings Window”Solutions:
- Click menu bar icon → Settings…
- Check if window is behind other windows
- Try quitting and relaunching app
Next Steps
Section titled “Next Steps”- AI Providers: Learn about each AI provider in detail
- Vision Models: Configure providers for screenshot analysis
- Usage Guide: Start using Clipboard Recast with your configured provider