Models/xAI

Grok Code Fast 1

xAI
Chat
Tool Calling
xai/grok-code-fast-1
Open in Playground
Run inference
python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.sylicaai.com/v1",
    api_key="YOUR_SYLICA_API_KEY",
)

response = client.chat.completions.create(
    model="xai/grok-code-fast-1",
    messages=[
        {"role": "user", "content": "What are some fun things to do in New York?"}
    ],
)

print(response.choices[0].message.content)
AuthorxAI
ReleasedCatalog default
External linkhttps://docs.x.ai
CategoryChat
Context length256,000 tokens (256K)
Pricing (per 1M tokens)$0.20 in / $1.50 out
DeploymentPublished
Input modalitiesText
Output modalitiesText
FeaturesChat, Tool Calling