xAI
grok-code-fast-1 API
Call grok-code-fast-1 by xAI through one OpenAI-compatible API. Keep your SDK, change the base URL, and pay per token from your Yeap balance.
Grok Code Fast 1 is an AI model provided by xai.
New LLM API accounts get $5 of free credit.
Quick start
Call grok-code-fast-1 in a few lines
Use any OpenAI SDK or plain HTTP. Point the base URL at Yeap Cloud and set the model name.
curl https://llm.yeap.cloud/v1/chat/completions \
-H "Authorization: Bearer $YEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-code-fast-1",
"messages": [{"role": "user", "content": "Hello"}]
}'