xAI

Grok Code Fast 1

Grok Code Fast 1 by xAI through the RelaySwitch API: $0.48 per million input tokens, $0.48 per million output tokens. Pay by card or crypto (Card, Apple Pay, PayPal, USDT, USDC, BTC, ETH, SOL). No KYC.

Input / M$0.48per million tokens
Cached input / Minput rateper million tokens
Output / M$0.48per million tokens

Specs

Model id
grok-code-fast-1
Developer
xAI
Context window
not published
Max output
not published
Input
text

Call it

bash
1curl https://api.relayswitch.io/v1/chat/completions \
2 -H "Authorization: Bearer $RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "grok-code-fast-1",
6 "messages": [{"role": "user", "content": "Hello"}]
7 }'

Any OpenAI SDK works: set the base URL to https://api.relayswitch.io/v1 and the model to grok-code-fast-1. Get a key or read the docs.

FAQs

Grok Code Fast 1: questions

Payment, keys and billing in short.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

Run Grok Code Fast 1 today

Top up by card or crypto and send "grok-code-fast-1".