Codex logo

Run Codex on GLM-5.2

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 GLM-5.2

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

GLM-5.2 runs on the routes below. Route only to EU providers when your data has to stay in Europe. One route also sells flex and priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
EUNo$1.41$5.63Input priceNot offered on this routeNot offered on this route
EUNo$1.24$4.95$0.31Not offered on this routeNot offered on this route
EUNo$1.25$4.39$0.20Not offered on this routeNot offered on this route
EUNo$1.50$4.50$0.38Not offered on this routeNot offered on this route
EUNo$1.54$4.84$0.15Not offered on this routeNot offered on this route
EUNo$2.25$5.85Input priceNot offered on this routeNot offered on this route
EUNo$2.03$6.19Input priceNot offered on this routeNot offered on this route
EUNo$1.50$4.50$0.38Not offered on this routeNot offered on this route
USNo$1.40$4.40$0.26Not offered on this routeNot offered on this route
USNo$0.75$2.40$0.14
USNo$0.70$2.20$0.10Not offered on this routeNot offered on this route
USNo$0.23$3.55$0.14Not offered on this routeNot offered on this route
USNo$1.40$4.40$0.26Not offered on this routeNot offered on this route
MultiNo$1.20$4.19Input priceNot offered on this routeNot offered on this route
Multi—Not established—$1.40$4.40$0.26Not offered on this routeNot offered on this route
MultiNo$1.40$4.40$0.26Not offered on this routeNot offered on this route
MultiNo$1.40$4.40Input priceNot offered on this routeNot offered on this route
MultiNo$1.40$4.40$0.26Not offered on this routeNot offered on this route
MultiNo$1.40$4.40$0.26Not offered on this routeNot offered on this route

The model

by Z.ai

GLM-5.2 by Z.ai is a 744B open-weight (MIT) mixture-of-experts coding model with a 1M-token context, IndexShare sparse attention, and selectable thinking-effort levels.

Available on

Pricing from$0.23/ 1M input$2.20/ 1M output$0.10/ 1M cache read1Mcontext

Privacy

ZDR
Training
No
Region
Multi, US, EU

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 GLM-5.2

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