Skip to content

Best AI models in 2026

Language models you can call from an app, from hosted flagships to open weights. 21 tools, ranked by live GitHub and npm numbers.

ToolPricingGitHub starsStars, 30 daysnpm a weekLast release
DeepSeek V3Open-weight large language model from DeepSeek, since superseded by the DeepSeek V4 family.Open source105k+105None1 year ago
DeepSeek R1Open-weight reasoning model from DeepSeek, since superseded by the DeepSeek V4 family.Open source92k−7None1 year ago
Llama 2Meta's 2023 open-weight language model family, superseded by newer Llama releases.Open source59.6k+9NoneNone
StarCoderOpen source code-generation model from the BigCode project, trained on 80+ programming languages.Open source7.5k+2NoneNone
Gemma 4Google DeepMind's current generation of lightweight, open-weight language models.Open source5.8k+67None5 months ago
Anthropic ClaudeAnthropic's Claude model family, accessed through the Claude apps, the Claude API, or major clouds.Pay-as-you-go2.2k+3154M2 days ago
Claude 3.5 SonnetRetired Anthropic model from 2024 with a 200,000-token context window and the first computer use beta.Pay-as-you-goNoneNoneNoneNone
Claude Opus 4.7A previous-generation Anthropic flagship model, since superseded by Claude Opus 5.5.Pay-as-you-goNoneNoneNoneNone
Claude Sonnet 4.6A previous-generation Anthropic mid-tier model, since superseded by Claude Sonnet 5.Pay-as-you-goNoneNoneNoneNone
DeepSeek V4DeepSeek's current open-weight model family, including V4.1-Flash and V4-Pro.Open sourceNoneNoneNoneNone
DevstralMistral AI's open-weight model built specifically for coding and software engineering agents.Open sourceNoneNoneNoneNone
Gemini 2.0 FlashAn earlier Google Gemini fast, cost-efficient model, since superseded by newer Gemini 3.x Flash models.Pay-as-you-goNoneNoneNoneNone
Gemini 3.1 ProGoogle's third-generation Gemini Pro model, currently in preview, for complex reasoning tasks.Pay-as-you-goNoneNoneNoneNone
GPT-5An earlier OpenAI flagship model generation, since superseded by newer GPT-5.x and GPT-6 family models.Pay-as-you-goNoneNoneNoneNone
GPT-5.3 CodexOpenAI's specialized coding model, priced separately from its general-purpose GPT models.Pay-as-you-goNoneNoneNoneNone
Grok 3An earlier xAI Grok model, since superseded by newer Grok releases including Grok 4.7.Pay-as-you-goNoneNoneNoneNone
Grok 4An earlier xAI Grok model, since superseded by newer Grok releases including Grok 4.7.Pay-as-you-goNoneNoneNoneNone
Grok 4.3 BetaAn interim xAI Grok beta release from April 2026, since superseded by later Grok updates.Pay-as-you-goNoneNoneNoneNone
JevTypeSafe AI's System One model: returns typed decisions with probabilities instead of text.Pay-as-you-goNoneNoneNoneNone
Meta Muse SparkMeta's proprietary flagship AI model, its first major release since the Llama line.Pay-as-you-goNoneNoneNoneNone
Mistral Large 3Mistral AI's flagship large language model for complex reasoning and general-purpose tasks.Pay-as-you-goNoneNoneNoneNone

AI Models comparisons

Alternatives

How to choose

This category lists individual models and model families: the thing you name in an API call or download and run. Hosted models are reached through the maker's API or a cloud platform and are billed per token. Open-weight models can be downloaded and run on your own hardware or through a hosting provider.

Models are replaced often. Each page here says whether a model is current, superseded or retired, and points to its successor when there is one, so check the status before you build on a model.

When you compare models, look at the price per million input and output tokens, the context window, whether the weights are open, and which platforms serve it.

What to compare

  • Status: current, superseded or retired
  • Price per million input and output tokens
  • Context window
  • Open weights or API only, and the license
  • Where it is available: maker API, cloud platforms, local runners
  • What it is built for: general use, coding, reasoning

Questions

What does open-weight mean?

The trained model files are published, so you can download and run the model yourself. It is not the same as open source: each model has its own license, and some restrict commercial use.

What is a context window?

It is the amount of text, measured in tokens, that a model can take in at once, including your prompt, any documents and the conversation so far. A larger window lets the model work across longer documents or codebases in one request.

Why are some models marked superseded or retired?

Superseded means the maker has released a newer model that replaces it, though the old one may still be served. Retired means it has been switched off. Pages for both are kept so that older references still resolve, and each links to the current model.

Best AI models in 2026, ranked by real usage | ScratchDB