Private Models





Working with agentsConnect RedPill to agent frameworks and runtimes.
xAI: Grok Code Fast 1
x-ai/grok-code-fast-1Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding. With reasoning traces visible in the response, developers can steer Grok Code for high-quality work flows.
- Modalities
- TexttoText
- In / out price
- $0.20 / $1.50per 1M
- Context
- 256K
- Released
- Dec 13, 2025
Providers
RedPill routes this private model across verified providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.
| Checking | Checking | Checking |
Gateway API
Call this model through RedPill's OpenAI-compatible API.
- Create an API key
- Set
REDPILL_API_KEY - Run the request
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.redpill.ai/v1",
apiKey: process.env.REDPILL_API_KEY,
});
const response = await client.chat.completions.create({
model: "x-ai/grok-code-fast-1",
messages: [{ role: "user", content: "Say hello." }],
});