Grok-code-Fast-1 — API pricing and context window
Grok-code-Fast-1 is a text model from xAI, available through the AICraft OpenAI-compatible API. It has a 256,000-token context window. On AICraft it is billed at $0.2210 per million input tokens and $1.6575 per million output tokens.
- Provider: xAI
- Context window: 256,000 tokens
- Max output: 10,000 tokens
- Input / output: Text → Text
- Price: $0.2210 / 1M input tokens · $1.6575 / 1M output tokens
Model ID
Model aliases
PRICING RULES
Model pricing
Different context bands and billing items can have different unit prices; the rule matched by the actual request applies.
| Billing item | USD | CNY |
|---|
Prices are display values returned by the API, excluding taxes and plan discounts; the final invoice applies.
OVERVIEW
Capability overview
CAPABILITIES
Capability matrix
| Capabilities | Status | Notes |
|---|
No content yet
The Markdown calling guide for this model is not available yet.