GET
/v1/models/huggingface/huggingface-zai-org-glm-4-6
Accept:
| rawId | zai-org/GLM-4.6 |
| displayName | — |
| id | huggingface-zai-org-glm-4-6 |
| activity | chat |
| firstSeenAt | 1759170171 — Sep 29, 2025 |
| lastSeenAt | 1795427432 — 10m ago |
| contextWindow | 198000 |
| modalities | {"input":["text"],"output":["text"]} |
| pricing | {"inputs":{"input_tokens":{"param":"input_tokens","bound":"usage","kind":"number"},"output_tokens":{"param":"output_tokens","bound":"usage","kind":"number"}},"tables":{"rate":{"base":{"input_tokens":4.3e-7,"output_tokens":0.00000175}}},"price":{"+":[{"if":[{">":[{"var":"input_tokens"},0]},{"*":[{"var":"input_tokens"},{"lookup":{"table":"rate","keys":["base","input_tokens"]}}]},0]},{"if":[{">":[{"var":"output_tokens"},0]},{"*":[{"var":"output_tokens"},{"lookup":{"table":"rate","keys":["base","output_tokens"]}}]},0]}]},"examples":[],"source":{"url":"https://router.huggingface.co/v1/models","hash":"1ef15b7685276f5d01e146b45adc519329ce93e01c5a92a14a5fda86933f7963","extractedAt":"2026-11-23T09:02:40.033Z"}} |
| capabilities | {"tools":true,"structured_outputs":true,"response_format":true} |
| maxOutput | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/huggingface →| endpoint | activity | schemas |
|---|---|---|
| v1/chat/completions | chat | requestinput responseoutput |
Use it
shell
$ curl https://modelschemas.com/v1/schemas/huggingface/chat/v1%2Fchat%2Fcompletions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"huggingface","endpointId":"v1/chat/completions","payload":{…}}'