Developer Dashboard

Back to Model Explorer

Vercel Ai GatewayReference only — not currently available on AvalAI

grok-2 API on AvalAI

vercel_ai_gateway/xai/grok-2

grok-2 is an AI model from Vercel Ai Gateway that is not currently available on AvalAI; this page is retained as a technical reference.

Price display scale
Input price$2.00 / 1M tokens
Output price$10.00 / 1M tokens
Context window131,072 tokens
Maximum output4,000 tokens

Note

This page is retained for reference and comparison. Choose an available model from the model catalog before integrating.

Capabilities and endpoints

  • Function calling
  • Tool choice

Frequently asked questions

What is the grok-2 API on AvalAI?

grok-2 is not currently callable through AvalAI; this page provides reference specifications only.

How much does the grok-2 API cost on AvalAI?

grok-2 is not currently callable through AvalAI; the recorded reference price is $2.00 per 1M input tokens and $10.00 per 1M output tokens.

What is the token cost for grok-2?

Current AvalAI pricing for grok-2 is $2.00 / 1M tokens for input and $10.00 / 1M tokens for output.

What is the grok-2 context window?

The recorded maximum input context for grok-2 is 131,072 tokens.

What features does grok-2 support on AvalAI?

grok-2 on AvalAI supports Function calling, Tool choice.

Third-party data and freshness

  • Pricing, availability, endpoints, and rate limits: AvalAI structured data (authoritative)