Integration guides

1pkapi uses an OpenAI-compatible API surface. Start with a separate API key and a model ID returned for that key. All keys and model IDs in these examples are placeholders.

SDK integrations

EnvironmentGuideUse case
PythonOpenAI Python SDKScripts, backends, and server-side applications.
Node.jsOpenAI Node.js SDKJavaScript or TypeScript server-side applications.

Streaming

Read streaming responses only after a short non-streaming request succeeds. Applications should consume the stream continuously and handle a disconnected client safely.

Model discovery

Read the model list before setting a model ID in code. Availability is based on the current key and service state, not an enduring public promise.

Do not send full keys, full recharge codes, or request content containing sensitive data to third parties while troubleshooting.