AI Providers
Lyna's AI assistant runs on large language models. You choose from four core providers, bring your own API key for 67 more, and switch between them at any time. Configuration lives at Settings > Chat > Providers.
Core Providers
| Provider | Connection Method | Details |
|---|---|---|
| Lyna | Built-in | Default provider. Works out of the box using credits from your subscription plan. |
| GitHub Copilot | OAuth via GitHub | Requires an active GitHub Copilot subscription. |
| Claude Code (Anthropic) | API key or OAuth | Anthropic's Claude models. Supports API key entry and OAuth. |
| OpenAI Codex | API key | OpenAI's GPT and Codex models. |
Lyna is selected by default for new projects.
Connecting a Provider
Open Chat Settings
Go to Settings > Chat and click the Providers tab.
Browse Providers
The Popular Providers section lists the four core providers. The full BYOK list is below.
Connect
Click Connect next to a provider.
- API key: enter your key in the dialog. Stored securely per-user in the database.
- OAuth: authorize through the provider's login flow. Available for Anthropic (Claude Code) and GitHub Copilot.
Bring Your Own Key (BYOK)
Beyond the four core providers, Lyna supports 67 additional providers via BYOK. Enter an API key for any supported provider.
- Settings are stored per-user in the database.
- AI requests use your key directly, bypassing Lyna's credit system.
- You are billed directly by the provider for token usage.
Lyna does not add any markup to BYOK requests. You pay the provider's standard rates.
Connected Providers
The Connected Providers section shows all linked providers with:
- Provider name and icon.
- Connection type badge: "API Key", "OAuth", "Built-in", or "Environment".
- Disconnect button.
You can have multiple providers connected and switch between them.
Selecting a Model
After connecting providers, go to the Models tab in Chat Settings to pick a model. The model selector shows all available models from your connected providers.
You can also switch models directly from the chat input area mid-conversation.