Providers

Google Gemini

Connect Sythoria to Google's Gemini API to chat with Google's most capable models. Gemini offers large context windows and strong performance on reasoning, code, and multilingual tasks.

Prerequisites

  • A Google account
  • An API key from Google AI Studio

Setup

  1. Go to aistudio.google.com/apikey
  2. Click Create API Key and copy it
  3. In Sythoria, open Settings from the sidebar
  4. Select Google Gemini from the Provider Preset dropdown — the API base URL and default model fill in automatically
  5. Paste your API key into the API Key field
  6. The connection indicator should turn green within a few seconds

Your API key is stored only in the application's local storage. It is never sent to Sythoria's servers. See Privacy & Security.

Default configuration

SettingValue
API Basehttps://generativelanguage.googleapis.com/v1beta/openai/chat/completions
Default Modelgemini-1.5-pro
API FormatOpenAI-compatible (Google's compatibility layer)
StreamingSupported

Available models

Model IDBest forContext window
gemini-1.5-proMost capable — complex reasoning, long documents, deep analysis1M
gemini-2.0-flashFast and efficient — everyday tasks, quick Q&A1M
gemini-1.5-flashPrevious generation flash — general-purpose, cost-effective1M

How it works: OpenAI-compatible endpoint

Sythoria uses Google's OpenAI-compatible endpoint (/v1beta/openai/chat/completions). This means the experience is identical to using OpenAI's API — same request format, same streaming protocol, same response structure. No special configuration needed.

Pricing

Google offers a free tier with rate limits for development and light use. For production workloads, see ai.google.dev/pricing for pay-per-token pricing.

Troubleshooting

ErrorCauseFix
403 ForbiddenAPI key lacks access to the requested modelCheck your Google Cloud project settings and enable the Generative Language API
400 Invalid API keyKey is malformed or revokedGenerate a new key at aistudio.google.com/apikey
429 Rate LimitExceeded free tier quotaWait and retry, or upgrade to a paid plan
Model not foundModel ID is incorrectUse the exact model IDs from the table above
Connection indicator redNetwork issue or invalid API baseVerify the API base URL is the OpenAI-compatible endpoint and click Refresh
SythoriaDocs Navigation