xAI: Grok 4.1 Fast
Chatx-ai/grok-4.1-fastxAI Grok 4.1 Fast - latest version with improved tool calling and 2M context. Best agentic performance from xAI without explicit reasoning.
2M context window
30K max output tokens
Released: 2025-11-19
Supported Protocols:openai
Available Providers:Azure
Capabilities:VisionFunction CallingWeb Search
Pricing
| Type | Price |
|---|---|
| Input Tokens | $0.2/M |
| Output Tokens | $0.5/M |
| Cache Read | $0.05/M |
Code Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.ai/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="x-ai/grok-4.1-fast",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Related Models
Frequently Asked Questions
xAI: Grok 4.1 Fast on Ofox.ai costs $0.2/M per million input tokens and $0.5/M per million output tokens. Pay-as-you-go, no monthly fees.
xAI: Grok 4.1 Fast supports a context window of 2M tokens with max output of 30K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
xAI: Grok 4.1 Fast supports the following capabilities: Vision, Function Calling, Web Search. Access all features through the Ofox.ai unified API.