const completion = await client.chat.completions.create({
model: "Grok-4", // or other models (Claude-Sonnet-4, Gemini-2.5-Pro, GPT-Image-1, Veo-3..)
messages: [
{
role: "system",
content:
"You are Grok, a highly intelligent, helpful AI assistant.",
},
{
role: "user",
content:
"What is the meaning of life, the universe, and everything?",
},
],
});