Home | Appendix

|  |  | AI Models

AI models are constantly evolving, with new models appearing, updating, and sometimes disappearing. While a complete compendium of models and capabilities is impossible to create and maintain, here is a list of the commercial models currently supported, listing the size of the context window and supported functions, e.g., vision. The icons for the functions are as follows: for vision, for tooling, for thinking, and for deep search. OpenAI: gpt-4.1-nano: 1048576 tokens gpt-4.1-mini: 1048576 tokens gpt-4.1: 1048576 tokens gpt-5-nano: 400000 tokens gpt-5-mini: 400000 tokens gpt-5: 400000 tokens o3: 200000 tokens o4-mini: 200000 tokens Anthropic: Claude 3.5 Haiku: 199999 tokens Claude 4 Sonnet: 199999 tokens Claude 4.5 Sonnet: 199999 tokens Claude 4.1 Opus: 199999 tokens Gemini: gemini-flash-lite: 1048576 tokens gemini-flash: 1048576 tokens gemini-pro: 1048576 tokens Mistral: magistral-small-latest: 131072 tokens magistral-medium-latest: 131072 tokens mistral-small-latest: 131072 tokens mistral-medium-latest: 131072 tokens mistral-large-latest: 131072 tokens Perplexity: sonar: 131072 tokens sonar-reasoning: 131072 tokens sonar-reasoning-pro: 131072 tokens sonar-deep-research: 131072 tokens sonar-pro: 199999 tokens
Note: OpenRouter models provide access to some of the commercial models listed above. These are not included in the following list. Also, if you have an existing API key for a commercial model accessible via OpenRouter, we strongly recommend you use the bespoke key assigned by the AI provider.
OpenRouter: amazon/nova-lite-v1: 300000 tokens amazon/nova-micro-v1: 128000 tokens amazon/nova-pro-v1: 300000 tokens baidu/ernie-4.5-300b-a47b: 123000 tokens baidu/ernie-4.5-vl-424b-a47b: 123000 tokens deepseek/deepseek-v3.1-terminus: 163840 tokens deepseek/deepseek-r1: 163840 tokens google/gemma-3-27b-it: 131072 tokens meta-llama/llama-4-maverick: 1048576 tokens meta-llama/llama-4-scout: 327680 tokens microsoft/phi-4: 16384 tokens microsoft/phi-4-multimodal-instruct: 131072 tokens microsoft/phi-4-reasoning-plus: 32768 tokens mistralai/codestral-2508: 256000 tokens mistralai/devstral-medium: 131072 tokens mistralai/devstral-small: 128000 tokens mistralai/magistral-medium-2506:thinking: 40960 tokens mistralai/mistral-saba: 32768 tokens moonshotai/kimi-dev-72b: 131072 tokens moonshotai/kimi-k2-0905: 262144 tokens openai/codex-mini: 200000 tokens openai/gpt-5-codex: 400000 tokens openai/gpt-5-pro: 400000 tokens openai/gpt-oss-120b: 131072 tokens openai/gpt-oss-20b: 131072 tokens openai/o4-mini-high: 200000 tokens qwen/qwen3-235b-a22b: 40960 tokens qwen/qwen3-235b-a22b-2507: 262144 tokens qwen/qwen3-235b-a22b-thinking-2507: 262144 tokens qwen/qwen3-coder: 262144 tokens qwen/qwen3-coder-flash: 128000 tokens qwen/qwen3-coder-plus: 128000 tokens qwen/qwen3-max: 256000 tokens qwen/qwen3-vl-235b-a22b-instruct: 131072 tokens qwen/qwen3-vl-235b-a22b-thinking: 65536 tokens x-ai/grok-4: 256000 tokens x-ai/grok-4-fast: 2000000 tokens x-ai/grok-code-fast-1: 256000 tokens z-ai/glm-4.5-air: 131072 tokens z-ai/glm-4.5v: 65536 tokens z-ai/glm-4.6: 202752 tokens Bear in mind, local AI models are not listed here due to the lack of standardization. Depending on your hardware (and your level of patience), you may be running larger models than someone on a less powerful machine. Also, you may have a penchant for a specific AI model provider and want to use their models.