List available providers returns every provider, whether it takes a sign-in, an API key or both, and the fields it needs.
In the app
Open Settings → Models. Choose a provider to sign in or enter its API key. For anything else choose Custom and enter the server’s Base URL, its API key (any value for a keyless server) and its model IDs. For a server on your own computer or a private network, see Use a model on your own machine.With the CLI
reason call runs any API operation with JSON input from a file, so the key never appears on the command line. This connects a hosted OpenAI-compatible provider as a Custom endpoint:
reason tools describe configureProviderCredential prints the exact fields. Install and sign in as Reason CLI describes.
With the HTTP API
The same two calls take an API key from Settings > API withorg:write (Authentication and scopes) and your Workspace id from GET /v3/self. This stores a provider API key:
custom-endpoint as the provider and send the body object from the CLI example. To test without saving, POST the same body to .../provider-credentials/{providerId}/validate. References: Validate a provider API key, Configure a provider credential and, for a sign-in, Start provider sign-in.
Custom endpoint fields
Only the Base URL is required.Use the model
A connected model appears in the model picker and in List models. A Custom endpoint’s models are namedbyok:custom-endpoint:<model id>, and its account’s source_id is custom-endpoint:<account_key>, with the account_key the save returned. To run a Session on exactly that connection, put that key in place of ACCOUNT_KEY:
Rules that surprise people
- A Custom connection has one context window. It applies to every model in that connection.
- A model not named in
CUSTOM_ENDPOINT_REASONING_MODELSgets no effort setting in the model picker. RaiseCUSTOM_ENDPOINT_MAX_OUTPUT_TOKENSfor reasoning models. - The endpoint must support tool calls. Agents cannot work without them.
- Reason cloud calls only a public HTTPS address. A server on
localhost, a LAN or a tailnet needs Your computer and explicit model IDs: see Use a model on your own machine. - Keys are encrypted and write-only. No call returns one; to change a connection, save it again.
- Any member adds a key or replaces one they connected. Replacing a key someone else connected takes an owner or admin.

