Skip to main content
GitHub Copilot supports custom OpenAI-compatible endpoints. You can route Copilot through Kyma to access 20+ open source models.

Configuration

In VS Code, open Settings (Cmd+,) and search for github.copilot:
  1. Set Copilot: AdvancedAPI URL to:
https://kymaapi.com/v1
  1. Set your Kyma API key in the authentication field.
Alternatively, set environment variables:
export OPENAI_API_KEY="kyma-your-api-key"
export OPENAI_BASE_URL="https://kymaapi.com/v1"
ModelAliasBest For
qwen-3-32bRecommended — fast code completion
qwen-3.6-plusbestHighest quality
kimi-k2.5codeBest tool calling
llama-3.1-8bfastFastest for inline completions
See all model aliases for shortcuts.

Notes

  • Kyma is OpenAI-compatible, so any Copilot setup that supports custom OpenAI endpoints will work.
  • For inline completions, use a fast model like qwen-3-32b or alias fast.

Prompt Caching

Prompt caching is automatic. Your system prompt and tool definitions are cached for 5 minutes, reducing costs by up to 90% on subsequent requests. No code changes needed. See Prompt Caching for details.