Developer workspace / Integrations
Your next integration.
Choose a model, tailor a request, and take working code into your application.
02
Connect
example.pyPython · server
import os
from openai import OpenAI
client = OpenAI(
base_url="https://b300.powerchampion.ai/v1",
api_key=os.environ["POWERCHAMPION_API_KEY"],
)
response = client.chat.completions.create(
model="glm-5.2-fp8",
messages=[{"role": "user", "content": "Explain how a language model works in three sentences."}],
)
print(response.choices[0].message.content)Before you run
- Install the dependency:
python -m pip install openai - Set POWERCHAMPION_API_KEY as an environment variable on your server.
- Review the inputs, save the example, and run it in your own environment.
Keep API keys on your server; do not embed them in browser code or public repositories.
Base URL
https://b300.powerchampion.ai/v1Model ID
glm-5.2-fp801 / ACCESS
Need an API key?
Request access from the team and fund your prepaid balance.
02 / TROUBLESHOOT
Request not working?
401: check your key. 402: check credit. 429: respect Retry-After. 503: check availability and retry later.
Service status03 / SCALE
A dedicated deployment?
Plan GPU capacity, model hosting, and deployment requirements with the team.
Explore infrastructure