> ## Documentation Index
> Fetch the complete documentation index at: https://apione.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect VS Code and GitHub Copilot to APIONE

> Configure APIONE using VS Code custom model endpoints.

## 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](https://apione.ai/en/app/api-keys) through the credential prompt. Use the custom endpoint feature rather than another provider's dedicated extension.

## Configure models

| Field | Value |
| - | - |
| Provider / group name | APIONE |
| API type | chat-completions, responses, or messages, as supported by the model |
| Model ID | An actual model ID available to your APIONE key |
| Complete Chat Completions URL | [https://api.apione.ai/v1/chat/completions](https://api.apione.ai/v1/chat/completions) |
| Complete Responses URL | [https://api.apione.ai/v1/responses](https://api.apione.ai/v1/responses) |
| Complete Messages URL | [https://api.apione.ai/v1/messages](https://api.apione.ai/v1/messages) |

These are complete request URLs. If the interface asks for a Base URL instead, use [https://api.apione.ai/v1](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](https://code.visualstudio.com/docs/agent-customization/language-models).

***

[Integration directory](https://apione.ai/docs/en/guides/clients.md) · [Choose a model](https://apione.ai/docs/en/models/catalog.md) · [Troubleshooting](https://apione.ai/docs/en/support/errors.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.