# ModelStack

> ModelStack is a unified API gateway for leading AI models — one API key,
> one endpoint, access to Claude, GPT, Gemini, and dozens of other chat and
> generation models with OpenAI- and Anthropic-compatible request formats.

## Docs
- Full documentation (single markdown file, all pages): https://modelstack.cc/docs.md
- Docs index: https://modelstack.cc/docs
- API reference: https://modelstack.cc/docs/api-reference
- Supported models: https://modelstack.cc/models
- Provider tiers: https://modelstack.cc/provider-tiers
- Agent teams: https://modelstack.cc/agents

Any individual docs page is also available as raw markdown by appending
".md" to its URL, e.g. https://modelstack.cc/docs/quickstart.md

## Models

## Anthropic
  - claude-opus-4-8 (Claude Opus 4.8): $5/M input, $25/M output tokens
  - claude-opus-4-6 (Claude Opus 4.6): $5/M input, $25/M output tokens
  - claude-opus-4-7 (Claude Opus 4.7): $5/M input, $25/M output tokens
  - claude-sonnet-4-6 (Claude Sonnet 4.6): $3/M input, $15/M output tokens
  - claude-haiku-4-5 (Claude Haiku 4.5): $1/M input, $5/M output tokens
  - claude-sonnet-5 (Claude Sonnet 5): $3/M input, $15/M output tokens
  - claude-sonnet-5-5 (Claude Sonnet 5.5): $2/M input, $10/M output tokens
  - claude-fable-5 (Claude Fable 5): $10/M input, $50/M output tokens
  - claude-fable-5-1 (Claude Fable 5.1): $10/M input, $50/M output tokens
  - claude-opus-5 (Claude Opus 5): $5/M input, $25/M output tokens
  - claude-opus-5-5 (Claude Opus 5.5): $4/M input, $20/M output tokens
  - claude-haiku-5-5 (Claude Haiku 5.5): $0.1/M input, $0.5/M output tokens

## ByteDance
  - bytedance/seedance-2/text_to_video (Seedance 2.0): from $1.425/per-second-video
  - bytedance/seedance-2/image_to_video (Seedance 2.0): from $1.425/per-second-video
  - bytedance/seedance-2/video_to_video (Seedance 2.0): from $0.855/per-second-video
  - bytedance/seedance-2/audio_to_video (Seedance 2.0): from $1.425/per-second-video
  - bytedance/seedance-2/reference_to_video (Seedance 2.0): from $1.425/per-second-video
  - bytedance/seedance-2-fast/text_to_video (Seedance 2.0 Fast): from $1.165/per-second-video
  - bytedance/seedance-2-fast/image_to_video (Seedance 2.0 Fast): from $1.165/per-second-video
  - bytedance/seedance-2-fast/video_to_video (Seedance 2.0 Fast): from $0.675/per-second-video
  - bytedance/seedance-2-fast/audio_to_video (Seedance 2.0 Fast): from $1.165/per-second-video
  - bytedance/seedance-2-fast/reference_to_video (Seedance 2.0 Fast): from $1.165/per-second-video
  - bytedance/seedance-2-mini/text_to_video (Seedance 2.0 Mini): from $0.715/per-second-video
  - bytedance/seedance-2-mini/image_to_video (Seedance 2.0 Mini): from $0.715/per-second-video
  - bytedance/seedance-2-mini/video_to_video (Seedance 2.0 Mini): from $0.45/per-second-video
  - bytedance/seedance-2-mini/audio_to_video (Seedance 2.0 Mini): from $0.715/per-second-video
  - bytedance/seedance-2-mini/reference_to_video (Seedance 2.0 Mini): from $0.715/per-second-video
  - bytedance/seedream/text_to_image (Seedream 3.0): from $3/per-image
  - bytedance/seedream-v4/text_to_image (Seedream 4.0): from $3.5/per-image
  - bytedance/seedream-v4/image_to_image_edit (Seedream 4.0): from $4/per-image
  - bytedance/seedream-4.5/text_to_image (Seedream 4.5): from $0.098/per-image
  - bytedance/seedream-4.5/image_to_image_edit (Seedream 4.5): from $0.098/per-image
  - bytedance/seedream-5-lite/text_to_image (Seedream 5.0 Lite): from $0.083/per-image
  - bytedance/seedream-5-lite/image_to_image (Seedream 5.0 Lite): from $0.083/per-image

## DeepSeek
  - deepseek-v3.2 (DeepSeek V3.2): $0.26/M input, $0.378/M output tokens
  - deepseek-v4-pro-0813 (DeepSeek V4 Pro 0813): $1.32/M input, $3.96/M output tokens
  - deepseek-v4-flash-0731 (DeepSeek V4 Flash 0731): $0.14/M input, $0.28/M output tokens
  - deepseek-v4.1-flash-1017 (DeepSeek V4.1 Flash 1017): $0.15/M input, $0.6/M output tokens
  - deepseek-v4-pro (DeepSeek V4 Pro 0423): $1.74/M input, $3.48/M output tokens
  - deepseek-v4-flash (DeepSeek V4 Flash 0423): $0.14/M input, $0.28/M output tokens
  - deepseek-v4-flash-vision-exp (DeepSeek V4 Flash Vision Exp): $0.22/M input, $0.66/M output tokens

## Google
  - gemini-3.1-pro (Gemini 3.1 Pro Preview): $2/M input, $12/M output tokens
  - gemini-3.1-flash-lite (Gemini 3.1 Flash Lite): $0.25/M input, $1.5/M output tokens
  - gemini-3-flash (Gemini 3 Flash Preview): $0.5/M input, $3/M output tokens
  - gemini-2.5-pro (Gemini 2.5 Pro): $1.25/M input, $10/M output tokens
  - gemma-4-31b-it (Gemma 4 31B): $0.08/M input, $0.35/M output tokens
  - gemini-2.5-flash (Gemini 2.5 Flash): $0.3/M input, $2.5/M output tokens
  - gemini-2.5-flash-lite (Gemini 2.5 Flash Lite): $0.1/M input, $0.4/M output tokens
  - gemini-3.5-flash (Gemini 3.5 Flash): $1.5/M input, $9/M output tokens
  - gemini-3.6-flash (Gemini 3.6 Flash): $0.75/M input, $3.75/M output tokens
  - gemini-3.7-flash (Gemini 3.7 Flash): $0.75/M input, $3.75/M output tokens
  - gemini-3.8-flash (Gemini 3.8 Flash): $1.5/M input, $7.5/M output tokens
  - gemini-4-argon (Gemini 4 Argon): $4/M input, $20/M output tokens
  - gemini-3.5-flash-lite (Gemini 3.5 Flash Lite): $0.3/M input, $2.5/M output tokens
  - google/nano-banana-2/text_to_image (Nano Banana 2): from $0.08/per-image
  - google/nano-banana-2/image_to_image (Nano Banana 2): from $0.08/per-image
  - google/nano-banana-2-lite/text_to_image (Nano Banana 2 Lite): from $0.04/per-image
  - google/nano-banana-2-lite/image_to_image (Nano Banana 2 Lite): from $0.04/per-image
  - google/nano-banana-pro/text_to_image (Nano Banana Pro): from $0.15/per-image
  - google/nano-banana-pro/image_to_image (Nano Banana Pro): from $0.15/per-image
  - google/veo3/text_to_video (Veo 3): from $10/per-video
  - google/veo3/image_to_video (Veo 3): from $10/per-video
  - google/veo3-fast/text_to_video (Veo 3 Fast): from $7/per-video
  - google/veo3-fast/image_to_video (Veo 3 Fast): from $7/per-video
  - google/veo3-lite/text_to_video (Veo 3 Lite): from $5/per-video
  - google/veo3-lite/image_to_video (Veo 3 Lite): from $5/per-video
  - google/gemini-tts-3-1-flash/text_to_audio (Gemini 3.1 Flash TTS): from $0.035/per-1k-characters
  - google/gemini-tts-2-5-pro/text_to_audio (Gemini 2.5 Pro TTS): from $0.035/per-1k-characters

## Kling
  - kling/2.6/text_to_video (Kling 2.6): from $0.825/per-second-video
  - kling/2.6/image_to_video (Kling 2.6): from $0.825/per-second-video
  - kling/2.6/video_motion_control (Kling 2.6): from $4.95/per-second-video
  - kling/3.0/text_to_video (Kling 3.0): from $1.05/per-second-video
  - kling/3.0/image_to_video (Kling 3.0): from $1.05/per-second-video
  - kling/3.0/video_motion_control (Kling 3.0): from $9/per-second-video
  - kling/3.0-turbo/text_to_video (Kling 3.0 Turbo): from $1.35/per-second-video
  - kling/3.0-turbo/image_to_video (Kling 3.0 Turbo): from $1.35/per-second-video
  - kling/ai-avatar/image_to_video (Kling Avatar): from $6/per-video
  - kling/ai-avatar/speech_to_video (Kling Avatar): from $6/per-video
  - kling/ai-avatar-pro/image_to_video (Kling Avatar Pro): from $9/per-video
  - kling/ai-avatar-pro/speech_to_video (Kling Avatar Pro): from $9/per-video

## MiniMax
  - minimax-m2.7 (MiniMax M2.7): $0.3/M input, $1.2/M output tokens
  - minimax-m2.5 (MiniMax M2.5): $0.3/M input, $1.2/M output tokens
  - minimax-m2.1 (MiniMax M2.1): $0.3/M input, $1.2/M output tokens
  - minimax-m3 (MiniMax M3): $0.3/M input, $1.2/M output tokens

## Moonshot
  - kimi-k3 (Kimi K3): $3/M input, $15/M output tokens
  - kimi-k2.6 (Kimi K2.6): $0.95/M input, $4/M output tokens
  - kimi-k2.5 (Kimi K2.5): $0.45/M input, $2.25/M output tokens
  - kimi-k2.7-code (Kimi K2.7 Code): $0.95/M input, $4/M output tokens

## OpenAI
  - gpt-5.5 (GPT-5.5): $5/M input, $30/M output tokens
  - gpt-5.6 (GPT-5.6): $4/M input, $20/M output tokens
  - gpt-5.6-sol (GPT-5.6 Sol): $4/M input, $20/M output tokens
  - gpt-5.6-terra (GPT-5.6 Terra): $2/M input, $12/M output tokens
  - gpt-5.6-luna (GPT-5.6 Luna): $0.2/M input, $1.2/M output tokens
  - gpt-5.4 (GPT-5.4): $2.5/M input, $15/M output tokens
  - gpt-4.1-mini (GPT-4.1 Mini): $0.4/M input, $1.6/M output tokens
  - gpt-4o-mini (GPT-4o-mini): $0.15/M input, $0.6/M output tokens
  - gpt-4.1 (GPT-4.1): $2/M input, $8/M output tokens
  - gpt-4.1-nano (GPT-4.1 Nano): $0.1/M input, $0.4/M output tokens
  - gpt-5.4-mini (GPT-5.4 Mini): $0.75/M input, $4.5/M output tokens
  - openai/gpt-image-2/text_to_image (GPT Image 2): from $0.05/per-image
  - openai/gpt-image-2/image_to_image (GPT Image 2): from $0.05/per-image
  - openai/gpt-image-1.5/text_to_image (GPT Image 1.5): from $0.03/per-image
  - openai/gpt-image-1.5/image_to_image (GPT Image 1.5): from $0.03/per-image

## Qwen
  - qwen3-coder-next (Qwen3 Coder Next): $0.11/M input, $1.5/M output tokens
  - qwen3-coder-flash (Qwen3 Coder Flash): $0.195/M input, $0.975/M output tokens
  - qwen3.5-flash (Qwen3.5-Flash): $0.065/M input, $0.26/M output tokens
  - qwen3.6-flash (Qwen 3.6 Flash): $0.1875/M input, $1.125/M output tokens
  - qwen3.7-flash (Qwen3.7-Flash): $0.03/M input, $0.13/M output tokens
  - qwen3.7-max (Qwen3.7-Max): $1.475/M input, $4.425/M output tokens
  - qwen3.8-flash (Qwen 3.8 Flash): $0.15/M input, $0.47/M output tokens
  - qwen3.8-max (Qwen 3.8 Max): $2/M input, $6/M output tokens

## StepFun
  - step-3.7-flash (Step 3.7 Flash): $0.2/M input, $1.15/M output tokens

## Unknown
  - grok/imagine/text_to_image (Grok Imagine): from $0.05/per-image
  - grok/imagine/image_to_image (Grok Imagine): from $4/per-image
  - grok/imagine/image_to_image_edit (Grok Imagine): from $4/per-image
  - grok/imagine/text_to_video (Grok Imagine): from $0.144/per-second-video
  - grok/imagine/image_to_video (Grok Imagine): from $0.144/per-second-video
  - grok/imagine/video_to_video_upscale (Grok Imagine): from $0.2/per-video
  - grok/imagine/video_to_video_extend (Grok Imagine): from $0.27/per-video
  - elevenlabs/turbo-2.5/text_to_audio (ElevenLabs Turbo 2.5): from $0.03/per-1k-characters
  - elevenlabs/multilingual-v2/text_to_audio (ElevenLabs Multilingual v2): from $0.06/per-1k-characters

## Wan
  - wan/2-7-image/text_to_image (Wan 2.7 Image): from $0.072/per-image
  - wan/2-7-image/image_to_image (Wan 2.7 Image): from $0.072/per-image
  - wan/2-7-image-pro/text_to_image (Wan 2.7 Image Pro): from $0.18/per-image
  - wan/2-7-image-pro/image_to_image (Wan 2.7 Image Pro): from $0.18/per-image
  - wan/2.2-turbo/text_to_video (Wan 2.2 Turbo): from $5.5/per-video
  - wan/2.2-turbo/image_to_video (Wan 2.2 Turbo): from $6/per-video
  - wan/2.2-turbo/speech_to_video (Wan 2.2 Turbo): from $7/per-video
  - wan/2.2-turbo/audio_to_video (Wan 2.2 Turbo): from $7/per-video
  - wan/2.2-animate/image_to_video_animate (Wan 2.2 Animate): from $6.5/per-video
  - wan/2.5/text_to_video (Wan 2.5): from $0.9/per-second-video
  - wan/2.5/image_to_video (Wan 2.5): from $0.9/per-second-video
  - wan/2.6/text_to_video (Wan 2.6): from $1.05/per-second-video
  - wan/2.6/image_to_video (Wan 2.6): from $1.05/per-second-video
  - wan/2.6/video_to_video (Wan 2.6): from $1.05/per-second-video
  - wan/2.6-flash/image_to_video (Wan 2.6 Flash): from $6.5/per-video
  - wan/2.6-flash/video_to_video (Wan 2.6 Flash): from $7.5/per-video
  - wan/2.7/text_to_video (Wan 2.7): from $1.2/per-second-video
  - wan/2.7/image_to_video (Wan 2.7): from $1.2/per-second-video
  - wan/2.7/video_to_video_edit (Wan 2.7): from $1.2/per-second-video
  - wan/2.7/reference_to_video (Wan 2.7): from $1.2/per-second-video

## xAI
  - grok-4.3 (Grok 4.3): $1.25/M input, $2.5/M output tokens
  - grok-4.6 (Grok 4.6): $2/M input, $6/M output tokens

## Xiaomi
  - mimo-v2.5 (MiMo V2.5): $0.14/M input, $0.28/M output tokens
  - mimo-v2.5-pro (MiMo V2.5 Pro): $0.435/M input, $0.87/M output tokens

## ZAI
  - glm-4.7 (GLM 4.7): $0.6/M input, $2.2/M output tokens
  - glm-5 (GLM 5): $1/M input, $3.2/M output tokens
  - glm-5.1 (GLM 5.1): $1.4/M input, $4.4/M output tokens
  - glm-5.2 (GLM 5.2): $1.4/M input, $4.4/M output tokens
  - glm-5.3 (GLM 5.3): $1.4/M input, $4.4/M output tokens
  - glm-5.3-flash (GLM 5.3 Flash): $0.15/M input, $0.5/M output tokens
