opencheap.si
Credits

xAI models

41 models · one OpenAI-compatible API

41 xAI models are on OpenCheap, each at its own price per 1M tokens. The cheapest to call is Grok 4.1 Fast, at $0.20 per 1M input tokens and $0.50 per 1M output tokens. The largest context is grok-4:fast's, 2M tokens. Prices are per 1M input / output tokens, as of 2026-11-23 23:22 UTC.

Every xAI model

Price per 1M tokens, input / output

Call any xAI model

Every model from xAI is called the same way: point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key and pass the model id, for example opencheap/grok-4.7. Each request goes to the cheapest healthy provider of that model, and every answer reports what it cost in usage.cost. You pay per token from one prepaid balance, and credits never expire.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/grok-4.7",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)