EN ▾
Get API key

Pay per token

Pay only for what you use with transparent per-token pricing. Load crypto credit once, and your spend never exceeds what you’ve added.

Top-ups from $20 to $500, any whole amount. Bonus credit: +5% from $50, +10% from $100, +15% from $200.

per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

Cost calculator

$0.00

Worked examples

  1. Batch summarizing 500 short documents

    Input: 250,000 tokens. Output: 75,000 tokens. Cost = (250,000 / 1,000,000) × $0.15 + (75,000 / 1,000,000) × $0.50 = $0.0375 + $0.0375 = $0.075.

  2. Single long-context analysis

    Input: 50,000 tokens. Output: 16,000 tokens. Cost = (50,000 / 1,000,000) × $0.15 + (16,000 / 1,000,000) × $0.50 = $0.0075 + $0.008 = $0.0155.

  3. Moderate chat conversation

    Input: 5,000 tokens. Output: 2,000 tokens. Cost = (5,000 / 1,000,000) × $0.15 + (2,000 / 1,000,000) × $0.50 = $0.00075 + $0.001 = $0.00175.

Token Rates

We charge strictly by token volume. Input tokens cost $0.15 per 1M tokens; output tokens cost $0.50 per 1M tokens. Errors and refusals consume no tokens, so you only pay for actual work. The grok api pricing is straightforward: calculate your expected token volume, and you know your cost. There are no hidden fees, no per-request charges, and no minimum spend. This model scales linearly with usage, making it easy to budget for high-volume tasks or occasional bursts.

Crypto Payments

Add credit using USDT (TRC20) or USDC (Base). Any whole amount from $20 to $500 is accepted. Payments are processed instantly, and your balance updates immediately. We do not accept credit cards, PayPal, or bank transfers, keeping the process lean and borderless. Your prepaid credit never expires, so you can top up once and use it over time. This approach avoids the friction of recurring subscriptions and gives you full control over your spending.

Bonus Credits

We reward larger top-ups with bonus credit. Loading $50 or more adds a +5% bonus to your balance. Loading $100 or more adds a +10% bonus. Loading $200 or more adds a +15% bonus. These bonuses are applied instantly and increase your usable token volume without extra cost. For example, a $100 top-up gives you $110 in credit. This structure encourages efficient funding while providing immediate value. The bonus is reflected in your account balance and is subject to the same token rates as your base credit.

Free Trial

New users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. No card is required to start. This allows you to test the uncensored grok api experience, verify integration, and evaluate token usage before committing to a larger top-up. The trial credit works exactly like paid credit, with the same token rates and features. It’s a low-friction way to confirm the API meets your needs before you load crypto for ongoing development.

Plan details

No tiers: every key gets the full feature set and the same limits.

ParameterDetails
Context window100,000 tokens, input and output combined
Structured outputresponse_format: {"type": "json_object"}
Max outputup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Rate limit300 requests per minute per key
Parallel requests8 requests at the same time per key
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Subscriptionpaid credit never expires, no subscription
Volume bonus+5% from $50, +10% from $100, +15% from $200

Full specifications and error codes: see the docs.

Questions and answers

Do errors or refusals cost tokens?

No. If a request fails or is refused due to content policies (except the hard limit on sexual content involving minors), no tokens are consumed. You only pay for successful token generation.

Can I use a credit card to top up?

No. We accept only USDT (TRC20) or USDC (Base) for prepaid credit. This keeps our infrastructure lean and avoids payment processing fees associated with cards.

Does my prepaid credit expire?

No. Your prepaid credit never expires. You can top up once and use it over time, whether you’re running a small project or scaling up usage.

How do I get the free trial credit?

Sign up with Google or email/password. You’ll receive $0.50 of trial credit, valid for 7 days. Claim this credit with one click on your API key page. No card is needed to start testing.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.