For Z.ai's ZCode with more than GLM models, the best API is a cost-optimized custom provider: in Settings → Model Providers → Add Provider, set the OpenAI endpoint to https://api.stdcmpt.com/v1, add your key and the model standardcompute, and Standard Compute's router sends each step to the cheapest model that can do it (Claude Fable 5.1 or GPT-6 Astra only when it counts), on a plan from $19 a month with a $20 compute budget. ZCode's native route is a Z.ai account with a free daily trial quota and the GLM Coding Plan (Lite, Pro and Max, with 5-hour and weekly credit limits). ZCode is free and open source (Apache 2.0).
| Option | Price | What you get |
|---|---|---|
| GLM Coding Plan (Z.ai) | See current plans | A coding subscription for the GLM model family. Check the current model access, client support and usage limits for the selected tier. Source: docs.z.ai |
| Standard Compute (us) | From $19/mo | Smart routing sends each request to the cheapest model that can do it, or pin any model by its exact ID. Standard Compute starts at $19/month with a $20 monthly compute budget. Requests stop when that budget is exhausted until renewal or a plan change; there are no automatic overage charges. Requests are not slowed as the budget is used. It is a fixed bill with a finite allowance. |
| OpenRouter | Pay-as-you-go | Choose models and providers through one API. Usage-based pricing can suit light or bursty work; estimate long agent sessions and review current fees and limits. Source: openrouter.ai |
| Anthropic API | Pay-as-you-go | Direct API access for supported Claude models. Token use, model choice, service limits and spending controls determine the cost and available throughput. Source: claude.com |
Prices and allowances can change. ZCode's provider fields, config file and thinking-effort behavior come from ZCode's configuration docs, and GLM Coding Plan limits from Z.ai's docs, read on October 15, 2026. ZCode: model configuration · GLM Coding Plan · ZCode repo. Spot an error? Tell us.
Save, then pick the model in ZCode's model selector. ZCode stores the provider in ~/.zcode/v2/config.json.
Record your own results with the workload CSV and report template. These are blank templates, not published benchmark results.
Disclosure: this guide is maintained by Standard Compute, one of the options above. Choose based on task quality, supported features and total cost for your workload. Light usage may cost less on a usage-based API; sustained workloads need enough allowance on any subscription.