Skip to main content
Install the published client from PyPI:
Source and regeneration workflow: zerogpu/SDK on GitHub.

Chat completions (/v1/chat/completions)

For models that use the chat route:
See Chat completions.

Responses with metadata

Pass metadata={...} into create_response when the model supports it. See Responses.

Raw HTTP (requests)

If you prefer not to use the SDK, call the endpoint directly.

Using environment variables

Error handling

Install dependencies