• Loading…

Sign in and models

Use the hosted models your SoreQen plan includes, or your own API key from one of five providers.

Choosing between them

soreqen setup

asks which of the two you want and walks you through it. It runs by itself the first time you start soreqen with neither set up.

Sign in with SoreQen

soreqen login

approves this computer with your SoreQen account. Plus, Pro and Elite include the hosted models: SoreQen Auto, which picks the model for each step, and the Flow models. They are paid with SoreQen credits, one balance with SoreQen Chat; see Credits, Flow and Flex.

To sign this computer out:

soreqen logout

In the desktop app, the hosted models are listed under SoreQen Hosted Models in the model picker under the message box.

Use your own API key

Your own key works on any SoreQen account, Free included, and you pay only your model provider.

soreqen keys set anthropic

SoreQen asks for the key (it is not shown as you type), checks it with the provider, and saves it only if the provider accepts it. Add --model <name> to choose the model to use with it.

ProviderName to useVariable it is saved as
OpenCode (Zen / Go)opencodeOPENCODE_API_KEY
AnthropicanthropicANTHROPIC_API_KEY
OpenAIopenaiOPENAI_API_KEY
OpenRouteropenrouterOPENROUTER_API_KEY
DeepSeekdeepseekDEEPSEEK_API_KEY

Keys are saved in ~/.soreqen/.env on your computer, never in your project. To see which are set, or to delete one:

soreqen keys
soreqen keys remove openai

For any other OpenAI-compatible endpoint, pass it when you start:

soreqen --base-url https://example.com/v1 --api-key <key> --model <model>

In the desktop app, open Settings (Ctrl+,), then Models and keys: choose the provider, paste the key, list the model, and press Save key.

Switching models

/model lists the models you can use, and /model <name> switches to one. To start on a particular model, use --model (or -m). SoreQen remembers the model you chose.