xAI API Alternatives

xAI API: Developer API for Grok models, billed per token from prepaid credits. Free: No free tier stated, pay as you go from prepaid credits. First paid: Pay as you go.

Grok

Chat & Writing Free plan

xAI's chat and agent assistant, sold through the X subscription tiers.

Free: Limited chat and agent requests, no number published

First paid: Plus $8/mo

Commercial use on free: Unclear, no commercial-use rule for free output is stated on the official pricing page

Facts checked 2026-12-01

Full facts

OpenRouter

Developer APIs Free plan

One API key for hundreds of models from many providers, handy for testing and fallbacks.

Free: 50/day free · 1,000/day after $10 once

First paid: Pay-as-you-go at provider prices + 5.5% fee on credit purchases

Commercial use on free: Yes, check each model's own terms via the provider

Facts checked 2026-11-29

Full facts

Together AI

Developer APIs No free plan

Fast serverless inference API for open models, chat, image, audio and embeddings at per-token prices.

Free: No free plan or trial, $15 minimum first purchase

First paid: Pay-as-you-go, serverless from $0.15 / 1M input tokens

Commercial use on free: Not applicable, no free tier; paid API use is the commercial route

Watch out: Fully prepaid: when your balance hits $0, API access stops immediately unless auto-recharge is on, and there are no hard per-project spend caps yet, a runaway loop can drain prepaid credits.

Facts checked 2026-11-29

Full facts

Browse the full directory