SCX.ai Documentation
Everything you need to integrate with the SCX.ai API.
Quick Start
Make your first API request in minutes. Install the OpenAI SDK, set your base URL, and start generating.
Browse modelsfrom openai import OpenAI
client = OpenAI(
base_url="https://api.scx.ai/v1",
api_key="your-scx-api-key",
)
response = client.chat.completions.create(
model="MiniMax-M2.7",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)from openai import OpenAI
client = OpenAI(
base_url="https://api.scx.ai/v1",
api_key="your-scx-api-key",
)
response = client.chat.completions.create(
model="MiniMax-M2.7",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)Integrations
4 integrationsClaude Code
Run Claude Code on SCX.ai models through the Anthropic-compatible Messages API.
Codex
Point the Codex CLI at SCX.ai through the OpenAI-compatible Responses API.
OpenCode
Wire OpenCode's coding agents to SCX.ai — one key for planning and execution.
TrueFoundry
Route SCX.ai through TrueFoundry AI Gateway as a Custom Endpoint.
Guides
14 guidesApex-1 Decisions
Ask Apex-1 yes/no, multiple-choice and scored questions, and act on calibrated answers.
Audio
Transcribe and translate audio with Whisper.
Batches
Process large volumes of API requests asynchronously as a single batch job.
Embeddings
Generate embeddings for search, clustering, and classification.
Endpoints & Rate Limits
API endpoints, request size caps, and rate/spend limits.
Function calling
Connect models to external tools and data sources.
Guardrails
Block, redact or flag text in your organisation's requests and responses.
OpenAI compatibility
Use existing OpenAI client libraries with SCX.ai.
Speech
Convert text to natural-sounding speech.
Structured Outputs
Ensure model output adheres to a specific JSON schema.
Text generation
Use the API to read and generate text with available models.
Vapi
Vector stores
Create vector stores, upload documents, and perform semantic similarity search.
Vision
Use a model's vision capabilities to analyse images and video.