GLM-4 9B
GLM-4 9B is worth evaluating for long context when its provider route and context window match the workload.
Use it for
- Teams evaluating long context
- Workloads that can use a 131k context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- Vision or document-understanding workloads
- Strict JSON or tool-calling flows
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.
GLM-4 9B is an open-source model in the GLM-4 family. The structured metadata tracks a 131k-token context window. This page tracks provider routes through Fireworks AI, Bitdeer AI, AWS Bedrock, and 1 more, with the cheapest tracked route listed at $0.1 input and $0.1 output per 1M tokens. No headline benchmark score is tracked for GLM-4 9B yet.
Top use-case fit
Long context
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 4Compare API pricing across 4 providers 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 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
AIRouter
RouterCommercial LLM router that analyzes incoming requests and routes to the optimal model for cost/quality/latency via a drop-in OpenAI-compatible API, with a privacy-preserving embedding mode that avoids sending prompt content.
Amazon Bedrock Intelligent Prompt Routing
RouterAWS Bedrock's native intelligent prompt router that routes prompts between Anthropic Claude model tiers (Haiku/Sonnet) based on predicted task complexity, with no extra per-routing charge.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Capabilities
No model capability flags are currently sourced.
Benchmark peer barsfor Long context
No task-mapped benchmark peers are available for this model yet.
Migration checks
No linked migration route is available for this model yet.
Frequently asked questions
What is the context window of GLM-4 9B?
GLM-4 9B has a context window of 131k tokens.
How much does GLM-4 9B cost?
GLM-4 9B pricing ranges from $0.10/1M to $0.2/1M input tokens depending on the provider.
When was GLM-4 9B released?
GLM-4 9B was released on 2024-06-05.
Which providers offer GLM-4 9B?
GLM-4 9B is available from 4 providers: Fireworks AI, Bitdeer AI, AWS Bedrock, GCP Vertex AI.
Cheapest of 4 routes · AWS Bedrock