GitHub Copilot logo

Run GitHub Copilot on Gemini 3.1 Pro Preview

by GitHubEditorgithub.com

GitHub Copilot is GitHub's AI pair programmer, built into VS Code and the JetBrains IDEs. Its bring-your-own-key support includes a Custom Endpoint provider that speaks both the OpenAI and Anthropic API formats, so chat and agent mode run on the model you choose while inline code completions stay on GitHub's own models. Point it at Opper's compatible gateway and you get 700+ models on one key with a choice of EU or US hosting, and in VS Code it works even without a Copilot plan.

RunGitHub Copilot logoGitHub Copilotonin

Connect GitHub Copilot to Gemini 3.1 Pro Preview

Set up with agents

Paste this into your coding agent (Claude Code, Cursor, Codex, and more) and it will set up and build with Opper for you.

Get your API key

Where you can run it

Gemini 3.1 Pro Preview runs on the routes below. Route only to EU providers when your data has to stay in Europe. Some routes also sell flex and priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$2.00$12.00$0.20$2.38 write
MultiNo$2.00$12.00$0.20Not offered on this routeNot offered on this route
MultiNo$2.00$12.00$0.20$2.38 write

The model

by Google

Gemini 3.1 Pro Preview by Google, a frontier reasoning LLM with 1M context and strong agentic coding, scoring 77% on ARC-AGI-2 and 81% on SWE-Bench Verified.

Available on

Pricing from$2.00/ 1M input$12.00/ 1M output$0.20/ 1M cache read1Mcontext

Privacy

ZDR
Training
No
Region
US, Multi

Run GitHub Copilot on other models

Step-by-step setup for running GitHub Copilot on each of these models through Opper.

More apps on Opper

Run GitHub Copilot on Gemini 3.1 Pro Preview

One key, 700+ models, a choice of region, and zero data retention. Switch the model behind your app without changing your workflow.

Get startedView Documentation