Providers

OpenRouter

OpenRouter provides a unified API to hundreds of AI models from different providers — OpenAI, Anthropic, Google, Meta, Mistral, and more. Use it to access models you might not have direct API access to, all through a single key.

Prerequisites

  • An OpenRouter account
  • An API key from the OpenRouter dashboard
  • Credits in your OpenRouter account (some models are free)

Setup

  1. Go to openrouter.ai/keys
  2. Click Create Key and copy it
  3. In Sythoria, open Settings from the sidebar
  4. Select OpenRouter 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://openrouter.ai/api/v1/chat/completions
Default Modelanthropic/claude-3.5-sonnet
API FormatOpenAI Chat Completions
StreamingSupported

Available models

OpenRouter supports models from dozens of providers. Model IDs use the provider/model-name format:

Model IDProviderNotes
anthropic/claude-3.5-sonnetAnthropicBalanced Claude model
openai/gpt-4oOpenAIGPT-4o via OpenRouter
meta-llama/llama-3.1-70b-instructMetaOpen-source, strong all-rounder
mistralai/mistral-largeMistralEuropean provider, good multilingual
google/gemini-pro-1.5GoogleGemini via OpenRouter
deepseek/deepseek-chatDeepSeekCost-effective, strong coding

Browse the full catalog at openrouter.ai/models with live pricing and availability.

Model ID format

OpenRouter uses a provider/model-name naming scheme. When entering a model in Sythoria's Model ID field, use the exact ID from openrouter.ai/models. Examples:

  • anthropic/claude-3.5-sonnet
  • meta-llama/llama-3.1-70b-instruct
  • google/gemini-2.0-flash

Why use OpenRouter?

BenefitDescription
Single API keyOne key for hundreds of models — no separate accounts needed
Automatic fallbackIf a provider is down, OpenRouter can route to an alternative
Transparent pricingPay only for what you use; see costs before you send
Free modelsSome models are free to use (rate-limited) — great for testing

Pricing

OpenRouter passes through provider pricing with a small markup. Some models are free (rate-limited). Check openrouter.ai/models for per-model pricing. Add credits at openrouter.ai/credits.

Troubleshooting

ErrorCauseFix
401 UnauthorizedInvalid API key or no creditsCheck your key at openrouter.ai/keys and add credits if needed
403 Model not availableSome models require accepting provider terms firstVisit openrouter.ai/models, find the model, and accept its terms
429 Rate LimitExceeded free tier or usage limitsWait and retry, or upgrade your OpenRouter plan
Model not foundIncorrect model ID formatUse the exact provider/model-name ID from openrouter.ai/models
Connection indicator redNetwork issue or invalid configurationVerify the API base URL and key, then click Refresh
SythoriaDocs Navigation