Providers

OpenAI

Connect Sythoria to OpenAI's API to chat with GPT-4o, GPT-4o Mini, o1, and more. OpenAI offers the most widely-used commercial language models with strong general-purpose performance.

Prerequisites

  • An OpenAI account with billing enabled
  • An API key from the OpenAI dashboard

Setup

  1. Go to platform.openai.com/api-keys
  2. Click Create new secret key and copy it
  3. In Sythoria, open Settings from the sidebar
  4. Select OpenAI 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://api.openai.com/v1/chat/completions
Default Modelgpt-4o
API FormatOpenAI Chat Completions
StreamingSupported

Available models

The model dropdown auto-populates with models available to your API key. Common options:

Model IDBest forContext window
gpt-4oGeneral-purpose tasks, multi-step reasoning128K
gpt-4o-miniFast, cost-effective everyday use128K
o1Complex reasoning, math, coding200K
o1-miniLightweight reasoning tasks128K
gpt-4-turboHigh-performance instruction following128K
o3-miniHigh-speed reasoning and coding200K

Check platform.openai.com/models for the full list and current availability.

Pricing

OpenAI charges per token. Rates vary by model. Check openai.com/pricing for current rates.

Switching models mid-conversation

You can switch to a different OpenAI model at any time using the model dropdown in the chat input bar. Each new message uses the currently selected model, so you can start with GPT-4o and switch to o1 for a harder question — all within the same conversation.

Troubleshooting

ErrorCauseFix
401 UnauthorizedAPI key is invalid or expiredGenerate a new key at platform.openai.com/api-keys
429 Rate LimitExceeded your usage tier's rate limitWait a moment, or upgrade your OpenAI plan at platform.openai.com/account/billing
Model not foundModel name is incorrect or unavailable to your accountVerify the model ID at platform.openai.com/models
402 Payment requiredNo billing method on fileAdd a payment method at platform.openai.com/account/billing
Connection indicator redNetwork issue or invalid API baseCheck that the API base URL is https://api.openai.com/v1/chat/completions and try clicking Refresh
SythoriaDocs Navigation