agentCLAWHUBUnverified

glm

Call the GLM API (GLM 5.3 and earlier GLM 5 and 4 series) through RunAPI using OpenAI-compatible Chat Completions. Use for GLM text chat, streaming, or an existing compatibility client that needs the conditional reference.

OpenClaw

Rank

62

Safety

84

Downloads

1.1k

Updated

Oct 11, 2026

Version

0.3.3

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1.1K downloadsadoption · observed Oct 11, 2026
Latest release
0.3.3release · observed Sep 7, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-glm
  1. Install using `clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-glm` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/runapi-ai/runapi-glm before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-glm/snapshot"

Documentation

CLAWHUB

47,251 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: glm
description: Call the GLM API (GLM 5.3 and earlier GLM 5 and 4 series) through RunAPI using OpenAI-compatible Chat Completions. Use for GLM text chat, streaming, or an existing compatibility client that needs the conditional reference.
documentation: https://runapi.ai/models/glm.md
provider_page: https://runapi.ai/providers/z-ai.md
catalog: https://runapi.ai/models.md
metadata:
  openclaw:
    homepage: https://runapi.ai/models/glm
    primaryEnv: OPENAI_API_KEY
    requires:
      env: [OPENAI_API_KEY, OPENAI_BASE_URL]
    envVars:
    - {name: OPENAI_API_KEY, required: true, description: RunAPI API key used by OpenAI-compatible GLM clients.}
    - {name: OPENAI_BASE_URL, required: true, description: Set to https://runapi.ai/v1 for GLM on RunAPI.}
---

# GLM on RunAPI

Use OpenAI-compatible Chat Completions at `https://runapi.ai/v1` as the primary protocol.

## Primary protocol recipe

### Authenticate

Set `OPENAI_API_KEY` to a RunAPI API key and `OPENAI_BASE_URL` to `https://runapi.ai/v1`.

### Send request

```python
from openai import OpenAI
client = OpenAI(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai/v1")
response = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "Summarize this review."}],
)
print(response.choices[0].message.content)
print(response.usage)
```

For long output, call the same method with `stream=True` and
`stream_options={"include_usage": True}`; consume every chunk through `[DONE]`.

### Verify result

Require final assistant content, a terminal `finish_reason`, and authoritative
`usage`. A stream is complete only after its terminal usage chunk and `[DONE]`.

### Stop boundaries

Correct a rejected shape once using the structured error. Retry transport once
only before any response or Usage and when replay is safe. Record a terminal
error and stop without changing model or protocol. For `glm-5.3`, keep requests
to text history on Chat Completions. Add tools, reasoning, structured output, or
multimodal input only when the current RunAPI contract explicitly verifies that
capability.

## Compatibility protocols

Do not use compatibility protocols with `glm-5.3`; use the primary recipe.
Load [compatibility protocols](references/compatibility-protocols.md) only when an existing client requires Anthropic Messages or Gemini contents for an earlier compatible model.

## GLM-5.3 capability boundary

| Capability | Current behavior |
|---|---|
| Text history, sync, streaming | Supported through OpenAI-compatible Chat Completions |
| OpenAI Responses, Anthropic Messages, Gemini contents | Not supported for `glm-5.3` |
| Tools, reasoning controls, structured output, multimodal input | Not declared pending model-specific evidence |
| Usage | Preserve returned token and cache fields; never infer missing details |

## Supported models

| Model ID | Use when |
|---|---|
| `glm-5.3` | Latest text workloads through Chat Completions |
| `glm-5.2` | Cross-protocol flagshi

_meta.json

{
  "ownerId": "kn70me4rk7jqjt92evshjeb5z18768g7",
  "slug": "runapi-glm",
  "version": "0.3.3",
  "publishedAt": 1788778895909
}

references/compatibility-protocols.md

# GLM compatibility protocols

Load this reference only for an existing Anthropic Messages or Gemini contents client.

`glm-5.3` is not supported on these compatibility protocols. Use
OpenAI-compatible Chat Completions for that model, or select an earlier model
whose current RunAPI capability contract supports the required protocol.

For Messages, use base URL `https://runapi.ai`, a RunAPI key, a supported exact
model ID, `max_tokens`, and text messages. Verify final content, `stop_reason`,
and `usage`; streaming ends at `message_stop`.

For Gemini contents, set `RUNAPI_MODEL` to a supported exact model ID and use
`https://runapi.ai/v1beta/models/$RUNAPI_MODEL:generateContent`
or `streamGenerateContent` with `x-goog-api-key`. Verify candidates,
`finishReason`, and `usageMetadata`.

Apply one evidence-backed shape correction, at most one safe pre-response
transport retry, and no automatic model or protocol hopping.

skill-card.md

## Description:

Call the GLM API (GLM 5.3 and earlier GLM 5 and 4 series) through RunAPI using OpenAI-compatible Chat Completions. Use for GLM text chat, streaming, or an existing compatibility client that needs the conditional reference.

This skill is ready for commercial/non-commercial use.

## Publisher:

[runapi-ai](https://clawhub.ai/user/runapi-ai)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to call GLM models through RunAPI with OpenAI-compatible Chat Completions, including text chat and streaming workflows. Existing compatibility-client users can consult the conditional reference for earlier GLM models.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Sensitive prompts or credentials may be sent to RunAPI when the agent follows the API recipe.

Mitigation: Configure OPENAI_API_KEY and OPENAI_BASE_URL deliberately and review RunAPI data handling terms before sending sensitive prompts.

Risk: Using compatibility protocols or undeclared capabilities with glm-5.3 can produce rejected or unreliable requests.

Mitigation: Use OpenAI-compatible Chat Completions for glm-5.3 and add tools, reasoning controls, structured output, multimodal input, or alternate protocols only when RunAPI explicitly verifies support.

## Reference(s):

- [RunAPI GLM model documentation](https://runapi.ai/models/glm.md)
- [RunAPI GLM model page](https://runapi.ai/models/glm)
- [RunAPI Z.AI provider page](https://runapi.ai/providers/z-ai.md)
- [RunAPI model catalog](https://runapi.ai/models.md)
- [GLM compatibility protocols](references/compatibility-protocols.md)

## Skill Output:

**Output Type(s):** [Guidance, Code, Shell commands, Configuration instructions]

**Output Format:** [Markdown with inline Python examples and configuration values]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires OPENAI_API_KEY and OPENAI_BASE_URL for RunAPI usage.]

## Skill Version(s):

0.3.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/runapi-ai/skills/runapi-glm",
      "sourceUrl": "https://clawhub.ai/runapi-ai/skills/runapi-glm",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T11:15:33.490Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-glm/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-glm/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T11:15:33.490Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.1K downloads",
      "href": "https://clawhub.ai/runapi-ai/runapi-glm",
      "sourceUrl": "https://clawhub.ai/runapi-ai/runapi-glm",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T11:15:33.490Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "0.3.3",
      "href": "https://clawhub.ai/runapi-ai/runapi-glm",
      "sourceUrl": "https://clawhub.ai/runapi-ai/runapi-glm",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-07T11:01:35.909Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-glm/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-glm/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 0.3.3",
      "description": "## Added - Document glm-5.3 text and streaming requests through OpenAI-compatible Chat Completions.",
      "href": "https://clawhub.ai/runapi-ai/runapi-glm",
      "sourceUrl": "https://clawhub.ai/runapi-ai/runapi-glm",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-07T11:01:35.909Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to glm and adjacent AI workflows.