{"data":{"id":"x-ai","name":"xAI","website":"https://x.ai","categories":["text","image","video","audio"],"docs_url":"https://docs.x.ai","notes":"Grok API. Fast variants may cost 2x. Image models billed per image.","role":"lab","models":[{"id":"x-ai/grok-4.20","provider_id":"x-ai","name":"SpaceXAI: Grok 4.20","modalities":["text","image"],"context_window":2000000,"family":"grok-4.20","status":"active","description":"Grok 4.20 is a reasoning model from SpaceXAI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering...","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1774979019,"canonical_slug":"x-ai/grok-4.20-20260309","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":1.5625,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-4.20-multi-agent","provider_id":"x-ai","name":"SpaceXAI: Grok 4.20 Multi-Agent","modalities":["text","image"],"context_window":2000000,"family":"grok-4.20-multi-agent","status":"active","description":"Grok 4.20 Multi-Agent is a variant of SpaceXAI’s Grok 4.20 designed for collaborative, agent-based workflows. Multiple agents operate in parallel to conduct deep research, coordinate tool use, and synthesize information...","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","structured_outputs","temperature","top_logprobs","top_p"],"created_at":1774979158,"canonical_slug":"x-ai/grok-4.20-multi-agent-20260309","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":1.5625,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-4.3","provider_id":"x-ai","name":"SpaceXAI: Grok 4.3","modalities":["text","image"],"context_window":1000000,"family":"grok-4.3","status":"active","description":"Grok 4.3 is a reasoning model from SpaceXAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual...","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1777591821,"canonical_slug":"x-ai/grok-4.3-20260430","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"atlascloud","cheapest_provider_name":"AtlasCloud","cheapest_price":1.5625,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-4.3:batch","provider_id":"x-ai","name":"SpaceXAI: Grok 4.3 (batch)","modalities":["text","image"],"context_window":1000000,"family":"grok-4.3","status":"active","description":"Grok 4.3 is a reasoning model from SpaceXAI. It accepts text and image inputs with text output, and is suited for agentic workflows, instruction-following tasks, and applications requiring high factual...","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1777591821,"canonical_slug":"x-ai/grok-4.3-20260430","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":null,"cheapest_provider_name":null,"cheapest_price":null,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-4.5","provider_id":"x-ai","name":"SpaceXAI: Grok 4.5","modalities":["text","image"],"context_window":500000,"family":"grok-4.5","status":"active","description":"Grok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1783523154,"canonical_slug":"x-ai/grok-4.5-20260708","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"atlascloud","cheapest_provider_name":"AtlasCloud","cheapest_price":3,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-4.6","provider_id":"x-ai","name":"SpaceXAI: Grok 4.6","modalities":["text","image"],"context_window":500000,"family":"grok-4.6","status":"active","description":"Grok 4.6 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM. It is succeeded by [Grok 4.7](/x-ai/grok-4.7).","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","stop","structured_outputs","temperature","tool_choice","tools","top_k","top_logprobs","top_p"],"created_at":1786548957,"canonical_slug":"x-ai/grok-4.6-20260810","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"atlascloud","cheapest_provider_name":"AtlasCloud","cheapest_price":3,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-4.7","provider_id":"x-ai","name":"SpaceXAI: Grok 4.7","modalities":["text","image"],"context_window":500000,"family":"grok-4.7","status":"active","description":"Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1790007541,"canonical_slug":"x-ai/grok-4.7-20260916","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"amazon-bedrock","cheapest_provider_name":"Amazon Bedrock","cheapest_price":1.65,"savings_pct":45,"savings_basis":"lab"},{"id":"x-ai/grok-build-0.1","provider_id":"x-ai","name":"SpaceXAI: Grok Build 0.1","modalities":["text","image"],"context_window":256000,"family":"grok-build-0.1","status":"active","description":"Grok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows. It supports text and image inputs with text output, and is optimized for interactive coding...","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1779298123,"canonical_slug":"x-ai/grok-build-0.1-20260520","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"atlascloud","cheapest_provider_name":"AtlasCloud","cheapest_price":1.25,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-imagine-image-quality","provider_id":"x-ai","name":"SpaceXAI: Grok Imagine Image Quality","modalities":["text","image"],"context_window":65536,"family":"grok-imagine-image-quality","status":"active","description":"Grok Imagine Image Quality is SpaceXAI's fast, high-fidelity image generation and editing model. It accepts text prompts and optional reference images, producing photorealistic outputs at 1K or 2K across a...","architecture":{"modality":"text+image->image","input_modalities":["text","image"],"output_modalities":["image"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["logprobs","max_tokens","response_format","seed","temperature","top_logprobs","top_p"],"created_at":1779117584,"canonical_slug":"x-ai/grok-imagine-image-quality-20260512","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":0,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-imagine-video","provider_id":"x-ai","name":"SpaceXAI: Grok Imagine Video","modalities":["text","image","video"],"context_window":0,"family":"grok-imagine-video","status":"active","description":"Grok Imagine Video is SpaceXAI's fast, text-, image-, and reference-conditioned video generation model. It produces short videos (1–15 seconds, 24 fps) at 480p or 720p across seven aspect ratios -...","architecture":{"modality":"text+image->video","input_modalities":["text","image"],"output_modalities":["video"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["logprobs","max_tokens","response_format","seed","temperature","top_logprobs","top_p"],"created_at":1779117586,"canonical_slug":"x-ai/grok-imagine-video-20260512","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":0,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-imagine-video-1.5","provider_id":"x-ai","name":"SpaceXAI: Grok Imagine Video 1.5","modalities":["text","image","video"],"context_window":0,"family":"grok-imagine-video-1.5","status":"active","description":"Grok Imagine Video 1.5 is a video generation model from SpaceXAI. It creates videos from text prompts, with an optional starting image to guide the scene. It can direct subject...","architecture":{"modality":"text+image->video","input_modalities":["text","image"],"output_modalities":["video"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["logprobs","max_tokens","response_format","seed","temperature","top_logprobs","top_p"],"created_at":1784548100,"canonical_slug":"x-ai/grok-imagine-video-1.5-20260719","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":0,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-imagine-video-1.5-lite","provider_id":"x-ai","name":"SpaceXAI: Grok Imagine Video 1.5 Lite","modalities":["text","image","video"],"context_window":0,"family":"grok-imagine-video-1.5-lite","status":"active","description":"Grok Imagine Video 1.5 Lite is a faster, lower-cost video generation model from SpaceXAI, distilled from [Grok Imagine Video 1.5](/x-ai/grok-imagine-video-1.5). It supports text-to-video and image-to-video, trading some quality for speed...","architecture":{"modality":"text+image->video","input_modalities":["text","image"],"output_modalities":["video"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["logprobs","max_tokens","response_format","seed","temperature","top_logprobs","top_p"],"created_at":1791309778,"canonical_slug":"x-ai/grok-imagine-video-1.5-lite-20261001","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":0,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-stt-1.0","provider_id":"x-ai","name":"SpaceXAI: Grok STT 1.0","modalities":["audio"],"context_window":0,"family":"grok-stt-1.0","status":"active","description":"Grok STT is SpaceXAI's speech-to-text model, available via the REST /v1/stt endpoint. It supports transcription with word-level timestamps, optional speaker diarization, and multichannel audio.","architecture":{"modality":"audio->transcription","input_modalities":["audio"],"output_modalities":["transcription"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":[],"created_at":1784817014,"canonical_slug":"x-ai/grok-stt-20260723","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":20.83333334,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-voice-tts-1.0","provider_id":"x-ai","name":"SpaceXAI: Grok Voice TTS 1.0","modalities":["text","audio"],"context_window":15000,"family":"grok-voice-tts-1.0","status":"active","description":"Grok Voice TTS 1.0 is a text-to-speech model from SpaceXAI. It converts text into spoken audio across 20+ languages with automatic language detection, and offers five built-in voices (Eve, Ara,...","architecture":{"modality":"text->speech","input_modalities":["text"],"output_modalities":["speech"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":[],"created_at":1778805456,"canonical_slug":"x-ai/grok-voice-tts-1.0","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":11.25,"savings_pct":null,"savings_basis":null},{"id":"x-ai/grok-imagine-image-2.0","provider_id":"x-ai","name":"xAI: Grok Imagine Image 2.0","modalities":["text","image"],"context_window":65536,"family":"grok-imagine-image-2.0","status":"active","description":"Grok Imagine Image 2.0 is an image generation and editing model from xAI. It is suited for creating images from text prompts and editing images from references, with low and...","architecture":{"modality":"text+image->image","input_modalities":["text","image"],"output_modalities":["image"],"tokenizer":"Grok","instruct_type":null},"supported_parameters":["logprobs","max_tokens","response_format","seed","temperature","top_logprobs","top_p"],"created_at":1786486044,"canonical_slug":"x-ai/grok-imagine-image-2.0-20260811","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":"x-ai","cheapest_provider_name":"xAI","cheapest_price":0,"savings_pct":null,"savings_basis":null},{"id":"~x-ai/grok-latest","provider_id":"x-ai","name":"xAI: Grok Latest","modalities":["text","image"],"context_window":500000,"family":"grok-latest","status":"active","description":"This model always redirects to the latest Grok model from xAI.","architecture":{"modality":"text+image+file->text","input_modalities":["text","image","file"],"output_modalities":["text"],"tokenizer":"Router","instruct_type":null},"supported_parameters":["include_reasoning","logprobs","max_tokens","reasoning","reasoning_effort","response_format","seed","structured_outputs","temperature","tool_choice","tools","top_logprobs","top_p"],"created_at":1783519360,"canonical_slug":"~x-ai/grok-latest","catalog_source":"openrouter","host_id":"openrouter","host_name":"OpenRouter","creator_id":"x-ai","creator_name":"xAI","cheapest_provider":null,"cheapest_provider_name":null,"cheapest_price":null,"savings_pct":null,"savings_basis":null}]}}