Skip to content

API keys and providers ​

Orion uses bring your own key (BYOK) for cloud models and supports local inference. Configure providers in Settings → Providers.

Local Orion stores provider credentials in ~/.orion/credentials.json (Windows: %USERPROFILE%\.orion\credentials.json). They are not written to settings.json or workspace settings files.

Orion stores only client-safe configured summaries in settings. API keys and OAuth tokens stay in the credential file and are never exported from Settings → Settings JSON.

Open Settings → Providers ​

  1. Open Orion in your browser.
  2. Click the gear icon to open Settings.
  3. Select the Providers tab.

Add keys or connect OAuth for each provider you use.

Supported providers ​

ProviderConnection type
OpenAIAPI key; optional ChatGPT Plus/Pro OAuth
AnthropicAPI key
GoogleAPI key
xAIAPI key
OllamaLocal base URL + model id
LM StudioLocal base URL + model id
MLXLocal base URL + model id (Apple Silicon)
Custom local endpointsOpenAI-compatible base URL

For local providers, enter the server URL (for example http://127.0.0.1:11434 for Ollama) and pick or type a model id. Use Refresh models when the local server lists available models.

ChatGPT Plus / Pro (OAuth) ​

OpenAI supports connecting a ChatGPT subscription instead of a pay-per-token API key. Use Connect ChatGPT Plus / Pro in the OpenAI provider section, or choose Log in with your ChatGPT account during first-run onboarding.

Orion opens ChatGPT sign-in in a pop-up window, then waits for the local callback to finish. If your browser blocks the pop-up, allow pop-ups for Orion and try again. You can cancel the sign-in from Orion while it is waiting.

If browser sign-in does not complete, use Set up manually in Settings during onboarding or add an OpenAI API key in Settings → Providers.

If the consent screen shows a disabled Continue button, enable Device code authorization for Codex in ChatGPT settings. See Enable device code authorization for Codex.

Security notes ​

  • Do not put API keys in ~/.orion/settings.json or workspace settings files.
  • Protect ~/.orion/credentials.json (Windows: %USERPROFILE%\.orion\credentials.json) like any other secrets file.
  • Do not commit credentials.json or copy it into a project folder.
  • Jupyter tokens used to connect Orion to a server are separate from LLM provider credentials.
  • Revoke keys in your provider's dashboard if you suspect exposure.

After adding keys ​

  1. Open Settings → Models to pin favorite models.
  2. Pick a model in the chat input.
  3. Start in Ask mode if you want read-only answers first.

See Models and tool approval.


Last updated July 2026.

Apache-2.0 Licensed