Use Claude Sonnet 4.5 and Claude Opus 4.5 inside Claude Code CLI — models removed from VS Code Copilot but still fully accessible here. Students get everything free.
Four components that bridge Claude Code to GitHub Copilot.
Four steps. Takes about 2 minutes.
education.github.com/pack and verify with your .edu email or
student ID. Approval takes 1–3 days. GitHub Copilot is then completely free.
https://education.github.com/pack
curl -fsSL https://opencode.ai/install | bash && source ~/.bashrc
opencode --version
opencode auth login github
github.com/login/device, enter it,
and authorize OpenCode.git clone https://github.com/fuergaosi233/claude-code-proxy
cd claude-code-proxy
pip install -r requirements.txt
cat ~/.local/share/opencode/auth.json
OPENAI_API_KEY below.
.env to
your .gitignore.
npm install -g @anthropic-ai/claude-code
Terminal 1 — keep this running:
cd claude-code-proxy && python3 start_proxy.py
Terminal 2 — launch Claude Code:
export ANTHROPIC_BASE_URL="http://localhost:8082"
export ANTHROPIC_AUTH_TOKEN="anything"
claude --model claude-sonnet-4-5
Change BIG_MODEL in .env
to switch. ★ = removed from VS Code.
BIG_MODEL in your .env file to codex-5.3,
o1-preview, gemini-3.1-pro, llama-3.3-70b, or any other
model. Run opencode models in your terminal to easily see the full list of 100+
available models.
Quick answers.
opencode auth login github again, authorize in browser, then update
OPENAI_API_KEY in your .env with the new token from
~/.local/share/opencode/auth.json.
.env and set BIG_MODEL=claude-opus-4.5 and
MIDDLE_MODEL=claude-opus-4.5. Restart the proxy. Opus is slower but significantly
more
capable for complex reasoning.
claude-haiku-4.5 (~5s) or gpt-4.1 (~3–5s) in your
.env.
MAX_TOKENS_LIMIT=200000 removes practical limits. Claude Code's agentic
mode handles large codebases — reading files, writing code, running tests — just like a paid
Anthropic API key.