Bring Your Own Key (BYOK)
When you need larger context windows or faster inference than local hardware allows, CodRight connects directly to any OpenAI-compatible API endpoint using your own credentials.
You pay raw token pricing directly to your chosen provider with no per-seat markup.
Supported Endpoints
Section titled “Supported Endpoints”Any provider exposing a standard /v1/chat/completions interface works with CodRight, including:
- DeepInfra for low-cost hosted open-weights models
- vLLM for self-hosted GPU clusters
- LiteLLM or custom internal proxy gateways for centralized team key management
- OpenAI / OpenRouter compatible endpoints
Example: DeepInfra Configuration
Section titled “Example: DeepInfra Configuration”- Create an API key in your DeepInfra dashboard.
- Open VS Code Settings and search for CodRight.
- Enter the following values:
- API Endpoint:
https://api.deepinfra.com/v1/openai - API Key: Your DeepInfra token
- Model:
Qwen/Qwen2.5-Coder-32B-Instruct(orQwen/Qwen2.5-72B-Instruct)
- API Endpoint:
Example: Self-Hosted Internal Gateway
Section titled “Example: Self-Hosted Internal Gateway”Engineering teams that do not want to distribute raw cloud API keys to individual developer laptops can place a lightweight proxy gateway (such as LiteLLM or a custom Node.js proxy) in front of their model providers.
- Point CodRight’s API Endpoint to your internal gateway URL (for example,
https://ai-gateway.yourcompany.internal/v1). - Issue per-developer keys from your gateway to control access, enforce rate limits, and audit spend centrally.