Last refreshed 2026-09-24. Next refresh: weekly.
Why use GLM 4.7 on Featherless?
Featherless offers GLM 4.7 with pay-as-you-go pricing at $0.55/1M input tokens. Featherless is a serverless inference provider for a large catalog of third-party open text-generation models (40,000+).
Compare GLM 4.7 across 4 providers to find the best fit for your use caseInput / 1M
$0.55
Output / 1M
$2.20
Cache
Not sourced
Batch
Not sourced
Setup recipe
Python + curlInstall
pip install openaiAuth
export FEATHERLESS_API_KEY=...Call
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.featherless.ai/v1",Model ID
zai-org/GLM-4.7Request example
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.featherless.ai/v1",
api_key=os.environ["FEATHERLESS_API_KEY"],
)
response = client.chat.completions.create(
model="zai-org/GLM-4.7",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Gotchas
- Use provider model ID "zai-org/GLM-4.7", not the LLMReference slug "glm-4.7".
- Use exact Featherless catalog id in modelProvider.providerModelId (HF-style org/name). Not interchangeable with LLM Reference slugs.
- The examples expect FEATHERLESS_API_KEY; rename it only if your application config maps the new variable.
Compare GLM 4.7 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Fireworks AI | $0.60 | $2.20 |
| Vercel AI Gateway | $2.25 | $2.75 |
| Novita AI | $0.60 | $2.20 |
| Featherless | $0.55 | $2.20 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.55 |
| Output tokens | $2.20 |
Capabilities
JSON / Tool useStructured OutputsCode Execution
About GLM 4.7
GLM-4.7 is Z.ai's flagship text model featuring enhanced programming capabilities and deeper reasoning at 200K context, succeeding GLM-4.6.
Get Started
Model Specs
Released2026-03-01
Parameters358B (32B active)
Context200k
ArchitectureDecoder Only