xAI
xAI Models
xAI builds Grok, fast frontier models with low-hallucination reasoning and real-time knowledge. On thalam you can call 2 xAI models through one OpenAI-compatible API, pay per token with no xAI account and no subscription.
base_url = https://api.thalam.ai/v1
api_key = tl-live-... # from your thalam dashboard
model = xai/grok-4.3 # any model id below
Call xAI models through one API
One OpenAI-compatible endpoint, one bill. Pay per use, no xAI account, credits never expire.
xAI models in our best-of lists
FAQ
Do I need a xAI account to use xAI models?
No. thalam gives you xAI's models through one API key, billed per use, so you do not need a separate xAI account or key.
How much do xAI models cost on thalam?
You pay per token (or per image, video or second) at the rate shown on each model page, with no platform fee and no subscription.
Which xAI model should I use?
It depends on your task. See the table above for pricing and specs, or the Best AI Models lists for task-by-task picks.