AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
xAI

Grok 4 Fast API

xAI
About

Build advanced reasoning agents with Grok 4 Fast, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $0.20/1M input and $0.50/1M output tokens, native tool calling support. Access Grok 4 Fast via the xAI API with up to 30K output tokens.

Capabilities

Input Modalities

textimage

Output Modalities

text
Reasoning
Yes
Structured Output
No
Tool Use
Yes
WeightsClosed
Temperature
Adjustable
Attachment
Supported
Limits
Context Window
2.0M

Tokens

Input Limit
2.0M

Tokens

Max Output
30K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.20
Output
$0.50

Caching (per 1M tokens)

Read
$0.05
Frequently Asked Questions

Grok 4 Fast by xAI costs $0.20 per 1M input tokens and $0.50 per 1M output tokens. Cached reads cost $0.05 per 1M tokens.

Model Details
ID
grok-4-fast
Provider
xAI
Family
grok
Release Date
Sep 19, 2025
Knowledge Cutoff
Jul 1, 2025
API Integration
NPM Package
@ai-sdk/xai
Environment Variables
XAI_API_KEY
Documentation