xAI API
Access 3 xAI modelsthrough YepAPI's unified API. One API key, OpenAI-compatible endpoint, pay-per-token pricing.
No credit card required. Takes 30 seconds.
Grok 4.20
Text GenerationAccess Grok 4.20 through one API key. xAI's flagship model with the largest context window.
Grok 4.20 Multi-Agent
Text GenerationAccess Grok 4.20 Multi-Agent through one API key. Multi-agent orchestration with 2M context.
Grok 4.1 Fast
Text GenerationAccess Grok 4.1 Fast through one API key. Fast xAI model with 2M context.
xAI API through YepAPI
YepAPI provides access to xAI models through a unified API endpoint. Instead of managing a separate xAI API key and billing account, use your single YepAPI key to call any xAI model alongside 60+ other AI models from OpenAI, Anthropic, Google, Meta, and more.
All xAI models use the same OpenAI-compatible request format. Switch between models by changing the model parameter — no SDK changes, no code rewrites. Pay per token with no monthly minimums.
Ready to use xAI models?
3 xAI models included with one API key. $5 free credit on signup. No credit card required.