Codex logo

Run Codex on Gemini 3.1 Pro Preview

by OpenAICoding agent

Codex is OpenAI's open-source coding agent for the terminal. It works from natural-language instructions to edit code across your project, run commands, and complete tasks end to end, with its source available on GitHub under Apache-2.0. On Opper, launch it on GPT, Claude, Gemini, DeepSeek and 700+ more — one key, automatic fallbacks, and a choice of region.

RunCodex logoCodexonin

Launch Codex 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 Codex on other models

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

More apps on Opper

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