# Together AI vs xAI

> xAI sells closed Grok models with native X data. Together hosts open weights you can fine-tune and move. Different bets on control versus a single lab's roadmap.

Canonical: https://www.subconscious.dev/compare/together-ai-vs-xai · By The Subconscious Team · Updated September 30, 2026

## How they compare

xAI is a closed lab with one API. Grok 4.6 is the flagship at $2 in and $6 out with a 500K window, and older Grok 4.20 and 4.3 keep 1M context at $1.25 in and $2.50 out. Its unique asset is live data: server-side Web Search and X Search pull posts and current events straight from X. Together has no first-party models. It hosts open weights like Kimi K3, DeepSeek V4 and GLM 5.2, which you can fine-tune with LoRA or full SFT and run on dedicated hardware or reserved clusters. Grok weights stay with xAI.

Long prompts are a real cost factor on xAI: once a prompt reaches 200K tokens, the whole request bills at double. On Together, batch cuts up to 50% for work that can wait. xAI also has a thinner enterprise footprint and fewer cloud marketplace options. Choose xAI for social listening, news and market agents where fresh X data is the product. Choose Together when owning the weights, training on proprietary data or avoiding a single vendor matters more.

## What each one does

### Together AI

Together AI is the broadest open-model platform in the category. One bill covers per-token serverless inference, batch at up to 50% off, provisioned throughput with a 99% SLA, dedicated deployments, raw GPU clusters, managed fine-tuning and code sandboxes for agents. The text catalog runs past thirty open models, including DeepSeek V4, Kimi K3, GLM 5.2, Qwen 3.8 and MiniMax M3, plus image, video, speech and embedding models. Token prices sit at parity with Fireworks and Baseten.

### xAI

xAI sells the Grok models through its own API. Grok 4.6 is the current flagship and xAI tells developers to use it for everything outside audio, image and video, code included. It has a 500K context window and costs $2 in and $6 out per million tokens under 200K prompt tokens. Older Grok 4.20 and 4.3 models keep a 1M window at $1.25 in and $2.50 out, which is aggressive for that capability class.

## Which is best, and when

### Choose Together AI for

- Fine-tuning open weights on proprietary data
- Avoiding lock-in to one lab's closed models
- Batch jobs at up to 50% off

### Choose xAI for

- Agents that need live posts and events from X
- Cheap output tokens on a closed reasoning model
- 1M context on Grok 4.20 at $1.25 in

## At a glance

| Attribute | Together AI | xAI |
|---|---|---|
| Model access | Open weights | Closed |
| Flagship models | Kimi K3, DeepSeek V4, GLM 5.2, Qwen 3.8 | Grok 4.6, Grok 4.20, grok-build |
| Speed | 0.99s TTFT on DeepSeek V4 Pro | ~54 tok/s on Grok 4.6 |
| Price | Parity with Fireworks and Baseten | $2 in, $6 out (Grok 4.6); 2x past 200K |
| Customization | LoRA and full SFT; RL in beta | - |
| Deployment | Serverless, dedicated, GPU clusters | First-party API |
| Long context | 512K on DeepSeek V4 Pro | 500K (4.6), 1M (4.20, 4.3) |

## FAQ

### What is the difference between Together AI and xAI?

xAI sells closed Grok models with native X data. Together hosts open weights you can fine-tune and move. Different bets on control versus a single lab's roadmap.

### When should I choose Together AI over xAI?

Fine-tuning open weights on proprietary data; Avoiding lock-in to one lab's closed models; Batch jobs at up to 50% off.

### When should I choose xAI over Together AI?

Agents that need live posts and events from X; Cheap output tokens on a closed reasoning model; 1M context on Grok 4.20 at $1.25 in.

### Is Together AI or xAI cheaper?

Together AI: Parity with Fireworks and Baseten. xAI: $2 in, $6 out (Grok 4.6); 2x past 200K. The cheaper choice depends on the model and workload.

### Which has more context, Together AI or xAI?

Together AI: 512K on DeepSeek V4 Pro. xAI: 500K (4.6), 1M (4.20, 4.3).

## Running long-horizon agents?

If your agents run past 200K tokens, compare both against Subconscious: [Subconscious vs Together AI](https://www.subconscious.dev/compare/subconscious-vs-together-ai.md), [Subconscious vs xAI](https://www.subconscious.dev/compare/subconscious-vs-xai.md).

Full profiles: [Together AI](https://www.subconscious.dev/providers/together-ai.md), [xAI](https://www.subconscious.dev/providers/xai.md).
