Model service connections
Connect a model service, verify a real request, then configure the default model and difficulty-based routing. Endpoint reachability, a listed model, and a successful task are separate results to verify.
Choose a connection method
Open Settings > AI services and choose a service that matches your account or endpoint.
| Method | Prepare | Check |
|---|---|---|
| Provider sign-in or subscription entry | An account supported by that entry and sign-in authorization | Models actually available to the signed-in account |
| API credential | An API key issued by the service | Account ownership, model access, and available quota |
| Custom endpoint | API base URL, credential, and compatible format | Matching protocol and model ID |
| Local agent entry | Installation and authorization for that agent | Complete its detection flow; this is not an arbitrary local model endpoint |
For a local model server that exposes a compatible API, use a custom endpoint. Confirm that the server is running and reachable from the device running EvoX.
For a sign-in entry, complete the provider’s authentication flow and confirm the returned account in EvoX. For API access, enter a key issued for that account. A custom connection also needs the correct base URL, protocol, and model ID. Install and authorize a local proxy before detecting it; a web subscription, API quota, and local dependencies are different prerequisites.
A provider can have multiple connection instances. Give everyday accounts and test endpoints distinct names, and check the instance before editing.
Create your first working connection
- Open the target service or connection instance under AI services.
- Complete sign-in or fill in the dedicated credential field.
- For a custom endpoint, enter the base URL and format as described below, then use “Test and save.”
- Inspect connection status and available models. Refresh an outdated list and resolve discovery errors.
- Return to a conversation and select a model. With multiple accounts, also verify the connection instance.
- Send a short request and confirm a real response.
For example:
Explain in three sentences what project rules, memory, and skills each do.
Then test any additional capabilities your work requires. A successful text reply does not establish that image input, tool calls, or long tasks will work.
Configure a custom endpoint
Enter the address and compatible format
Use the API base URL supplied by the service, rather than its website homepage or a model's display page. Whether the URL includes a path such as /v1 depends on that service's instructions. Do not add or remove paths based on another provider's example.
Choose the protocol under advanced settings:
| Format | When to choose it |
|---|---|
| OpenAI | The service documents an OpenAI-compatible API |
| Claude | The service documents a Claude-compatible API |
| Gemini | The service documents a Gemini-compatible API |
The OpenAI format also lets you choose Responses or Chat Completions. If the endpoint supports only Chat Completions, leave Responses off, even for a newer model. Match the service's protocol, rather than choosing by model name.
Example: suppose a provider supplies https://api.example.com/v1, documents OpenAI Chat Completions compatibility, and identifies a model as example-chat. Enter that base URL and your API key, select OpenAI with Responses off, then test and save before checking the model list. The address and model ID here are illustrative; replace them with the values supplied by your service.
Confirm available models
Inspect the model list after saving. If a custom service does not list a model but its provider confirms the model ID is available, use the manual-add entry and enter that exact ID.
Use the model ID rather than its display name. Copy it from service documentation or the provider console. Adding an ID manually makes it selectable; it does not grant account access. Being listed also does not guarantee a successful call. Limited-time free groups in the model menu follow the campaign window supplied by the service catalog; models return to their ordinary groups afterward. Check the campaign dates and your account’s service terms before use. A campaign label is not a permanent free entitlement.
Set advanced context-window and image-input options to match the service's actual capabilities. Raising a declared limit or enabling image input cannot add unsupported capabilities. Test an image request if needed, and a small, clearly scoped tool task if your work requires tools.
Review usage and costs
Open Usage, choose a time range, and inspect calls. The /cost command in Code also opens it. Configured prices support estimates; those totals do not replace provider bills.
Check billing separately for model APIs, subscription accounts, and search services. Check each service's quota and bill rather than treating one estimate as the total cost of all external services.
To rotate credentials, edit the intended connection instance, save, and retest. Check that defaults and routing still refer to an available account. Before removing an instance, reassign affected defaults and tiers. Removing a local connection neither cancels a provider subscription nor revokes its API keys.
Troubleshoot connections and models
| Symptom | Check first | Next step |
|---|---|---|
| Authentication failure | Instance, credential, and account access | Update that credential and test again |
| Model not found | Exact model ID, protocol, and account availability | Refresh the list; manually add a custom model when appropriate |
| Models remain listed after a refresh error | Whether the list is the last successful discovery result | Resolve the refresh error before judging availability |
| Test passes but a real request fails | Selected model, account, and task capabilities | Try a minimal text request to separate connection and capability issues |
| Saved but not applied | Service status and application error | Use the retry or service-status entry |
| Timeout or name-resolution failure | Address, network, and proxy | Follow network troubleshooting rather than resetting all settings |
See Network and background operation for persistent connection problems and Permissions and approvals for tool authorization.
After verifying the connection, set defaults and task tiers in Model selection and routing. Search credentials belong to Web search.