AI Providers

RewriteBar supports multiple AI providers, so you can pick the setup that fits your workflow.

Choose the Right Model

If you want guidance on speed vs quality, local model tradeoffs, and per-command overrides, see:

Provider Directory

Use this table to find:

  • whether a provider is cloud-hosted or local
  • quick links such as API console and provider website
  • whether provider-specific RewriteBar docs are available
ProviderTypeLinksProvider Docs
OpenAICloudGuide
AnthropicCloudGuide
GoogleCloudGuide
OllamaLocalGuide
GroqCloudGuide
DeepSeekCloud-
OpenRouterCloudGuide
PerplexityCloud
See provider docs
Guide
GitHub CopilotCloudGuide
MistralCloud-
XAICloud-
TogetherAICloud-
Azure AI FoundryCloud-
LM StudioLocal-
Apple IntelligenceLocal-
OsaurusLocalGuide
oMLXLocalGuide
302.AICloud-
Amazon BedrockCloud-
BasetenCloud-
Cloudflare AI GatewayCloud-
CortexCloud-
DeepInfraCloud-
FirmwareCloud-
Fireworks AICloud-
Hugging FaceCloud-
io.netCloud-
Moonshot AICloud-
MiniMaxCloud-
Nebius Token FactoryCloud-
OpenCode ZenCloud-
OVHcloud AI EndpointsCloud-
ScalewayCloud-
Venice AICloud-
Vercel AI GatewayCloud-
Z.AICloud-
ZenMuxCloud-
CerebrasCloud-

Local providers such as Ollama, oMLX, and Apple Intelligence do not require a cloud API key. If authentication is enabled in oMLX, enter its server API key in RewriteBar. See the oMLX setup guide.

Switching Providers

You can easily switch between providers:

  1. Go to Settings → AI Providers
  2. Select your preferred provider
  3. The change takes effect immediately

Troubleshooting

API Key Issues

  • Ensure your API key is valid and has sufficient credits
  • Check that the API key has the correct permissions

Local AI Issues

  • Verify that your local server (Ollama, LM Studio, or oMLX) is running
  • Check the server URL and port
  • Ensure the model is loaded and accessible

Performance Issues

  • Try a different model
  • Check your internet connection (for cloud providers)
  • Restart the local AI service (for local providers)