xAI grok-2-search API pricing and routing
Inspect the live model ID, provider, context window, endpoint support, billing group, and Route Key pricing signals before sending production traffic.
grok-2-searchCompare grok-2-search API pricing, context length, endpoints, billing groups, and routing availability through Route Key's OpenAI-compatible AI API gateway.
Pricing signals
Billing: per token · Available groups: default
Supported endpoints
openai
Context window
-
Model technical profile
xAIper tokenshell-api-modelmak-v1x37.5x1Use this model with Route Key
Keep your existing OpenAI-compatible request shape and change the gateway, key, and model values.
https://api.routekey.ai/v1Bearer sk-route-keygrok-2-searchFrequently asked questions about grok-2-search
What is grok-2-search?
grok-2-search is a currently listed model route from xAI. Confirm the live catalog for its exact ID, endpoint, group availability, and pricing signal.
How is grok-2-search API pricing calculated?
Route Key exposes the current input, output, and cached-input pricing signals for grok-2-search. Effective cost can vary by billing group and route ratio.
How do I use grok-2-search with Route Key?
Set the Route Key base URL, add a Route Key API key, and send the exact model ID shown below. Start with a small request before enabling streaming or tools.