xAI on Zylo

xAI models & pricing

xAI models Call them through one OpenAI-compatible API, billed at base per-token rates.

Last updated June 5, 2026

xAI model pricing

Per 1M tokens, billed from your credit balance — no markup on usage. Prices load live from our catalogue.

ModelProviderContextInput / 1MOutput / 1M
Grok 4.20xAI2M$1.25$2.50
Grok 4.3xAI1M$1.25$2.50
How pricing works. The number is the base rate per 1M tokens, deducted from prepaid credits — no usage markup. Zylo's flat 25% platform fee applies only when you add credits.

Quickstart

Keep the OpenAI SDK; set base_url to Zylo and pick a xAI model id.

Python
from openai import OpenAI

client = OpenAI(api_key="ZYLO_KEY", base_url="https://api.zyloai.net/v1")

response = client.chat.completions.create(
    model="grok-4.20",
    messages=[{"role": "user", "content": "Hello from Zylo!"}],
)
print(response.choices[0].message.content)

All xAI models

Frequently asked questions

Which xAI models can I use on Zylo?

Zylo currently offers 2 xAI text models, including Grok 4.20, Grok 4.3. See the table above for live per-1M-token pricing.

How much do xAI models cost on Zylo?

Each xAI model is billed at its base per-token rate, deducted from prepaid credits — no markup on usage. Zylo's 25% platform fee applies only when you add credits.

Are xAI models OpenAI-compatible on Zylo?

Yes. Point any OpenAI SDK at https://api.zyloai.net/v1, use your Zylo key, and set the model id (e.g. grok-4.20).

Call xAI models in under 2 minutes

Free API key, OpenAI-compatible, local payments.

Get free API key