GitHub Copilot
GitHub Copilot lets you bring your own model provider for chat and agent sessions. Add Inferray as an OpenAI-compatible provider to use any model in the catalogue.
GitHub Copilot app
- Sign in with your GitHub account.
- Open Settings → Model providers and click Add provider.
- Choose OpenAI-compatible.
- Enter a name, your Inferray key, and the base URL
https://api.inferray.com/v1. - Save, then pick an Inferray model in the session's model picker.
VS Code
In Copilot Chat, open the model picker and choose Manage Models…. Where your version offers an OpenAI Compatible provider, add it with the base URL https://api.inferray.com/v1 and your Inferray key, then add the model IDs you want from the catalogue.
Mark models that support tools as tool-capable so agent mode can use them, and set their context and output limits from the catalogue.
What uses your key
Chat and agent requests with an Inferray model are billed to your Inferray project. Copilot's inline completions — the grey suggestions you accept with Tab — keep using GitHub's own models; they do not support custom providers. GitHub sign-in is still required, and organisation policies can restrict custom providers on managed accounts.
Troubleshooting
- The provider or model is missing — update the app or VS Code, and check the saved base URL and key.
- Agent tasks fail — choose a model with tool calling and streaming support.
Models that work well here
- Claude Opus 5.5$4 in · $20 out per 1M tokens
- Claude Sonnet 5.5$2 in · $10 out per 1M tokens
- GPT-6.1 Sol$2 in · $10 out per 1M tokens
- Gemini 4 Argon$4 in · $20 out per 1M tokens
- Kimi K3$3 in · $15 out per 1M tokens
- GLM-5.3$0.77 in · $2.42 out per 1M tokens
- Gemini 3.8 Flash$0.75 in · $3.75 out per 1M tokens
- DeepSeek V4.1 Flash$0.15 in · $0.6 out per 1M tokens
- Run it on a Token Plan$20 a month buys $60 of usage across these models, with no 5-hour windows or weekly caps.