RedPill
x-ai logo

xAI: Grok 4.1 Fast

Chat
x-ai/grok-4.1-fast
Created Dec 13, 2025|2M context|$0.20/M input tokens|$0.50/M output tokens
Intel TDX

Grok 4.1 Fast is xAI's best agentic tool calling model that shines in real-world use cases like customer support and deep research. 2M context window.

Providers for xAI: Grok 4.1 Fast

RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

x-ai logo
x-ai
Input Price
$0.20
Output Price
$0.50
Total Context
2M

API

RedPill provides an OpenAI-compatible completion API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

fetch("https://api.redpill.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "x-ai/grok-4.1-fast",
    "messages": [
      {
        "role": "user",
        "content": "What is the meaning of life?"
      }
    ]
  })
})