BXSWSSMBDX 在 huggingface API 限时免费使用GLM-5.2 中发帖
Hugging Face – The AI community building the future. 获取 HF_TOKEN
在 opencode 中使用,只需在 `opencode.json` 的 `provider` 中添加:
```json
“huggingface”: {
“npm”: “@ai-sdk/openai-compatible”,
“name”: “HuggingFace”,
“options”: {
"baseURL": "https://router.huggingface.co/v1",
"apiKey": "HF_TOKEN"
},
“models”: {
"zai-org/GLM-5.2": {
"name": "GLM-5.2"
},
"zai-org/GLM-5.2-FP8": {
"name": "GLM-5.2...