From a4230d48f457fd73f12da9ebf0bbd4e4c469dc2d Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 25 Sep 2025 19:25:07 +0800 Subject: [PATCH 1/5] doc: add zai as inference provider doc --- docs/inference-providers/_toctree.yml | 2 ++ docs/inference-providers/index.md | 1 + .../inference-providers/scripts/generate.ts | 2 ++ .../templates/providers/zai.handlebars | 24 +++++++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 scripts/inference-providers/templates/providers/zai.handlebars diff --git a/docs/inference-providers/_toctree.yml b/docs/inference-providers/_toctree.yml index 27fe0a528..853feb896 100644 --- a/docs/inference-providers/_toctree.yml +++ b/docs/inference-providers/_toctree.yml @@ -107,6 +107,8 @@ title: Scaleway - local: providers/together title: Together + - local: providers/zai + title: Z AI - local: hub-api title: Hub API diff --git a/docs/inference-providers/index.md b/docs/inference-providers/index.md index 6e4529de3..cee884e86 100644 --- a/docs/inference-providers/index.md +++ b/docs/inference-providers/index.md @@ -29,6 +29,7 @@ Our platform integrates with leading AI infrastructure providers, giving you acc | [SambaNova](./providers/sambanova) | ✅ | | ✅ | | | | | [Scaleway](./providers/scaleway) | ✅ | | ✅ | | | | | [Together](./providers/together) | ✅ | ✅ | | ✅ | | | +| [Z AI](./providers/zai) | ✅ | | | | | | ## Why Choose Inference Providers? diff --git a/scripts/inference-providers/scripts/generate.ts b/scripts/inference-providers/scripts/generate.ts index 6a04012b0..c66109f9e 100644 --- a/scripts/inference-providers/scripts/generate.ts +++ b/scripts/inference-providers/scripts/generate.ts @@ -49,6 +49,7 @@ const PROVIDERS_HUB_ORGS: Record = { sambanova: "sambanovasystems", scaleway: "scaleway", together: "togethercomputer", + zai: "zai-org" }; const PROVIDERS_URLS: Record = { @@ -68,6 +69,7 @@ const PROVIDERS_URLS: Record = { sambanova: "https://sambanova.ai/", scaleway: "https://www.scaleway.com", together: "https://together.xyz/", + zai: "https://z.ai/" }; const INFERENCE_PROVIDERS = Object.keys(PROVIDERS_HUB_ORGS); diff --git a/scripts/inference-providers/templates/providers/zai.handlebars b/scripts/inference-providers/templates/providers/zai.handlebars new file mode 100644 index 000000000..f231e65b8 --- /dev/null +++ b/scripts/inference-providers/templates/providers/zai.handlebars @@ -0,0 +1,24 @@ +# Z.ai + + + +All supported Z.ai models can be found [here](https://huggingface.co/models?inference_provider=zai&sort=trending) + + + +{{{logoSection}}} + +{{{followUsSection}}} + +Z.ai is an AI platform that provides cutting-edge large language models powered by GLM series. Their flagship models feature Mixture-of-Experts (MoE) architecture with advanced reasoning, coding, and agentic capabilities. + +For latest pricing, visit the [pricing page](https://docs.z.ai/guides/overview/pricing). + +## Resources + - **Website**: https://z.ai/ + - **Documentation**: https://docs.z.ai/ + - **API Documentation**: https://docs.z.ai/api-reference/introduction + - **GitHub**: https://github.com/zai-org + - **Hugging Face**: https://huggingface.co/zai-org + +{{{tasksSection}}} \ No newline at end of file From c95fed9de31aaca09fe13ca126beaa4001b53360 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Sat, 27 Sep 2025 10:17:29 +0800 Subject: [PATCH 2/5] update --- docs/inference-providers/_toctree.yml | 4 ++-- docs/inference-providers/index.md | 2 +- scripts/inference-providers/scripts/generate.ts | 4 ++-- .../providers/{zai.handlebars => zai-org.handlebars} | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename scripts/inference-providers/templates/providers/{zai.handlebars => zai-org.handlebars} (90%) diff --git a/docs/inference-providers/_toctree.yml b/docs/inference-providers/_toctree.yml index 853feb896..d39278584 100644 --- a/docs/inference-providers/_toctree.yml +++ b/docs/inference-providers/_toctree.yml @@ -107,8 +107,8 @@ title: Scaleway - local: providers/together title: Together - - local: providers/zai - title: Z AI + - local: providers/zai-org + title: Z.ai - local: hub-api title: Hub API diff --git a/docs/inference-providers/index.md b/docs/inference-providers/index.md index cee884e86..090d9ebad 100644 --- a/docs/inference-providers/index.md +++ b/docs/inference-providers/index.md @@ -29,7 +29,7 @@ Our platform integrates with leading AI infrastructure providers, giving you acc | [SambaNova](./providers/sambanova) | ✅ | | ✅ | | | | | [Scaleway](./providers/scaleway) | ✅ | | ✅ | | | | | [Together](./providers/together) | ✅ | ✅ | | ✅ | | | -| [Z AI](./providers/zai) | ✅ | | | | | | +| [Z.ai](./providers/zai-org) | ✅ | ✅ | | | | | ## Why Choose Inference Providers? diff --git a/scripts/inference-providers/scripts/generate.ts b/scripts/inference-providers/scripts/generate.ts index c66109f9e..da14ea24e 100644 --- a/scripts/inference-providers/scripts/generate.ts +++ b/scripts/inference-providers/scripts/generate.ts @@ -49,7 +49,7 @@ const PROVIDERS_HUB_ORGS: Record = { sambanova: "sambanovasystems", scaleway: "scaleway", together: "togethercomputer", - zai: "zai-org" + "zai-org": "zai-org" }; const PROVIDERS_URLS: Record = { @@ -69,7 +69,7 @@ const PROVIDERS_URLS: Record = { sambanova: "https://sambanova.ai/", scaleway: "https://www.scaleway.com", together: "https://together.xyz/", - zai: "https://z.ai/" + "zai-org": "https://z.ai/" }; const INFERENCE_PROVIDERS = Object.keys(PROVIDERS_HUB_ORGS); diff --git a/scripts/inference-providers/templates/providers/zai.handlebars b/scripts/inference-providers/templates/providers/zai-org.handlebars similarity index 90% rename from scripts/inference-providers/templates/providers/zai.handlebars rename to scripts/inference-providers/templates/providers/zai-org.handlebars index f231e65b8..11f7ef141 100644 --- a/scripts/inference-providers/templates/providers/zai.handlebars +++ b/scripts/inference-providers/templates/providers/zai-org.handlebars @@ -2,7 +2,7 @@ -All supported Z.ai models can be found [here](https://huggingface.co/models?inference_provider=zai&sort=trending) +All supported Z.ai models can be found [here](https://huggingface.co/models?inference_provider=zai-org&sort=trending) @@ -21,4 +21,4 @@ For latest pricing, visit the [pricing page](https://docs.z.ai/guides/overview/p - **GitHub**: https://github.com/zai-org - **Hugging Face**: https://huggingface.co/zai-org -{{{tasksSection}}} \ No newline at end of file +{{{tasksSection}}} From 6206698c3933ee2d671421c7492cad4b8698dd2a Mon Sep 17 00:00:00 2001 From: SBrandeis Date: Mon, 29 Sep 2025 10:50:13 +0200 Subject: [PATCH 3/5] generate z.ai --- docs/inference-providers/providers/zai-org.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 docs/inference-providers/providers/zai-org.md diff --git a/docs/inference-providers/providers/zai-org.md b/docs/inference-providers/providers/zai-org.md new file mode 100644 index 000000000..ee345153f --- /dev/null +++ b/docs/inference-providers/providers/zai-org.md @@ -0,0 +1,55 @@ + + +# Z.ai + + + +All supported Z.ai models can be found [here](https://huggingface.co/models?inference_provider=zai-org&sort=trending) + + + + + + + +Z.ai is an AI platform that provides cutting-edge large language models powered by GLM series. Their flagship models feature Mixture-of-Experts (MoE) architecture with advanced reasoning, coding, and agentic capabilities. + +For latest pricing, visit the [pricing page](https://docs.z.ai/guides/overview/pricing). + +## Resources + - **Website**: https://z.ai/ + - **Documentation**: https://docs.z.ai/ + - **API Documentation**: https://docs.z.ai/api-reference/introduction + - **GitHub**: https://github.com/zai-org + - **Hugging Face**: https://huggingface.co/zai-org + +## Supported tasks + + From 3aff183642bfb5af1d30067d909953891cbfe09f Mon Sep 17 00:00:00 2001 From: Wauplin Date: Mon, 29 Sep 2025 10:53:29 +0200 Subject: [PATCH 4/5] rerun zai docs --- docs/inference-providers/providers/zai-org.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/inference-providers/providers/zai-org.md b/docs/inference-providers/providers/zai-org.md index ee345153f..3adfa3094 100644 --- a/docs/inference-providers/providers/zai-org.md +++ b/docs/inference-providers/providers/zai-org.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Z.ai - - -All supported Z.ai models can be found [here](https://huggingface.co/models?inference_provider=zai-org&sort=trending) - - +> [!TIP] +> All supported Z.ai models can be found [here](https://huggingface.co/models?inference_provider=zai-org&sort=trending)