xAI for AI agents
Grok models and Grok Imagine image generation.
What your agent can do with xAI
xAI: grok models and Grok Imagine image generation. Through AMXP your agent calls it like any other tool: no xAI account, no separate API key and no extra subscription. The call is priced up front and paid from your AMXP balance.
xAI is on the AMXP roadmap and not callable yet. Everything on this page describes how it will work once its connector ships.
How to call it
The same three calls work for every provider. Your agent does this on its own once AMXP is installed.
// Find the right xAI endpoint, check its price, then run it.
const [tool] = await amxp.discover({ provider: "xai" })
const spec = await amxp.inspect(tool.id) // parameters, price per call
const result = await amxp.execute(tool.id, { /* params from spec */ })Pricing
Pay per call. Your agent sees the exact price from amxp.inspect() before it runs anything, the amount is reserved from your balance, and only the real cost is settled. No monthly fee for xAI. How pricing works
Alternatives in Image Generation
Your agent can compare these by fit and price with amxp.discover() and pick per task.
- falHosted image, video and audio generation models.
- RecraftRaster and vector (SVG) image generation.
- ReplicateRun open-source image, video and audio models via API.
- RunwareLow-cost inference for image and video models.
- Stability AIStable Image, audio and 3D generation API.
- VenicePrivate, uncensored image, video and text API.
