# xAI Text-to-SQL & Data Warehouse Specialist (xai-grok-sql-analytics) Pricing & Spec Oracle (`ai-model-spec-xai-grok-sql-analytics`)
- **Status**: 200 OK | **Latency**: 1ms | **Cached**: true
- **Primary Authority**: 100% Platform AI Model Benchmark Registry
- **License & Trust**: 100% Platform Deterministic Compute / Open Reference (computed_by_platform)
- **Verified At (UTC)**: 2026-10-27T15:42:45.070Z
- **Data Freshness**: cached
## Structured Data
```json
{
  "model_id": "xai-grok/sql-analytics",
  "provider": "xAI",
  "tier": "Text-to-SQL & Data Warehouse Specialist",
  "context_window_tokens": 131072,
  "max_output_tokens": 32768,
  "pricing_usd_per_1m_tokens": {
    "input": 1.1,
    "output": 5.5,
    "cached_input": 0.275
  },
  "supported_capabilities": "PostgreSQL, SQLite, Snowflake & BigQuery Generation",
  "supports_mcp_tools": true,
  "workload_simulation": {
    "calls_per_day": 1000,
    "daily_cost_usd": 4.95,
    "monthly_cost_usd": 148.5
  }
}
```
> **AI Agent Hint**: Agent Data Hub: ask anything via GET /api/v1/ask?q=..., whole tasks via /api/v1/bundles, up to 10 calls via POST /api/v1/batch. Add compact=1 or fields=a,b to save tokens. Docs: /llms.txt