Grok 4.7 is an xAI Grok model for conversational AI, analysis, and tool-using agents. Grok 4.7 is an xAI Grok model for conversational AI, analysis, and tool-using agents. Supports explicit caching and implicit caching. Up to 4K context window.
from openai import OpenAI client = OpenAI( base_url="https://api.respan.ai/api/", api_key="YOUR_RESPAN_API_KEY",) response = client.chat.completions.create( model="perplexity/xai/grok-4.7", messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)from openai import OpenAI client = OpenAI( base_url="https://api.respan.ai/api/", api_key="YOUR_RESPAN_API_KEY",) response = client.chat.completions.create( model="perplexity/xai/grok-4.7", messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)Gateway routes for this model on the Respan gateway, including fallback routes when configured.
| Model | Capabilities | ||||||
|---|---|---|---|---|---|---|---|
| perplexity/xai/grok-4.7 | 4K | $2.00/M | $6.00/M | Read:$0.50/MWrite:$2.00/M | — | — |
Other models from the same provider available through the gateway.
| Model | Capabilities | ||||||
|---|---|---|---|---|---|---|---|
| perplexity/anthropic/claude-fable-5 | 4K | $10.00/M | $50.00/M | Read:$1.00/MWrite:$12.50/M | — | — | |
| perplexity/anthropic/claude-fable-5-1 | 4K | $10.00/M | $50.00/M | Read:$0.25/MWrite:$12.50/M | — | — | |
| perplexity/anthropic/claude-haiku-4-5 | 4K | $1.00/M | $5.00/M | Read:$0.10/MWrite:$1.25/M | — | — | |
| perplexity/anthropic/claude-opus-4-5 | 4K | $5.00/M | $25.00/M | Read:$0.50/MWrite:$6.25/M | — | — | |
| perplexity/anthropic/claude-opus-4-6 | 4K | $5.00/M | $25.00/M | Read:$0.50/MWrite:$6.25/M | — | — | |
| perplexity/anthropic/claude-opus-4-7 | 4K | $5.00/M | $25.00/M | Read:$0.50/MWrite:$6.25/M | — | — | |
| perplexity/anthropic/claude-opus-4-8 | 4K | $5.00/M | $25.00/M | Read:$0.50/MWrite:$6.25/M | — | — | |
| perplexity/anthropic/claude-opus-5 | 4K | $5.00/M | $25.00/M | Read:$0.50/MWrite:$6.25/M | — | — | |
| perplexity/anthropic/claude-opus-5-5 | 4K | $4.00/M | $20.00/M | Read:$0.20/MWrite:$5.00/M | — | — | |
| perplexity/anthropic/claude-sonnet-4-5 | 4K | $3.00/M | $15.00/M | Read:$0.30/MWrite:$3.75/M | — | — | |
| perplexity/anthropic/claude-sonnet-4-6 | 4K | $3.00/M | $15.00/M | Read:$0.30/MWrite:$3.75/M | — | — | |
| perplexity/anthropic/claude-sonnet-5 | 4K | $2.00/M | $10.00/M | Read:$0.20/MWrite:$2.50/M | — | — |
Built to meet the security and privacy standards that enterprise and healthcare teams require.
ISO 27001
The internationally recognized standard for information security management.
SOC 2
Secure, compliant management of your data across all of our systems.
GDPR
Operated under GDPR, the world's strictest standard for data privacy.
HIPAA
HIPAA compliant, with a BAA available for healthcare teams.