π—π€πˆ π—π€ππˆ

π‘€π‘Žπ‘›π‘Žπ‘”π‘’π‘šπ‘’π‘›π‘‘ πΆπ‘œπ‘›π‘ π‘œπ‘™π‘’

Don't have an account?Sign up now·User Manual

A verification code and API key will be sent to this email. (May be delayed or in spam.)

Verification Code Sent!

Please click the activation link in your email to complete registration.

May be delayed or in spam.

Already have an account? Login now

Β© 2022-2025 XABC Labs

π—π€πˆ π—π€ππˆ

XAI Model List

Please visit to see all supported models

🌐 Supported AI Service Providers

OpenAI

platform.openai.com/docs

Anthropic

docs.anthropic.com

Perplexity

docs.perplexity.ai

Mistral AI

docs.mistral.ai

Grok AI

docs.x.ai

Gemini

ai.google.dev

Cohere

docs.cohere.com

DeepSeek

api-docs.deepseek.com

AI21

docs.ai21.com

✨ The XAI platform fully supports models from all the AI service providers listed above. With a single API key, you can seamlessly call AI models from any of these providers, enabling flexible and efficient AI application development.

πŸ’» SDK Code Examples

OpenAI SDK Example

import os
from openai import OpenAI

XAI_API_KEY = os.getenv("XAI_API_KEY")
client = OpenAI(
    api_key=XAI_API_KEY,
    base_url="",
)

completion = client.chat.completions.create(
    model="gpt-4o",
    messages=[
	{"role": "system", "content": "You are AI"},
	{"role": "user", "content": "What is the meaning of life, the universe, and everything?"},
    ],
)

print(completion.choices[0].message)

Anthropic SDK Example

import os
from anthropic import Anthropic

XAI_API_KEY = os.getenv("XAI_API_KEY")
client = Anthropic(
    api_key=XAI_API_KEY,
    base_url="",
)
message = client.messages.create(
    model="claude-sonnet-4-20250514",
    max_tokens=128,
    system="You are AI.",
    messages=[
	{
	    "role": "user",
	    "content": "What is the meaning of life, the universe, and everything?",
	},
    ],
)
print(message.content)
Total Levels
-
Total Keys
-
Active Keys
-

Add New Provider

Azure OpenAI Configuration

Provider should be your Azure endpoint, e.g.: https://your-resource.openai.azure.com

Model to deployment mapping, supports wildcards like gpt-4* (JSON format, optional)
API version mapping for different endpoints (JSON format, optional, leave empty to use system defaults)

Google Vertex AI Configuration

The Provider and SecretKey above are just placeholders, e.g.: https://us-central1-aiplatform.googleapis.com, where SecretKey still needs to be 51 characters. The configuration below requires service account credentials and project information

Vertex AI endpoint URL including project and location information
Google Cloud Project ID
Service account email address
Service account private key (PEM format)

Provider List

Loading...

System Configuration Management

Model Pricing (Owner Overrides)

Provide only the deltas from system defaults. Applied immediately; requests prefer Owner overrides and fall back to defaults.

β€”
Limits: total entries ≀ 1024, size ≀ 128k.

Basic Configuration

System notification email
Comma-separated list of API paths
JSON format: {"model_name": limit_count}

Email Configuration

Mapping Configuration

Format: original_model=target_model, comma-separated (e.g., gpt-3.5*=gpt-4o-mini maps any gpt-3.5 request to gpt-4o-mini)
Format: model=group_number, comma-separated (e.g., gpt models are handled by provider group 1, claude models by group 2)
Format: primary_group=backup_group, comma-separated (When a primary group has > 5 errors in 1 min, it fails over to the backup group, and switches back after 60 mins)
Format: primary_model=backup_model, wildcard supported (e.g., gemini*=gpt-4o). When a model fails 5 times in 1 minute and no group failover applies, requests are temporarily remapped to the backup model and will auto-restore after 60 mins.

Create New Broadcast

Broadcast History

Loading...

Operation Logs

Time Action Target Account Details IP Address

Loading logs...

No operation logs found

Operation Result


        

Edit Provider Key