AIXHUB integration docsClients, APIs, and SDKs
Create an API key, choose a model, configure Codex desktop or Claude Code, and complete a verifiable API request.
Configuration
# config.toml
model_provider = "AIXHUB"
model = "panel-model-id"
[model_providers.AIXHUB]
name = "AIXHUB"
base_url = "https://api.aixhub.org/v1"
wire_api = "responses"
requires_openai_auth = true
# auth.json
{
"auth_mode": "apikey",
"OPENAI_API_KEY": "sk-your-key"
}Verification
Codex desktop will connect through the Responses protocol while the credential stays separate from provider settings.
Configuration
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.aixhub.org",
"ANTHROPIC_AUTH_TOKEN": "sk-your-key",
"ANTHROPIC_API_KEY": "sk-your-key",
"ANTHROPIC_MODEL": "panel-model-id"
}
}Verification
Claude Code will use the Anthropic compatible protocol with a root Base URL that does not include /v1.
Configuration
# config.toml
model_provider = "AIXHUB"
model = "panel-model-id"
[model_providers.AIXHUB]
name = "AIXHUB"
base_url = "https://api.aixhub.org/v1"
wire_api = "responses"
requires_openai_auth = true
# auth.json
{
"OPENAI_API_KEY": "sk-your-key"
}Verification
Codex CLI will read the key from a separate auth.json file and use the Responses provider.
Configuration
curl https://api.aixhub.org/v1/responses \
-H "Authorization: Bearer $AIXHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "panel-model-id",
"input": "Reply with AIXHUB connected."
}'Verification
The request uses a model placeholder. Replace it with a currently available model ID from the console before sending.
Continue with your next task
From integration to error checks, every guide is organized around a concrete outcome.
Integration paths
Choose an SDK or native API, then complete your first request.
Popular clients
Configure the CLI or desktop app you actually use.
Protocols and model families
Choose the correct endpoint for each client protocol.
Panel features
Review balances, keys, usage, and available channels.
Errors and verification
Confirm success, then diagnose problems by status code.