LobeChat
Ctrl K
Back to Discovery
Grok
Grok
@xAI
4 models
xAI is a company dedicated to building artificial intelligence to accelerate human scientific discovery. Our mission is to advance our collective understanding of the universe.

Supported Models

Grok
Maximum Context Length
128K
Maximum Output Length
--
Input Price
$5.00
Output Price
$15.00
Maximum Context Length
8K
Maximum Output Length
--
Input Price
$5.00
Output Price
$15.00
Maximum Context Length
128K
Maximum Output Length
--
Input Price
$2.00
Output Price
$10.00
Maximum Context Length
32K
Maximum Output Length
--
Input Price
$2.00
Output Price
$10.00

Using xAI in LobeChat

cover

xAI is an artificial intelligence company founded by Elon Musk in 2023, aimed at exploring and understanding the true nature of the universe. The company's mission is to solve complex scientific and mathematical problems using AI technology and to advance the field of artificial intelligence.

This article will guide you on how to use xAI in LobeChat.

Step 1: Obtain an API Key from xAI

  • Register and login to the xAI console
  • Create an API token
  • Copy and save the API token
xAI API

Make sure to securely save the API token displayed in the popup; it only appears once. If you accidentally lose it, you will need to create a new API token.

Step 2: Configure xAI in LobeChat

  • Go to the Settings menu in LobeChat
  • Locate the xAI settings under Language Model
Enter API Key
  • Enter the API key you obtained
  • Select an xAI model for your AI assistant to start a conversation
Select xAI Model and Start Conversation

During use, you may need to pay the API service provider, so please refer to xAI's relevant pricing policies.

You are now ready to engage in conversations using the models provided by xAI in LobeChat.

Related Providers

OpenAIOpenAI
@OpenAI
21 models
OpenAI is a global leader in artificial intelligence research, with models like the GPT series pushing the frontiers of natural language processing. OpenAI is committed to transforming multiple industries through innovative and efficient AI solutions. Their products demonstrate significant performance and cost-effectiveness, widely used in research, business, and innovative applications.
OllamaOllama
@Ollama
46 models
Ollama provides models that cover a wide range of fields, including code generation, mathematical operations, multilingual processing, and conversational interaction, catering to diverse enterprise-level and localized deployment needs.
Anthropic
ClaudeClaude
@Anthropic
8 models
Anthropic is a company focused on AI research and development, offering a range of advanced language models such as Claude 3.5 Sonnet, Claude 3 Sonnet, Claude 3 Opus, and Claude 3 Haiku. These models achieve an ideal balance between intelligence, speed, and cost, suitable for various applications from enterprise workloads to rapid-response scenarios. Claude 3.5 Sonnet, as their latest model, has excelled in multiple evaluations while maintaining a high cost-performance ratio.
AWS
BedrockBedrock
@Bedrock
14 models
Bedrock is a service provided by Amazon AWS, focusing on delivering advanced AI language and visual models for enterprises. Its model family includes Anthropic's Claude series, Meta's Llama 3.1 series, and more, offering a range of options from lightweight to high-performance, supporting tasks such as text generation, conversation, and image processing for businesses of varying scales and needs.
Google
GeminiGemini
@Google
16 models
Google's Gemini series represents its most advanced, versatile AI models, developed by Google DeepMind, designed for multimodal capabilities, supporting seamless understanding and processing of text, code, images, audio, and video. Suitable for various environments from data centers to mobile devices, it significantly enhances the efficiency and applicability of AI models.