OpenCode logo

Run OpenCode on Gemini 3.1 Pro Preview

by SSTCoding agentopencode.ai

OpenCode is SST's open-source coding agent for the terminal. It runs as a fast, keyboard-driven TUI, works across your whole codebase, and was designed from the start to be provider-agnostic rather than tied to a single model. On Opper you get a single key to 700+ models behind it, transparent pass-through pricing, and a choice of EU or US hosting.

RunOpenCode logoOpenCodeonin

Launch OpenCode on 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
MultiNo$2.00$12.00$0.20Not offered on this routeNot offered on this route
MultiNo$2.00$12.00$0.20

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 OpenCode on other models

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

More apps on Opper

Run OpenCode 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