AI/ML API models & pricing
AI/ML API serves 151 models tracked by llmmodels.org; the cheapest is Schematron V2 Turbo at $0.032 per 1M input tokens. Documentation: docs.aimlapi.com.
| Model | Provider | Model ID | Input $/1M | Output $/1M | Context |
|---|---|---|---|---|---|
| DeepSeek V4 Pro | DeepSeek | deepseek/deepseek-v4-pro | $0.9 | $2.70 | 1M |
| Gemma 4 31B IT | Google DeepMind | google/gemma-4-31b-it | $1.05 | $1.58 | 250K |
| Gemma 4 26B A4B IT | Google DeepMind | google/gemma-4-26b-a4b-it | $0.159 | $0.635 | 256K |
| Claude Opus 5.5 | Anthropic | anthropic/claude-opus-5.5 | $4 | $20 | 1M |
| GPT-6 Astra | OpenAI | openai/gpt-6-astra | $10 | $50 | 1.1M |
| GPT-6.1 Sol | OpenAI | openai/gpt-6.1-sol | $2 | $10 | 1.1M |
| GPT OSS 20B | OpenAI | openai/gpt-oss-20b | $0.079 | $0.317 | 131K |
| Claude Sonnet 5.5 | Anthropic | anthropic/claude-sonnet-5.5 | $2 | $10 | 1M |
| Claude Fable 5.1 | Anthropic | anthropic/claude-fable-5.1 | $10 | $50 | 1M |
| Claude Opus 5 | Anthropic | anthropic/claude-opus-5 | $5 | $25 | 1M |
| Claude Fable 5 | Anthropic | anthropic/claude-fable-5 | $10 | $50 | 1M |
| GPT-5.6 Sol | OpenAI | openai/gpt-5.6-sol | $4 | $20 | 1.1M |
| GPT-6 Sol | OpenAI | openai/gpt-6-sol | $2 | $10 | 1.1M |
| GPT-5.6 Terra | OpenAI | openai/gpt-5.6-terra | $2 | $12 | 1.1M |
| GPT-6.1 Terra | OpenAI | openai/gpt-6.1-terra | $1 | $5 | 1.1M |
| GPT-5.5 | OpenAI | openai/gpt-5-5 | $5 | $30 | 1.1M |
| Claude Opus 4.8 | Anthropic | anthropic/claude-opus-4.8 | $5.29 | $26.45 | 1M |
| Claude Haiku 5.5 | Anthropic | anthropic/claude-haiku-5.5 | $0.1 | $0.5 | 1M |
| GPT-5.6 Luna | OpenAI | openai/gpt-5.6-luna | $0.2 | $1.20 | 1.1M |
| Claude Opus 4.7 | Anthropic | anthropic/claude-opus-4.7 | $5.29 | $26.45 | 1M |
| Claude Sonnet 5 | Anthropic | anthropic/claude-sonnet-5 | $2 | $10 | 1M |
| GPT-5.4 | OpenAI | openai/gpt-5-4 | $2.50 | $15 | 1.1M |
| Gemini 3.8 Flash | Google DeepMind | google/gemini-3.8-flash | $0.75 | $3.75 | 1M |
| GPT-6 Luna | OpenAI | openai/gpt-6-luna | $0.1 | $0.5 | 1.1M |
| Qwen3.8 Max | Alibaba (Qwen) | alibaba/qwen3.8-max | $2 | $6 | 1M |
| Claude Sonnet 4.6 | Anthropic | anthropic/claude-sonnet-4.6 | $3.17 | $15.87 | 200K |
| Gemini Pro Latest | Google DeepMind | google/gemini-3.1-pro-preview | $2 | $12 | 1M |
| GPT-5.5 Pro | OpenAI | openai/gpt-5.5-pro | $31.74 | $190.44 | 1.1M |
| Gemini 3.7 Flash | Google DeepMind | google/gemini-3.7-flash | $0.75 | $3.75 | 1M |
| GPT-5.4 Pro | OpenAI | openai/gpt-5.4-pro | $31.74 | $190.44 | 1.1M |
| Gemini 3.6 Flash | Google DeepMind | google/gemini-3.6-flash | $1.50 | $7.50 | 1M |
| GPT-5.4 mini | OpenAI | openai/gpt-5.4-mini | $1.59 | $9.52 | 400K |
| Muse Spark 1.3 Contributor | Meta | meta/muse-spark-1.3 | $1.32 | $4.50 | 1M |
| Llama-3.3-70B-Instruct | Meta | meta-llama/Llama-3.3-70B-Instruct-Turbo | $0.762 | $2.38 | 125K |
| GPT-5.2 | OpenAI | openai/gpt-5-2 | $1.75 | $14 | 400K |
| Inkling | Thinking Machines Lab | thinkingmachines/inkling | $1.06 | $4.28 | 1M |
| Muse Spark 1.2 | Meta | meta/muse-spark-1.2 | $1.32 | $4.50 | 1M |
| Claude Opus 4.5 (latest) | Anthropic | anthropic/claude-opus-4.5 | $5.29 | $26.45 | 200K |
| Gemma 3 27B IT | Google DeepMind | google/gemma-3-27b-it | $0.159 | $0.487 | 125K |
| GPT-5.4 nano | OpenAI | openai/gpt-5.4-nano | $0.212 | $1.32 | 400K |
| Inkling Small | Thinking Machines Lab | thinkingmachines/inkling-small | $0.614 | $1.52 | 512K |
| Muse Spark 1.1 | Meta | meta/muse-spark-1.1 | $1.32 | $4.50 | 1M |
| GPT-5 | OpenAI | openai/gpt-5 | $1.25 | $10 | 400K |
| GPT-5.1 | OpenAI | openai/gpt-5-1 | $1.25 | $10 | 400K |
| Claude Sonnet 4.5 (latest) | Anthropic | anthropic/claude-sonnet-4.5 | $3.17 | $15.87 | 200K |
| Claude Haiku 4.5 (latest) | Anthropic | anthropic/claude-haiku-4.5 | $1.06 | $5.29 | 200K |
| GPT-5 Mini | OpenAI | openai/gpt-5-mini | $0.25 | $2 | 400K |
| GPT-5.2 Pro | OpenAI | openai/gpt-5.2-pro | $22.22 | $177.74 | 400K |
| GPT-5 Pro | OpenAI | openai/gpt-5-pro | $15.87 | $126.96 | 400K |
| GPT-5 Nano | OpenAI | openai/gpt-5-nano | $0.05 | $0.4 | 400K |
| Kimi K2 Thinking | Moonshot AI | moonshotai/kimi-k2-thinking | $0.635 | $2.65 | 256K |
| GPT-4.1 | OpenAI | openai/gpt-4.1 | $2 | $8 | 1M |
| o3-pro | OpenAI | openai/o3-pro | $21.16 | $84.64 | 200K |
| GPT-4.1 mini | OpenAI | openai/gpt-4.1-mini | $0.4 | $1.60 | 1M |
| Gemma 2 27B | Google DeepMind | google/gemma-2-27b-it | $0.688 | $0.688 | 8K |
| GPT-4o mini | OpenAI | openai/gpt-4o-mini | $0.15 | $0.6 | 125K |
| Qwen Max | Alibaba (Qwen) | alibaba/qwen-max | $1.12 | $4.48 | 32K |
| Mistral Large 3 | Mistral AI | mistralai/mistral-large | $2.12 | $6.35 | 125K |
| Mistral Nemo | Mistral AI | mistralai/mistral-nemo | $0.159 | $0.18 | 125K |
| Mixtral 8x22B Instruct | Mistral AI | mistralai/mixtral-8x22b-instruct | $2.12 | $6.35 | 64K |
| Qwen3.8 Flash | Alibaba (Qwen) | alibaba/qwen3.8-flash | $0.16 | $0.47 | 1M |
| Qwen3.8 2.4T A95B | Alibaba (Qwen) | alibaba/qwen3.8-2.4t-a95b | $2.65 | $6.61 | 256K |
| Qwen3-Next 80B-A3B Instruct | Alibaba (Qwen) | alibaba/qwen3-next-80b-a3b-instruct | $0.159 | $1.27 | 126K |
| Qwen3-Coder 480B-A35B Instruct | Alibaba (Qwen) | alibaba/qwen3-coder-480b-a35b-instruct | $1.06 | $5.16 | 262K |
| Gemma 3 12B IT | Google DeepMind | google/gemma-3-12b-it | $0.053 | $0.159 | 131K |
| Gemma 3 4B IT | Google DeepMind | google/gemma-3-4b-it | $0.053 | $0.106 | 131K |
| GPT OSS Safeguard 20B | OpenAI | openai/gpt-oss-safeguard-20b | $0.079 | $0.317 | 128K |
| DeepSeek Chat | DeepSeek | deepseek/deepseek-chat-v3-0324 | $0.307 | $1.21 | 125K |
| GLM-4.7-Flash | Zhipu AI (Z.ai) | z-ai/glm-4.7-flash | $0.132 | $0.529 | 198K |
| Hy3 | Tencent | tencent/hy3 | $0.212 | $0.846 | 256K |
| GPT-5.3 Codex | OpenAI | openai/gpt-5.3-codex | $3.70 | $29.62 | 400K |
| MiMo-V2.5 | Xiaomi | xiaomi/mimo-v2.5 | $0.148 | $0.296 | 1M |
| Mistral Small 4 | Mistral AI | mistralai/mistral-small-2603 | $0.198 | $0.793 | 256K |
| DeepSeek V4 Flash Vision Exp | DeepSeek | deepseek/deepseek-v4-flash-vision-exp | $0.44 | $1.32 | 1M |
| Muse Glimmer 30B | Meta | meta/muse-glimmer-30b | $0.37 | $1.59 | 128K |
| Hy4 preview | Tencent | tencent/hy4-preview | $0.882 | $2.65 | 1M |
| MiMo-V2.5-Pro | Xiaomi | xiaomi/mimo-v2.5-pro | $0.46 | $0.92 | 1M |
| Grok 4.20 (Non-Reasoning) | xAI | x-ai/grok-4-20-0309-non-reasoning | $1.25 | $2.50 | 2M |
| Kimi K2 | Moonshot AI | moonshotai/kimi-k2 | $0.603 | $2.43 | 128K |
| GPT-4o | OpenAI | openai/gpt-4o | $2.50 | $10 | 125K |
| Gemini 3.1 Pro Preview Custom Tools | Google DeepMind | google/gemini-3.1-pro-preview-customtools | $2.12 | $12.70 | 1M |
| Gemini 3.1 Flash Lite Preview | Google DeepMind | google/gemini-3.1-flash-lite-preview | $0.265 | $1.59 | 1M |
| Mistral Medium 3.5 | Mistral AI | mistralai/mistral-medium-3-5 | $1.59 | $7.93 | 256K |
| Devstral 2 | Mistral AI | mistralai/devstral-2512 | $0.466 | $2.33 | 256K |
| GPT-5.1 Codex Max | OpenAI | openai/gpt-5.1-codex-max | $2.65 | $21.16 | 400K |
| GLM-4.5V | Zhipu AI (Z.ai) | z-ai/glm-4.5v | $0.635 | $1.90 | 64K |
| Codestral 25.08 | Mistral AI | mistralai/codestral-2508 | $0.317 | $0.952 | 250K |
| Ministral 3 14B | Mistral AI | mistralai/ministral-14b-2512 | $0.37 | $0.37 | 256K |
| GLM-4.6V | Zhipu AI (Z.ai) | z-ai/glm-4.6v | $0.317 | $0.952 | 128K |
| Qwen 3.8 Max Prime | Alibaba (Qwen) | alibaba/qwen3.8-max-prime | $4.23 | $12.70 | 1M |
| Ministral 3 8B 2512 | Mistral AI | mistralai/ministral-8b-2512 | $0.317 | $0.317 | 256K |
| xAI Grok 4 Fast Non-Reasoning | xAI | x-ai/grok-4-fast-non-reasoning | $1.25 | $2.50 | 2M |
| Gemini Flash Latest | Google DeepMind | google/gemini-flash-latest | $1.59 | $9.52 | 1M |
| Mistral Small 3.2 24B | Mistral AI | mistralai/mistral-small-3.2-24b-instruct | $0.079 | $0.212 | 125K |
| Ministral 3 3B | Mistral AI | mistralai/ministral-3b-2512 | $0.159 | $0.159 | 128K |
| Voxtral Small 24B 2507 | Mistral AI | mistralai/voxtral-small-24b-2507 | $0.106 | $0.317 | 32K |
| Qwen Plus | Alibaba (Qwen) | alibaba/qwen-plus | $0.28 | $0.84 | 131K |
| Mistral Small 3 | Mistral AI | mistralai/mistral-small-24b-instruct-2501 | $0.053 | $0.085 | 32K |
| Mistral Medium 3 | Mistral AI | mistralai/mistral-medium-3 | $0.423 | $2.12 | 128K |
| GPT-5.4 Image 2 | OpenAI | openai/gpt-5.4-image-2 | $8.46 | $15.87 | 272K |
| Mistral Small 3.1 24B | Mistral AI | mistralai/mistral-small-3.1-24b-instruct | $0.371 | $0.587 | 125K |
| Saba | Mistral AI | mistralai/mistral-saba | $0.212 | $0.635 | 32K |
| Mistral Medium 3.1 | Mistral AI | mistralai/mistral-medium-3.1 | $0.423 | $2.12 | 128K |
| Step 5 Preview | StepFun | stepfun/step-5-preview | $1.06 | $2.86 | 1M |
| Reka Edge | Reka AI | rekaai/reka-edge | $0.106 | $0.106 | 16K |
| GLM-5V-Turbo | Zhipu AI (Z.ai) | z-ai/glm-5v-turbo | $1.20 | $4 | 198K |
| GLM-5-Turbo | Zhipu AI (Z.ai) | z-ai/glm-5-turbo | $1.20 | $4 | 256K |
| Seed 2.0 Mini | ByteDance Seed | bytedance-seed/seed-2.0-mini | $0.106 | $0.423 | 256K |
| Seed 2.0 Lite | ByteDance Seed | bytedance-seed/seed-2.0-lite | $0.265 | $2.12 | 256K |
| Command R7B | Cohere | cohere/command-r7b-12-2024 | $0.04 | $0.159 | 125K |
| Fugu Ultra | Sakana AI | sakana/fugu-ultra | $5.29 | $31.74 | 1M |
| Command R+ | Cohere | cohere/command-r-plus-08-2024 | $2.65 | $10.58 | 125K |
| Fugu Max | Sakana AI | sakana/fugu-max | $2.12 | $6.35 | 1M |
| Solar Pro 4 | Upstage | upstage/solar-pro4 | $0.159 | $0.635 | 512K |
| Schematron V2 Small | Inference Net | inference-net/schematron-v2-small | $0.053 | $0.243 | 125K |
| Schematron V2 Turbo | Inference Net | inference-net/schematron-v2-turbo | $0.032 | $0.159 | 125K |
| Command A | Cohere | cohere/command-a | $2.65 | $10.58 | 250K |
| Sonar | Perplexity | perplexity/sonar | $1 | $1 | 125K |
| Nova Pro 1.0 | Amazon | amazon/nova-pro-v1 | $0.846 | $3.39 | 300K |
| Perceptron Mk1.5 | Perceptron | perceptron/perceptron-mk1.5 | $0.159 | $1.59 | 36K |
| Hy-MT2-7B | Tencent | tencent/hy-mt2-7b | $0.078 | $0.312 | 8K |
| Hy-MT2-30B-A3B | Tencent | tencent/hy-mt2-30b-a3b | $0.078 | $0.312 | 8K |
| Hy-MT2-1.8B | Tencent | tencent/hy-mt2-1.8b | $0.047 | $0.187 | 8K |
| Pareto | Unbiased | unbiased/pareto | $2.65 | $7.93 | 256K |
| Morph V3 Large | Morph | morph/morph-v3-large | $0.952 | $2.01 | 256K |
| Morph V3 Fast | Morph | morph/morph-v3-fast | $0.846 | $1.27 | 80K |
| Sonar Pro | Perplexity | perplexity/sonar-pro | $3 | $15 | 200K |
| Nova Lite 1.0 | Amazon | amazon/nova-lite-v1 | $0.063 | $0.254 | 300K |
| Nova Micro 1.0 | Amazon | amazon/nova-micro-v1 | $0.037 | $0.148 | 125K |
| Aion-RP 1.0 (8B) | AionLabs | aion-labs/aion-rp-llama-3.1-8b | $0.846 | $1.69 | 32K |
| Command R | Cohere | cohere/command-r-08-2024 | $0.159 | $0.635 | 125K |
| Relace Apply 3 | Relace | relace/relace-apply-3 | $0.899 | $1.32 | 250K |
| Relace Search | Relace | relace/relace-search | $1.06 | $3.17 | 250K |
| Uncensored | Cognitivecomputations | cognitivecomputations/dolphin-mistral-24b-venice-edition | $0.212 | $0.952 | 125K |
| Cydonia 24B V4.1 | Thedrummer | thedrummer/cydonia-24b-v4.1 | $0.317 | $0.529 | 128K |
| Skyfall 36B V2 | Thedrummer | thedrummer/skyfall-36b-v2 | $0.582 | $0.846 | 32K |
| Magnum v4 72B | Anthracite Org | anthracite-org/magnum-v4-72b | $3.17 | $5.29 | 32K |
| MythoMax L2 13B | Gryphe | gryphe/mythomax-l2-13b | $1.98 | $1.98 | 4K |
| UnslopNemo 12B | Thedrummer | thedrummer/unslopnemo-12b | $0.423 | $0.423 | 32K |
| Llama 3 8B Lunaris | Sao10K | sao10k/l3-lunaris-8b | $0.053 | $0.053 | 8K |
| Llama 3.1 Euryale 70B v2.2 | Sao10K | sao10k/l3.1-euryale-70b | $1.53 | $1.53 | 128K |
| ReMM SLERP 13B | Undi95 | undi95/remm-slerp-l2-13b | $0.529 | $0.793 | 6K |
| Weaver (alpha) | Mancer | mancer/weaver | $0.793 | $1.06 | 8K |