PlatformIntegrations

Developer workspace / Integrations

Your next integration.

Choose a model, tailor a request, and take working code into your application.

API documentation
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

  1. Install the dependency: python -m pip install openai
  2. Set POWERCHAMPION_API_KEY as an environment variable on your server.
  3. 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 URLhttps://b300.powerchampion.ai/v1
Model IDglm-5.2-fp8

01 / 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 status
03 / SCALE

A dedicated deployment?

Plan GPU capacity, model hosting, and deployment requirements with the team.

Explore infrastructure