AJ STUDIOZ Cloud Infra implements the full OpenAI-compatible REST API, which means you can use the official OpenAI Python and Node.js SDKs by simply changing the base_url / baseURL and your API key.No new SDK to install. No code rewrites.
response = client.chat.completions.create( model="gemma3:27b", messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "What is the speed of light?"} ], temperature=0.7)print(response.choices[0].message.content)
stream = client.chat.completions.create( model="deepseek-v3.2", messages=[{"role": "user", "content": "Tell me a short story about robots."}], stream=True)for chunk in stream: delta = chunk.choices[0].delta if delta.content: print(delta.content, end="", flush=True)