Setup guides / OpenAI SDK
OpenAI SDK
Anthropic-style tools (Claude Code)
https://api.bidgrow.shopOpenAI-style tools (Codex, Cursor, SDKs)
https://api.bidgrow.shop/v1Base URL: https://api.bidgrow.shop/v1
Python
pip install openaifrom openai import OpenAI
client = OpenAI(
base_url="https://api.bidgrow.shop/v1",
api_key="sk-your-key",
)
resp = client.chat.completions.create(
model="claude-opus-5-5",
messages=[{"role": "user", "content": "Say hello"}],
)
print(resp.choices[0].message.content)Streaming:
stream = client.chat.completions.create(
model="claude-opus-5-5",
messages=[{"role": "user", "content": "Count to 5"}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")Node.js
npm install openaiimport OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.bidgrow.shop/v1",
apiKey: process.env.BIDGROW_API_KEY, // sk-...
});
const resp = await client.chat.completions.create({
model: "claude-opus-5-5",
messages: [{ role: "user", content: "Say hello" }],
});
console.log(resp.choices[0].message.content);Environment variables instead of code
macOS / Linux:
export OPENAI_BASE_URL="https://api.bidgrow.shop/v1"
export OPENAI_API_KEY="sk-your-key"Windows PowerShell:
$env:OPENAI_BASE_URL = "https://api.bidgrow.shop/v1"
$env:OPENAI_API_KEY = "sk-your-key"List your models
for m in client.models.list():
print(m.id)Only the models allowed on your key are returned.
Notes
- Use model names from your key (see https://bidgrow.shop/check);
claude-opus-5-5is a placeholder. - Keys activate on first use; validity starts then. Usage: https://bidgrow.shop/check.
Verification status
base_url / baseURL and OPENAI_BASE_URL are standard official SDK options. The Responses API (client.responses.create) is not guaranteed on every model; prefer chat completions.