OpenCode logo

Run OpenCode on GLM-5.2

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