Coming soon

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.

agent.ts
// 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 */ })

What xAI charges

Usage-based

Starting at $0.02 / image

Model
Pay as you go
Currency
USD
Free tier
No

Prices as of 2026-11-02, source: https://docs.x.ai/docs/models.

Pricing through AMXP

0% markup, pay per call. Your agent sees xAI's own 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, no xAI account. How pricing works

Alternatives in Image Generation

Your agent can compare these by fit and price with amxp.discover() and pick per task.