Pi logo

Run Pi on GLM-5.2

by pi.devCoding agentpi.dev

Pi is a lightweight open coding agent from pi.dev. It's a simple, fast terminal agent that edits code and runs tasks from natural-language prompts, built to stay minimal and model-agnostic rather than locked to one provider. On Opper, launch it on any of 700+ models, fall back across providers automatically, and keep everything on one key.

RunPi logoPionin

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

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

More apps on Opper

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