Why use BYOK?
Your own rate limits
Reviews and scans draw from your provider account’s quota, so high-volume teams are never throttled by shared limits.
Data residency control
Requests go directly from Garth to your provider under your account, giving you full control over which region processes your code.
Cost visibility
All token usage is billed to your provider account so you can track AI spend alongside your other developer tooling.
Supported providers
Claude
Recommended. Best-in-class reasoning for code review and security analysis.
OpenAI
GPT-4o and GPT-4 Turbo models supported.
Gemini
Gemini 1.5 Pro and Gemini 2.0 Flash supported.
Sarvam AI
Sarvam-105B and Sarvam-M models optimized for Indian languages.
Adding your API key
All keys are stored in the Garth Secure Vault — encrypted at rest, never written to logs, and scoped to your organisation only.1
Open the Integrations settings
Navigate to Settings → Integrations → LLM in the Garth dashboard.
2
Select a provider
Choose Claude, OpenAI, Gemini, or Sarvam AI from the provider list.
3
Paste your API key
Enter your API key in the input field. The key is immediately encrypted before it leaves your browser.
4
Save to vault
Click Save. Garth validates the key against the provider’s API, then stores it in the secure vault. A masked preview (e.g.
sk-ant-••••••••XXXX) confirms the key is saved.5
Set as active provider
If you have keys for more than one provider, select which provider Garth should use for new requests under Active Provider.
Provider reference
Claude (Anthropic)
Get your API key from the Anthropic Console.OpenAI
Get your API key from the OpenAI Platform.Gemini (Google AI)
Get your API key from Google AI Studio.Sarvam AI
Get your API key from the Sarvam AI Dashboard.Removing a key
To remove a stored key, go to Settings → Integrations → LLM, find the provider, and click Disconnect. The key is permanently deleted from the vault and cannot be recovered.Removing an active key will pause all AI-powered reviews and scans until a new key is added or the provider is switched.
Next steps
Claude tier limits
Understand Claude API usage tiers and choose the right tier for your team’s volume.
OpenAI models and tiers
Understand OpenAI’s usage tiers and choose the right GPT model for your team’s volume.
Gemini models and rate limits
Understand Gemini’s free and pay-as-you-go tiers and model options.
Sarvam AI rate limits
Understand Sarvam AI subscription tiers and models optimized for Indian-language codebases.
Customize review
Write custom instructions to align Garth’s reviews with your team’s standards.

