SDKs

General Compute SDKs

Official client libraries for the General Compute inference API. Both wrap the OpenAI-compatible HTTPS API and add typed helpers.

Python

pip install generalcompute
from generalcompute import GeneralCompute

client = GeneralCompute(api_key="your-gc-api-key")

response = client.chat.completions.create(
    model="gpt-oss-120b",
    messages=[{"role": "user", "content": "Hello"}],
)

Package on PyPI: pypi.org/project/generalcompute

Node

npm install generalcompute
import GeneralCompute from "generalcompute";

const client = new GeneralCompute({ apiKey: process.env.GC_API_KEY });

const response = await client.chat.completions.create({
  model: "gpt-oss-120b",
  messages: [{ role: "user", content: "Hello" }],
});

Package on npm: npmjs.com/package/generalcompute

More

ModeHumanAgent
General Compute SDKs | General Compute