Skip to content
TutujinAPI

xAI API pricing

Tutujin API currently offers 33 xAI models (28 chat, 5 image), pay-as-you-go with no monthly fee, callable through an OpenAI-compatible API.

Among token-billed models, the lowest input price is grok-4-fast-reasoning at ¥0.4 per 1M tokens (Standard group).

Among per-request models, the cheapest is grok-3 at ¥0.02 per request (Standard group).

Prices updated Nov 13, 2026, 5:53 PM

  • 33

    Models

  • 6

    Groups

  • 3

    Endpoints

  • ¥0.4

    Lowest input

    / 1M tokens

All xAI model prices

Each row shows the model's cheapest group, in CNY. Prices in other groups are on the model's own page.

Chat models24

ModelCheapest groupInput ¥/1MOutput ¥/1MPer request ¥
grok-3Standard——¥0.02
grok-4Standard——¥0.04
grok-4.1Economy (per call)——¥0.04
grok-4-fast-reasoningStandard¥0.4¥0.1—
grok-4-1-fast-non-reasoningAzure Plus¥0.6¥1.5—
grok-4-1-fast-reasoningAzure Plus¥0.6¥1.5—
grok-4-fast-non-reasoningAzure Plus¥0.6¥0.15—
grok-code-fast-1Azure Plus¥0.6¥4.5—
grok-3-mini-betaOpenAI Direct Plus¥1.8¥3.01—
grok-imagine-video-1.5-previewStandard——¥2.6
grok-3-mini-fast-betaOpenAI Direct Plus¥3.6¥24.01—
grok-4.5Standard¥4¥12—
grok-4.6Standard¥4¥12—
Grok 4.7Standard¥4¥12—
grok-4.2Standard¥6¥30—
grok-2-1212OpenAI Direct Plus¥12¥60—
grok-2-vision-1212OpenAI Direct Plus¥12¥60—
grok-4.20-beta-0309-non-reasoningOpenAI Direct Plus¥12¥36—
grok-4.20-beta-0309-reasoningOpenAI Direct Plus¥12¥36—
grok-3-betaOpenAI Direct Plus¥18¥90—
grok-4-0709OpenAI Direct Plus¥18¥90—
grok-3-fast-betaOpenAI Direct Plus¥30¥150—
grok-betaOpenAI Direct Plus¥30¥90—
grok-vision-betaOpenAI Direct Plus¥30¥90—

Image models5

ModelCheapest groupInput ¥/1MOutput ¥/1MPer request ¥
grok-imagine-image-2.0Standard——¥0.12
grok-4.1-imageStandard——¥0.2
grok-4.2-imageStandard——¥0.24
grok-imagine-imageOpenAI Direct——¥4.5
grok-imagine-image-qualityOpenAI Direct——¥4.5

Video models4

ModelCheapest groupInput ¥/1MOutput ¥/1MPer request ¥
grok-video-3Standard——¥1
grok-1.5-video-10sStandard——¥2.6
grok-1.5-video-15sStandard——¥2.6
grok-1.5-video-6sStandard——¥2.6

How to call xAI models

One Tutujin API key is all you need; the example uses grok-3. Point base_url at https://www.tutujin.com/v1 and keep the rest of your official-SDK code.

cURL
curl https://www.tutujin.com/v1/chat/completions \
  -H "Authorization: Bearer $TUTUJIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-3",
    "messages": [{"role": "user", "content": "Introduce yourself in one sentence"}]
  }'
Full steps in the quickstart

FAQ

How is xAI API usage billed on Tutujin?

You pay for actual usage, with no monthly fee or minimum spend. Token-billed models charge input and output tokens separately; per-request models charge per call. The same model costs different amounts in different groups; this page shows each model's cheapest group. Prices updated Nov 13, 2026, 5:53 PM.

How do I call xAI models?

Create an API key in the console, set your SDK's base_url to https://www.tutujin.com/v1 and use a model name from the table on this page. xAI models on this site support these endpoints: Chat Completions, Image editing, Image generation.

Which groups can I use for xAI models?

Available groups: Standard, Azure Plus, OpenAI Direct, OpenAI Direct Plus, Official · Enterprise, Economy (per call). A group decides the line a key uses and the price it pays; you choose one for each API key when you create it.

Can I get an invoice?

Yes. We issue both China domestic invoices (fapiao) and overseas invoices: add our WeChat support JsnonoChat and send your order number.