Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Z.ai SDKs - 2 languages recorded

Z.ai SDKs by language

Z.ai ships official SDKs for Python and Java.

Docs also include an 'OpenAI Python SDK' guide: 'Z.AI provides interfaces compatible with OpenAI API, which means you can use existing OpenAI SDK code and seamlessly switch to Z.AI's model services by simply modifying the API key and base URL.'

Verified against each provider's own SDK docs and package registry pages. Status labels are the provider's own; no version numbers are recorded.

Z.ai's SDK docs: docs.z.ai/guides/develop/python/introduction. Compare every provider in the SDK grid.

Official
the provider's own SDK.
Beta
the provider's own SDK, which it labels beta (Fireworks AI says alpha).
OpenAI SDK
the provider's docs point to the OpenAI SDK for this language.
Community
a library the provider's docs link but do not ship. Not official.
None
the provider's SDK docs list no SDK for this language.
-
Not recorded: no entry in the data for this language.

Java

Official SDK
Package
ai.z.openapi:zai-sdk
Install
Install
implementation 'ai.z.openapi:zai-sdk:VERSION'

VERSION stands for the version the docs pin. Pin the current release from the package registry.

Repo
github.com/zai-org/z-ai-sdk-java
Docs
docs.z.ai/guides/develop/java/introduction
Notes
Gradle line verbatim except the pinned version, replaced with VERSION; a Maven block is also given.

From the docs

Z.AI Java SDK is the official Java development toolkit provided by Z.AI, offering Java developers convenient and efficient AI model integration solutions.
docs.z.ai/guides/develop/java/introduction
Java SDKs from every provider

Not recorded

The data has no entry for Z.ai in these languages. Z.ai's SDK docs are linked for a direct check.

More on Z.ai

Newsletter

Know when a provider ships a new SDK

One email per week. New models, new SDKs and the API changes that break your client, and what they mean for your stack.