Point Python at Pareto's OpenAI-compatible API to run GLM 5.3 Flash, DeepSeek V4.1 Flash and MiMo V2.6 Flash on Pareto GPUs. Pay per token from one prepaid balance.
Setup
Get an API key in the dashboard, then add this to your SDK.
Install the OpenAI Python SDK and set PARETO_API_KEY in your environment.
example.pyPython
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.paretoinference.com/v1",
api_key=os.environ["PARETO_API_KEY"],
)
response = client.chat.completions.create(
model="z-ai/glm-5.3-flash",
messages=[{"role": "user", "content": "Hello, Pareto."}],
stream=True,
)
for chunk in response:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")Models