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

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

Don't have an account? Sign up now

We will send verification code and API key to this email

Verification code sent!

Please check your email for the activation link to complete registration

Already have an account? Sign in

Β© 2022-2025 xaicontrol.com

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

XAI Model List

Please visit to view 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

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

πŸ’» SDK Example Code

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)

πŸ“š More Information

Please read the documentation

Total Levels
-
Total Keys
-
Active Keys
-

Add Provider Key

Provider List

Loading...

System Configuration Management

Basic Configuration

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

Email Configuration

Leave blank to keep current password

Mapping Configuration

Format: source_model=target_model, comma-separated (e.g. gpt-3.5*=gpt-4o-mini means any gpt-3.5 model request will be converted to gpt-4o-mini)
Format: model=group_number, comma-separated (e.g. gpt series models are handled by group 1 AI Provider, claude series models are handled by group 2 AI Provider)
Format: primary_group=backup_group, comma-separated (when primary group has more than 7 errors within a minute, switch to backup group, auto-switch back after 30 minutes)

Create New Notification

Notification History

Loading...

Operation Logs

Time Operator Action Target Account Details IP Address

Loading logs...

No operation logs

Operation Result


				

Edit Provider Key