GitHub Copilot routing

Use GitHub Copilot with backup coding models

Give your coding tools one OpenAI-compatible address. Your GITHUB_COPILOT_TOKEN stays on your router, and TEKIZ.AI can switch to another model you are allowed to use when Copilot is unavailable.

Create API key Read quickstart Codex setup Coding agents

Keep your Copilot token private

Configure GitHub Copilot as an authorized provider route using your own GITHUB_COPILOT_TOKEN. TEKIZ.AI does not grant unauthorized GitHub Copilot access or bypass GitHub subscription terms.

OpenAI-compatible setup

Point Codex, Cursor, Aider, Continue, OpenHands, and OpenAI SDK clients at https://api.tekiz.ai/v1 while the router chooses Copilot-compatible, OpenAI, Anthropic, Gemini, Ollama, NVIDIA NIM, or private routes by policy.

Keep working when an account is busy

When a Copilot token, model route, or fallback provider rate-limits, TEKIZ.AI can choose another eligible authorized route. Coding agents keep one routing configuration.

Set up GitHub Copilot setup

export OPENAI_BASE_URL=https://api.tekiz.ai/v1
export OPENAI_API_KEY=sk_tekiz_your_generated_key
export GITHUB_COPILOT_TOKEN=ghu_your_authorized_token

curl "$OPENAI_BASE_URL/chat/completions" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tekizai/agentic",
    "messages": [{"role": "user", "content": "Use Copilot-compatible routing if it is the best healthy authorized coding route"}]
  }'

Use more than one token

Credential pools can distribute traffic across authorized tokens and fail over when one route is exhausted, revoked, rate-limited, or unhealthy.

Send files to services that accept them

Image, audio, video, and document inputs route only to capable models, so coding profiles do not send multimodal work to incompatible text-only routes.

See which route handled the request

Hosted routing records the selected route and basic request details without storing your tokens.

Why put TEKIZ.AI in front of Copilot?

Copilot is useful, but it can still hit a rate limit or become unavailable. TEKIZ.AI gives every coding tool the same address, keeps your token private, supports local Ollama backups, and sends files only to models that can handle them.

Next steps

Create an API key, copy the hosted quickstart, configure Codex, or estimate routing fit.

Stay within your approved services

If your company approves only GitHub Copilot, keep that boundary. TEKIZ.AI can reduce token burn while making better use of existing subscriptions and account billing.