# Grok API: Grok 4.7 and Grok Imagine by xAI

> Run 3 xAI models (Grok) via one API, Playground, or MCP: text to image, text to video, LLMs. From $2.00 per 1M input tokens, no xAI API key needed.

Page: https://flymy.ai/models/provider/xai/

Models / Providers / xAI

Every xAI model that runs on FlyMy.AI, with its live inputs, its price from billing and code to call it. One FlyMy.AI key runs them all; you need no account with xAI.

3 models, text to image, text to video, LLMs, From $2.00 per 1M input tokens

Try:, [Image upscaler](https://flymy.ai/models/use-cases/ai-image-upscaler/), [Logo generator](https://flymy.ai/models/use-cases/ai-logo-generator/), [Clothes changer](https://flymy.ai/models/use-cases/ai-clothes-changer/), [Headshots](https://flymy.ai/models/use-cases/ai-headshot-generator/), [Background changer](https://flymy.ai/models/use-cases/ai-background-changer/), [Posters and flyers](https://flymy.ai/models/use-cases/ai-poster-generator/), [Video upscaler](https://flymy.ai/models/use-cases/ai-video-upscaler/), [AI dubbing](https://flymy.ai/models/use-cases/ai-dubbing/), [Lip sync](https://flymy.ai/models/use-cases/lip-sync/), [Ad generator](https://flymy.ai/models/use-cases/ai-ad-generator/)

- Text to video from $0.08 / s ### [Grok Imagine Video 1.5](https://flymy.ai/models/grok-imagine-video-1-5/) xAI · `flymyai/grok-imagine-video-1_5` xAI's video model: 1 to 15 seconds with lip-synced sound from text, a first frame or up to 14 references. [▶ Playground](https://app.flymy.ai/models/flymyai/grok-imagine-video-1_5) [<> Get API](https://flymy.ai/models/grok-imagine-video-1-5/#api)
- LLMs $2.00 / 1M in ### [Grok 4.7](https://flymy.ai/models/grok-4-7/) xAI · `flymyai/grok-4_7` xAI's reasoning model with a 500K-token window for codebases and long contracts. [▶ Playground](https://app.flymy.ai/models/flymyai/grok-4_7) [<> Get API](https://flymy.ai/models/grok-4-7/#api)
- Text to image from $0.04 / image ### [Grok Imagine Image 2.0](https://flymy.ai/models/grok-imagine-image-2-0/) xAI · `flymyai/grok-imagine-image-2_0` xAI's image model: prompts and edits of up to five pictures at 1k to 2k, with a medium quality setting. [▶ Playground](https://app.flymy.ai/models/flymyai/grok-imagine-image-2_0) [<> Get API](https://flymy.ai/models/grok-imagine-image-2-0/#api)

## Questions about xAI models

**What is the cheapest xAI model on FlyMy.AI?**

Grok 4.7 by xAI: from $2.00 per 1M input tokens. Every price on this page comes from FlyMy.AI billing; a run is charged to your balance with no subscription or minimum.

**Which xAI model do people run most?**

Grok Imagine Video 1.5 by xAI was run by the most accounts in the last 30 days, then Grok 4.7.

**Can I call every xAI model with one API key?**

Yes. Each of these 3 models answers at https://api.flymy.ai/api/v1/flymyai/<model>/ with your FlyMy.AI key in the X-API-KEY header, and the same key runs them in the playground and through the FlyMy.AI MCP. You need no account or key with any model's maker.

**Can an AI assistant pick and run the model for me?**

Yes. Connect the FlyMy.AI MCP to Claude Code, Codex, Cursor or another assistant and describe the job: it lists the models with list_media_models or recommend_model, reads the inputs with get_model_schema and runs the one it picks with run_model.

**Do I need an xAI account or API key?**

No. These models run on FlyMy.AI's account with xAI: sign in to FlyMy.AI once and every run is billed to your FlyMy.AI balance.

## Other providers

- [Google](https://flymy.ai/models/provider/google/)
- [ByteDance](https://flymy.ai/models/provider/bytedance/)
- [Alibaba](https://flymy.ai/models/provider/alibaba/)
- [MiniMax](https://flymy.ai/models/provider/minimax/)
- [OpenAI](https://flymy.ai/models/provider/openai/)
- [Kuaishou](https://flymy.ai/models/provider/kuaishou/)
- [Black Forest Labs](https://flymy.ai/models/provider/black-forest-labs/)
- [Stability AI](https://flymy.ai/models/provider/stability-ai/)
- [Lightricks](https://flymy.ai/models/provider/lightricks/)
- [Meshy](https://flymy.ai/models/provider/meshy/)
- [Tencent](https://flymy.ai/models/provider/tencent/)
- [Tripo AI](https://flymy.ai/models/provider/tripo/)
- [Hyper3D](https://flymy.ai/models/provider/hyper3d/)
- [Topaz Labs](https://flymy.ai/models/provider/topaz-labs/)
- [Anthropic](https://flymy.ai/models/provider/anthropic/)
- [HeyGen](https://flymy.ai/models/provider/heygen/)
- [Ideogram](https://flymy.ai/models/provider/ideogram/)
- [Meta](https://flymy.ai/models/provider/meta/)
- [Microsoft](https://flymy.ai/models/provider/microsoft/)
- [Mirelo](https://flymy.ai/models/provider/mirelo/)
- [PixVerse](https://flymy.ai/models/provider/pixverse/)
- [Recraft](https://flymy.ai/models/provider/recraft/)
- [VEED](https://flymy.ai/models/provider/veed/)

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
