OpenAI

Set up your OpenAI API key and available models

OpenAI

OpenAI builds the GPT family of models. CtxSync supports OpenAI as an LLM provider — bring your own API key and use GPT models in your project chats.

OpenAI API Keys Page

Getting your API key

  1. Go to platform.openai.com and sign in (or create an account).
  2. Navigate to API keys in the left sidebar.
  3. Click Create new secret key.
  4. Copy the key — you won’t be able to see it again.
  5. In CtxSync, go to Settings → API Keys.
  6. Select OpenAI as the provider and paste your key.

Note: OpenAI requires a payment method on your account before API keys will work. Check their pricing page for current rates.

Available models

Model ID Best for
GPT-5.2 gpt-5.2 Most capable model — complex reasoning, large codebases, multi-step tasks
GPT-5 Mini gpt-5-mini Faster responses, lower cost — good for simpler questions and quick lookups

When starting a new chat, you can select which model to use. GPT-5.2 is recommended for in-depth code analysis. GPT-5 Mini is a good choice when speed and cost matter more than depth.

Once your key is saved, you can select OpenAI models when starting a new chat.