TheaimartAIx DOCS
Home Get API key

SDKs & integrations

AIx is OpenAI-compatible — use the official OpenAI SDKs and any tool that lets you set a custom base URL. There’s no bespoke SDK to install.

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.aix.theaimart.co/v1", api_key="$AIX_KEY")

Node / TypeScript

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.aix.theaimart.co/v1",
  apiKey: process.env.AIX_KEY,
});

LangChain

from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    base_url="https://api.aix.theaimart.co/v1",
    api_key="$AIX_KEY",
    model="anthropic/claude-sonnet-4-6",
)

Coding tools (Cursor, Cline, Continue, Aider)

Anything that accepts an OpenAI-compatible endpoint works. Set:

Base URL:  https://api.aix.theaimart.co/v1
API Key:   tam_your_key_here
Model:     deepseek-ai/DeepSeek-V3.2

Then pick any model from the catalog. AIx handles route health, failover and one consolidated bill — ideal for coding agents.

Anthropic-compatible clients

Clients built around the Messages API can use https://api.aix.theaimart.co as their base URL and call POST /v1/messages. See the complete Messages reference.

Legacy native endpoints

Legacy root paths also exist using an X-API-Key header and a simplified response:

POST /chatcompletions
POST /image-generation
POST /text-to-speech
POST /audio-translation
POST /embeddings
GET  /usage

Prefer the /v1 OpenAI surface for new work.

Last updated July 18, 2026

Was this page helpful?