Skip to main content

Add a custom endpoint

In a VS Code version supporting custom model endpoints, run Chat: Manage Language Models from the command palette. Choose Add Models → Custom Endpoint. If it is unavailable, check the client version and organization policy. Create a model group named APIONE and save your APIONE API Key through the credential prompt. Use the custom endpoint feature rather than another provider’s dedicated extension.

Configure models

These are complete request URLs. If the interface asks for a Base URL instead, use https://api.apione.ai/v1 for OpenAI-compatible APIs. Set context limits, output limits, vision, and tool capabilities according to the actual model.

Select and test

Choose the APIONE model in the chat model selector. Send a simple question, then test a read-only file operation in Agent mode. Models without tool support are unsuitable for Agent workflows. Custom chat models do not change every Copilot feature. Inline completions, organization features, and subscription permissions remain governed by the client. Verify actual routing in APIONE request records.

Troubleshoot

If a model is missing, reopen the selector and confirm its group is enabled. For 401, check the key. For 404, check the API type and complete URL. For tool errors, check the model’s capabilities. See VS Code language model documentation.
Integration directory · Choose a model · Troubleshooting