Eligible new accounts get $0.10 in free API credit. Once per account; abuse limits apply. Create an account

Outrun

Grok API for Grok 4.7 and Imagine.

Outrun serves Grok 4.7 through one OpenAI-compatible API key. Grok 4.7 costs $0.09 per 1M input tokens and $0.26 per 1M output tokens. The same key also covers the Grok image and video models listed below. Outrun does not store your prompts or outputs on any Grok ID.

$0.10free API credit for eligible new accounts.

1 model ID on one Outrun key

Lowest-priced model

Grok 4.7

grok-4.7

$0.09 in / $0.26 outper 1M tokens

95%below xAI's list output price ($0.26 vs $6.00)

Endpoint
/v1/chat/completions
Format
OpenAI-compatible
Grok IDs
1
Input from
$0.09
Privacy
Zero at Outrun

Which Grok model ID should I use?

Use grok-4.7 for Grok 4.7. Keep the same key and base URL when you switch IDs. Each model name in the price table opens its own page with prices, capabilities and setup values.

  • Lowest cost per input tokengrok-4.7$0.09 / $0.26

How much does the Grok API cost on Outrun?

1 Grok text model is available on Outrun, starting at $0.09 per 1M input tokens. Every ID is billed per token from prepaid USD credit; the table lists every context and cache tier.

Grok models on OutrunUSD per 1M tokens
ModelInputOutputCached input
Grok 4.7grok-4.7up to 200k tokens$0.09$0.26$0.03
Grok 4.7, over 200k tokens$0.17$0.51$0.05

Billed rates, rounded up to the cent, updated . Cached input is part of input, not an extra charge. The pricing page lists every model.

How do the prices compare?

Standard-tier output rates against the official list prices the pricing page cites.

Outrun rate and official list priceUSD per 1M tokens, input / output
ModelOutrunList priceDifferenceSource
Grok 4.7grok-4.7$0.09/$0.26$2.00/$6.0095% lowerxAI

What else can I use with the same key?

Image, video and audio models have their own billing units and endpoints. Open a model page for its request format.

Grok media models on OutrunUSD per listed unit
ModelKindRate
Grok Imagine Imagegrok-imagine-imageImage$0.06 per image
Grok Imagine Videogrok-imagine-videoVideo$0.03 per second
Grok Imagine Video 1.5 1080pgrok-imagine-video-1.5-1080pVideo$0.09 per second
Grok TTSgrok-ttsAudio$9.45 per 1M characters

How do I call the Grok API through Outrun?

Grok text models on Outrun use the OpenAI Chat Completions format, so the OpenAI SDKs and any OpenAI-compatible app work with your Outrun key and base URL.

  1. 01

    Get your key

    Open the Telegram bot and copy your personal key. It works for Grok and every other Outrun model.

  2. 02

    Set the base URL

    Use https://api.outrun.to/v1 exactly as shown, without /chat/completions.

  3. 03

    Send a Grok model ID

    Put the full ID, such as grok-4.7, in the model field.

POST/v1/chat/completions
curl https://api.outrun.to/v1/chat/completions \
  -H "Authorization: Bearer $OUTRUN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.7",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
Swap the model
Grok 4.7, up to 200k tokens$0.09 in/$0.26 outper 1M tokens All Grok prices

Keep your key in an environment variable, never in client-side code.

Setup guides

Does Outrun keep my Grok prompts?

No. Outrun does not store your prompts, images or outputs on any model, Grok included. For each request Outrun keeps only a usage record for billing: model, tokens and cost. API calls are never added to chat history.

How Outrun handles your prompts

Grok API questions

The model pages list every Grok ID with its current rate and setup values.

Do I need a xAI account?

No. One Outrun key and one prepaid USD balance cover Grok and every other model on Outrun. You get the key from the Telegram bot, and eligible new accounts start with $0.10 in free credit.

Which Grok model has the lowest input price?

Grok 4.7 starts at $0.09 per 1M input tokens and $0.26 per 1M output tokens.

How do I switch models?

Keep your Outrun key and the API base URL, and change the model ID in your request. Each model page lists its prices and setup values.

Can I try Grok for free?

Eligible new accounts start with $0.10 in free API credit. Usage is billed at the rates on this page, and the Playground lets you try any model in your browser.