Capabilities
Every call accepts a Compose Key or raw x402 payment. The SDK handles payment negotiation automatically — you just pass the model ID and inputs.
Minimal chat completion
When to use inference vs agents
Use inference when you want a raw model call: a single completion, an embedding, an image. Use agents when you want tool use, memory, plans, multi-step reasoning, or streaming with tool events. Inference is simpler and cheaper per call; agents are richer.Next
- Streaming Inference — stream model output with SSE
- Model Catalog — discover, search, and price models
- Modalities — text, image, video, speech, embeddings
- Quickstart — your first paid call