Skip to content

AI Providers Overview

Saga is provider-agnostic — every AI call goes through a common LLMProvider interface. You can mix providers per task (see Model Routing) or just set one default.

ProviderSetup requiredToken usage
VS Code LM (Copilot)None beyond CopilotEstimated
AnthropicAPI key (BYOK)Exact
GeminiAPI key (BYOK)Exact
OpenAIAPI key (BYOK)Exact
OpenRouterAPI key (BYOK)Exact
LocalOllama or LM Studio running locallyExact

Where you configure providers

Open Settings from the Command Palette. Each provider card lets you enable it, enter a key (BYOK) via a SecretStorage-backed input box, and Test Connection.

A note on Copilot / consumer OAuth

Saga only ever uses provider SDKs with an explicit API key (BYOK) or the official VS Code Language Model API for Copilot. Reusing a consumer chat app's OAuth session to call a model API on the side is not supported and won't be added — both Anthropic and Google have blocked this pattern for their consumer products.

Next steps

  • Model Routing — assign a specific model per generation task
  • Pick a provider above for setup instructions

Released under the MIT License.