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

Model discovery

List models

Returns the model catalog available to your account. The model value in an inference request is an item's id. The response also carries the Anthropic list fields (has_more, first_id, last_id), so both official SDKs can parse it.

GET/v1/models

Key request parameters

ParameterTypeDescription

Key response parameters

ParameterTypeDescription
objectstringAlways list
dataModelObject[]Array of model objects
data[].idstringModel ID — the value to pass as model in inference requests
data[].objectstringAlways model
data[].createdintegerAlways 0; the catalog does not track creation time
data[].owned_bystringAlways hashbid
data[].model_icon_urlstringOptional model icon URL; omitted when unset
data[].max_output_tokensintegerOptional output token ceiling; omitted when the route carries no limit

Integration examples

Replace the API key and model ID in these examples with your values.

cURL
cURL
curl https://hashbidx.ai/v1/models \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Python
Python
from openai import OpenAI
client = OpenAI(api_key="<YOUR_API_KEY>", base_url="https://hashbidx.ai/v1")
for model in client.models.list().data:
    print(model.id)
Node.js
Node.js
import OpenAI from "openai";

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

const models = await client.models.list();
console.log(models.data.map((model) => model.id));
Go
Go
req, _ := http.NewRequest("GET", "https://hashbidx.ai/v1/models", nil)
req.Header.Set("Authorization", "Bearer <YOUR_API_KEY>")
resp, err := http.DefaultClient.Do(req)
Rust
Rust
let models = reqwest::Client::new()
    .get("https://hashbidx.ai/v1/models")
    .bearer_auth("<YOUR_API_KEY>")
    .send().await?.json::<serde_json::Value>().await?;

If the response includes X-Request-Id, include it when troubleshooting an issue.

All API endpoints
BUILD WITH HASHBIDX

Find your model. Make your first call.

Models & pricing