Polarity supports six AI provider types.
All provider selection and credential configuration is performed in the “Server Configuration” panel under Model Settings.
Provider ID | Description | Required Config | Notes |
|---|---|---|---|
| OpenAI's GPT model family. |
| Supports GPT-4o, GPT-4, and GPT-3.5 series. Base URL defaults to https://api.openai.com/v1. |
| Anthropic's Claude model family. |
| Supports Claude 3, Claude 3.5, and Claude 4 series. Base URL defaults to https://api.anthropic.com. |
| Google's Gemini model family. |
| Supports Gemini 1.5 Pro, Gemini 1.0 Pro, and Flash variants. |
| AWS Bedrock: models served through AWS infrastructure. |
| Supports Claude, Llama, and Titan models available in Bedrock. No base URL is configurable for this provider. |
| Locally hosted models served via Ollama. |
| No API key required. Suitable for air-gapped environments. Model selection depends on what is available in the local Ollama instance. |
| Any API that implements the OpenAI chat completions interface. |
| Compatible with LM Studio, Together AI, Groq, vLLM deployments, and other OpenAI-compatible servers. |
Provider credential bypass:
The
ollama,bedrock, andopenai\_compatibleproviders bypass the standard API key validation path and use their own credential-handling logic.
Ensure the correct provider-specific fields are filled in before saving.