1. Integrations
  • HMS Sovereign API
  • Get started
    • Authentication
    • Introduction
    • Quickstart
  • Core concepts
    • Assistants
    • Calls
    • Phone Numbers
    • Webhooks
  • Platform
    • Billing & Credits
    • EU Data Sovereignty
    • Voice Selection
    • Whitelabel Portal
  • Webhooks
    • Assistant Request
    • End of Call Report
    • Webhooks Overview
    • Webhook Security
    • Status Update
    • Tool Calls
  • Configuration
    • Analysis Templates
    • Custom Tools
    • SIP Trunks
    • Tool Templates
  • Features
    • AI Generation
    • Autonomous Silence Handling
    • Call Analysis
    • Call Transfers
    • Campaigns Setup
    • Outbound Campaigns
    • Voicemail Detection
    • Web Calls
  • Integrations
    • BYOK Setup
    • Provider Pricing
    • xAI Grok Integration
  • Reference
    • Error Codes
    • Rate Limits
    • Troubleshooting
Documentation
API Reference
Documentation
API Reference
Book a meeting
Linkedin
Github
  1. Integrations

xAI Grok Integration

xAI's Grok Realtime API provides speech-to-speech conversation with <700ms latency. Unlike traditional voice AI (STT → LLM → TTS), Grok processes audio directly in a single model.

Setup#

1. Add xAI API Key#

Navigate to Integrations → API Keys tab and add your xAI API key:

2. Configure Assistant#

When creating or editing an assistant with xAI configured:
Provider: Select "xAI Realtime"
Model: grok-realtime-v1
Voice: ara (or other available voices)
Note: When using xAI Realtime, separate STT/TTS providers are ignored.

Pricing#

xAI Realtime uses BYOK pricing:
€0,07/minute when using your xAI API key
Direct billing to your xAI account
No markup on xAI API usage

Differences from Traditional Mode#

FeatureTraditional (STT+LLM+TTS)xAI Realtime
Latency~1-2 seconds<700ms
Providers3 separateSingle (xAI)
Voice QualityDepends on TTS providerNative to model
Custom ToolsSupported via llm_config.toolsCheck xAI docs for support
BYOK Keys Required3 keys (STT, LLM, TTS)1 key (xAI)

Limitations#

Custom system prompts may work differently than OpenAI
Tool calling support depends on xAI API capabilities
Voice selection limited to xAI's available voices

API Reference#

See BYOK API Reference for managing xAI API keys.
Modified at 2026-03-17 10:59:50
Previous
Provider Pricing
Next
Error Codes
Built with