Skip to content

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.

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
  1. Create an API key in your DeepInfra dashboard.
  2. Open VS Code Settings and search for CodRight.
  3. Enter the following values:
    • API Endpoint: https://api.deepinfra.com/v1/openai
    • API Key: Your DeepInfra token
    • Model: Qwen/Qwen2.5-Coder-32B-Instruct (or Qwen/Qwen2.5-72B-Instruct)

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.

  1. Point CodRight’s API Endpoint to your internal gateway URL (for example, https://ai-gateway.yourcompany.internal/v1).
  2. Issue per-developer keys from your gateway to control access, enforce rate limits, and audit spend centrally.