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

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

Don't have an account? Sign up now

We will send a verification code and API key to this email.

Verification Code Sent!

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

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

Provider List

Loading...

System Configuration Management

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 >7 errors in 1 min, it fails over to the backup group, and switches back after 30 mins)

Create New Broadcast

Broadcast History

Loading...

Operation Logs

Time Operator Action Target Account Details IP Address

Loading logs...

No operation logs found

Operation Result


				

Edit Provider Key