GLM-4 9B
Ask AI about GLM-4 9B
Cheapest of 4 routes · AWS Bedrock
Cheapest of 4 routes · AWS Bedrock
About
GLM-4 9B is Tsinghua Knowledge Engineering Group (THUDM)'s GLM-4 model. It offers a 128K-token context window.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ AProviders(4)
Compare all 4Compare API pricing across 4 tracked provider routes for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| AWS Bedrock | $0.100 | $0.100 | Serverless |
| GCP Vertex AI | $0.100 | $0.100 | Serverless |
| Fireworks AI | $0.200 | $0.200 | Serverless |
| Bitdeer AI | $0.140 | $0.420 | Serverless |
Available via routers & gateways(14)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
AIRouter
RouterCommercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.
Amazon Bedrock Intelligent Prompt Routing
RouterAWS Bedrock's native prompt router that predicts each model's performance per request and routes between two models of the same family (Anthropic Claude, Meta Llama or Amazon Nova).
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Capabilities
No model capability flags are currently sourced.
Benchmark peer barsfor Coding
Benchmark scores(4)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 77.1 | C-EvalObserved 2026-11-20 | Configuration: C-Eval Evaluator: Zhipu AI Confidence: self-reported Notes: Self-reported by Zhipu AI. First-party HF model card zai-org/glm-4-9b (README sha 8cd2b585), benchmark table: row 'C-Eval', column 'C-Eval': 77.1. Quote: "| GLM-4-9B | **74.7** | **77.1** | **34.3** | **84.0** | **30.4** | **70.1** |". Retrieved 2026-11-20. | ||
| 84.0 | GSM8KObserved 2026-11-20 | Configuration: GSM8K Evaluator: Zhipu AI Confidence: self-reported Notes: Self-reported by Zhipu AI. First-party HF model card zai-org/glm-4-9b (README sha 8cd2b585), benchmark table: row 'GSM8K', column 'GSM8K': 84.0. Quote: "| GLM-4-9B | **74.7** | **77.1** | **34.3** | **84.0** | **30.4** | **70.1** |". Retrieved 2026-11-20. | ||
| 30.4 | MATHObserved 2026-11-20 | Configuration: MATH Evaluator: Zhipu AI Confidence: self-reported Notes: Self-reported by Zhipu AI. First-party HF model card zai-org/glm-4-9b (README sha 8cd2b585), benchmark table: row 'MATH', column 'MATH': 30.4. Quote: "| GLM-4-9B | **74.7** | **77.1** | **34.3** | **84.0** | **30.4** | **70.1** |". Retrieved 2026-11-20. | ||
| 70.1 | HumanEvalObserved 2026-11-20 | Configuration: HumanEval Evaluator: Zhipu AI Confidence: self-reported Notes: Self-reported by Zhipu AI. First-party HF model card zai-org/glm-4-9b (README sha 8cd2b585), benchmark table: row 'HumanEval', column 'HumanEval': 70.1. Quote: "| GLM-4-9B | **74.7** | **77.1** | **34.3** | **84.0** | **30.4** | **70.1** |". Retrieved 2026-11-20. |
Migration checks
No linked migration route is available for this model yet.