Skip to content
SolidRusT.ai

SDK Overview

There is no first-party solidrust-ai / @solidrust/ai package today. Those names were “Coming Soon” with no issue and no roadmap item. That is fixed: they are tracked as Later work.

LanguageWhat you use nowFirst-party SDK
PythonOfficial openai SDK#1
JavaScript/TypeScriptOfficial openai SDK#2
curlHTTPS

OpenAI-compatible chat and embeddings. Change the base URL. Data-layer (/data/v1/...) is a separate REST surface — not in the OpenAI client.

from openai import OpenAI
client = OpenAI(
api_key="YOUR_SOLIDRUST_API_KEY",
base_url="https://api.solidrust.ai/v1"
)
response = client.chat.completions.create(
model="vllm-primary", # Gemma 4 12B IT QAT
messages=[{"role": "user", "content": "Hello!"}]
)
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_SOLIDRUST_API_KEY',
baseURL: 'https://api.solidrust.ai/v1',
});
const response = await client.chat.completions.create({
model: 'vllm-primary', // Gemma 4 12B IT QAT
messages: [{ role: 'user', content: 'Hello!' }],
});

See SDK Usage for streaming, embeddings, and curl.