xAI API today
Starts at
$8/mo
- Contract
- Not stated
- Free plan
- Not stated
xAI API alternatives (29)
Tools that do the same job (LLM API), by starting price.
- Hugging Face$9/mo
- Mistral AI$14.99/mo
- Anthropic Claude API$20/mo
- Upstage$100/mo
- Azure OpenAI Service$260/mo
- AI/ML API$20/minimum top up
- AI21 Labs$0.20/1M input tokens
- Alibaba QwenPrice on its page
- Amazon Bedrock$2/1,000 queries
- Baseten$1.40/1M input tokens
- Cerebras Inference$0.35/M input tokens
- Cloudflare Workers AI$0.011/1,000 Neurons
- Cohere$3/hour per instance
- Databricks Mosaic AI$0.07/DBU
- DeepInfra$0.06/1M input tokens
- DeepSeek$0.003/1M tokens
- DigitalOcean Gradient AI$0.05/M tokens
- Fireworks AI$0.008/1M input tokens
- Google Gemini API$0.30/1M input tokens
- Google Vertex AI$0.085/vCPU-hour
- GroqPrice on its page
- Meta LlamaPrice on its page
- OpenAI API$0.10/1M tokens
- OpenRouter$5.50/unit
- Perplexity API$0.0005/invocation
- Replicate$0.000025/second
- SiliconFlow$0.014/image, from FLUX.1-dev
- Snowflake Cortex AI$2/credit
- Together AI$0.15/1M input tokens
Questions
Is there a free alternative to xAI API?
Yes. 10 LLM APIs have a free plan, including Alibaba Qwen, Azure OpenAI Service, Cloudflare Workers AI, Databricks Mosaic AI, Google Gemini API.
How this page is made
Alternatives are the tools that do the same job as xAI API (LLM API), wherever they're listed on this site, not every tool in its category. "States that xAI API doesn't" lists what we found on the other vendor's site and didn't find on xAI API's, which doesn't prove xAI API lacks it. How prices are read.