# GLM 5 (5.3) API — API Store Hub Technical Datasheet

> Canonical web pages: https://apistorehub.com/vi/models/glm-5 | https://apistorehub.com/en/models/glm-5. Family: Zhipu GLM. Active lanes: 1. Primary model ID: `apistorehub/glm-5`. Billing unit: 1 ST = 1 VND (1 USD = 23,000 ST).

## Live Lanes & Pricing

| Model ID | Lane | API | Billing | Price (ST / VND) | Min / Request | Context | Max Output | Capabilities |
|---|---|---|---|---|---|---|---|---|
| `apistorehub/glm-5` | aws | openai | token | 15.100 ST / 1M tok | 200 ST | 200k | 64k | AWS, Premium, Streaming, Vision, Tool use, Reasoning, 200k context, OpenAI API |

## Technical Specifications

- Canonical slug: `glm-5`
- Primary model ID: `apistorehub/glm-5`
- Family: Zhipu GLM
- Primary protocol endpoint: `POST https://apistorehub.com/v1/chat/completions` and `POST https://apistorehub.com/v1/responses` (OpenAI-compatible)
- Context window: 200k
- Max output tokens: 64k
- Authentication: `Authorization: Bearer sk-ash-YOUR_KEY` (or `x-api-key: sk-ash-YOUR_KEY` for Anthropic Messages)

## Integration Code Examples

### cURL
```bash
curl https://apistorehub.com/v1/chat/completions \
  -H "Authorization: Bearer sk-ash-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"apistorehub/glm-5","messages":[{"role":"user","content":"Xin chào"}]}'
```

### Python
```python
from openai import OpenAI

client = OpenAI(
    base_url="https://apistorehub.com/v1",
    api_key="sk-ash-YOUR_KEY",
)
resp = client.chat.completions.create(
    model="apistorehub/glm-5",
    messages=[{"role": "user", "content": "Xin chào"}],
)
print(resp.choices[0].message.content)
```

### TypeScript
```typescript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://apistorehub.com/v1",
  apiKey: "sk-ash-YOUR_KEY",
});
const resp = await client.chat.completions.create({
  model: "apistorehub/glm-5",
  messages: [{ role: "user", content: "Xin chào" }],
});
console.log(resp.choices[0]?.message?.content);
```

### Claude Code CLI
```bash
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-YOUR_KEY"
export ANTHROPIC_MODEL="apistorehub/glm-5"
claude
```

## Web Pages & Related Resources

- Web Datasheet (VI): https://apistorehub.com/vi/models/glm-5
- Web Datasheet (EN): https://apistorehub.com/en/models/glm-5
- Provider Hub: https://apistorehub.com/vi/api-ai | https://apistorehub.com/llms/pricing.md
- All Models Directory: https://apistorehub.com/llms/models.md
- Live Pricing Table: https://apistorehub.com/vi/pricing
- Model Comparisons: https://apistorehub.com/llms/compare.md
- CLI Setup Guide: https://apistorehub.com/vi/docs/apps/api-cli

Last updated: 2026-12-06