Skip to documentation
DEVELOPER DOCS / HASHBIDXMODEL ACCESS. ONE INTEGRATION.

THE INTEGRATION GUIDE

SDKs

HashBid is compatible with the official OpenAI and Anthropic SDKs. Simply change the base URL and API key to point at your HashBid instance.

OpenAI SDK (Python)

Works with /v1/chat/completions, /v1/responses, /v1/embeddings, /v1/images/generations, and /v1/models.

Python
from openai import OpenAI

client = OpenAI(
    api_key="<YOUR_API_KEY>",
    base_url="https://hashbidx.ai/v1",
)

# Use exactly like the standard OpenAI SDK
result = client.chat.completions.create(
    model="<MODEL_ID>",
    messages=[{"role": "user", "content": "Hello"}],
)
print(result.choices[0].message.content)

OpenAI SDK (Node.js)

Node.js
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "<YOUR_API_KEY>",
  baseURL: "https://hashbidx.ai/v1",
});

const result = await client.chat.completions.create({
  model: "<MODEL_ID>",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(result.choices[0].message.content);

Anthropic SDK (Python)

For the /v1/messages endpoint. Note: set base_url to the root URL; the SDK appends /v1/messages itself.

Python
import anthropic

client = anthropic.Anthropic(
    api_key="<YOUR_API_KEY>",
    base_url="https://hashbidx.ai",
)

message = client.messages.create(
    model="<MODEL_ID>",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print("".join(block.text for block in message.content if block.type == "text"))

Coding agents and CLIs

Step-by-step setup for Claude Code, Codex, Gemini CLI, OpenCode, and OpenClaw lives under Developer Tools.

Other OpenAI-compatible tools

Any tool that supports a custom OpenAI base URL can connect to HashBid. This includes LobeChat, NextChat, Cursor, Continue, and similar applications. Set the API base to https://hashbidx.ai/v1 and enter your API key. Refer to each tool's documentation for the exact configuration field names.

BUILD WITH HASHBIDX

Find your model. Make your first call.

Models & pricing