grok-4.1

Grok · Per Token

grok-4.1Available
ChatVisionWeb SearchTool UseContext Window: 256KMax Output Tokens: 16K

Pricing

Official PriceLemonData Price
Input$3.00$2.10
Output$15.00$10.50

Parameters

Context Window
256K tokens
Max Output Tokens
16K tokens

Best For

Chat

Conversational AI, customer support, and Q&A

Vision

Image understanding, document analysis, and visual reasoning

Cost Calculator

1M
0.5M
Estimated Monthly Cost$7.35

API Code Example

POST/v1/chat/completions
curl https://api.lemondata.cc/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxx" \
  -d '{
    "model": "grok-4.1",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

FAQ

How much does grok-4.1 cost?

On LemonData, grok-4.1 costs $2.1000 per 1M input tokens and $10.5000 per 1M output tokens, which is up to 30% off the official pricing.

What is grok-4.1 best for?

grok-4.1 excels at Chat, Vision, Web Search. Access it through LemonData's unified API with a single API key.

How to use grok-4.1 API?

Get your API key from LemonData, then call https://api.lemondata.cc/v1/chat/completions using any compatible SDK. See the code examples above for detailed integration.

Related Models

grok-4.1 - API Pricing & Details - LemonData