Free & Cheap LLM APIs

Low-cost models under $1 per million tokens (input + output) for budget-conscious workloads.

69 models

Gemini 3.5 Flash

USA

Google DeepMind's balanced Gemini 3.5 model that pairs Pro-line reasoning quality with Flash-line latency and cost. Natively multimodal across text, image, audio, and video with a 1M-token context window, configurable thinking levels, and streaming function calling, tuned for high-throughput production workloads.

Context
1.0M
Released
Jul 2026

GPT-5.6 Luna

USA

The fast, low-cost tier of OpenAI's GPT-5.6 series, optimized for high-volume, latency-sensitive tasks such as classification, extraction, routing, and lightweight agentic steps. Approaches the larger GPT-5.6 tiers on many benchmarks while running several times faster at a fraction of the price.

Context
400K
Released
Jun 2026

Sarvam-1

India

Sarvam AI's compact 2B-parameter language model built from the ground up for Indian languages. Provides best-in-class performance across 10 Indic languages (bn, gu, hi, kn, ml, mr, or, pa, ta, te) alongside English, outperforming larger general-purpose models like Gemma-2-2B and Llama-3.2-3B thanks to careful data curation and an efficient Indic tokenizer. Edge-deployable.

Context
8K
Released
Jun 2026

Sarvam-30B

India

Sarvam AI's 30B-parameter Mixture-of-Experts reasoning model trained from scratch with only 2.4B active parameters per token. Optimized for real-time deployment and Indian languages, delivering strong reasoning, coding, and conversational performance while remaining efficient to serve. Open-weights.

Context
128K
Released
Jun 2026

Sarvam-M

India

Sarvam AI's 24B-parameter instruction-tuned model derived from Mistral-Small-3.1-24B, post-trained on English plus eleven major Indic languages (bn, hi, kn, gu, mr, ml, or, pa, ta, te). Delivers large relative gains on Indian-language, math, and programming benchmarks over its base model, with a hybrid reasoning mode for complex tasks.

Context
131K
Released
Jun 2026

Sarvam-105B

India

Sarvam AI's sovereign 105B-parameter Mixture-of-Experts model activating ~9B parameters per token, with a 128K-token context window. Trained on 12 trillion tokens across 22 Indian languages using 128 sparse experts with Multi-head Latent Attention and a custom low-fertility Indic tokenizer. Wins the majority of pairwise comparisons on Indian-language and STEM benchmarks.

Context
128K
Released
Jun 2026

GLM-5.2

China

Z.ai's (formerly Zhipu AI) flagship open-weight coding model with a 1M-token context window. Mixture-of-Experts architecture with 753B total parameters and ~40B active per request, featuring two cost-balancing reasoning modes. Tops several coding benchmarks while remaining a fraction of the cost of comparable proprietary frontier models. MIT-licensed weights.

Context
1.0M
Released
Jun 2026

Kimi K2.7 Code

China

Moonshot AI's latest open-source, coding-focused model in the Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. A 1-trillion-parameter model that cuts reasoning token usage by roughly 30% versus K2.6 while improving coding and agent performance — +21.8% on Kimi Code Bench v2, +11.0% on Program Bench, and +31.5% on MLS Bench Lite for multi-language support. Released under a Modified MIT License and available via Kimi APIs and Hugging Face.

Context
1.0M
Released
Jun 2026

DiffusionGemma

USA

Google DeepMind's experimental diffusion-based member of the Gemma 4 open model family. Unlike autoregressive models that generate text one token at a time, DiffusionGemma denoises a canvas of placeholder tokens to produce up to 256 tokens in parallel, finalizing output in one block. A Mixture-of-Experts model with 26B total parameters and 3.8B active per inference, delivering roughly 4x the throughput of similarly sized autoregressive Gemma models on local hardware. Excels at non-linear tasks like in-line editing, molecular sequencing, mathematical graphing, and self-correcting puzzles.

Context
262K
Released
Jun 2026

Nemotron 3 Ultra

USA

NVIDIA's flagship open 550B-parameter Mixture-of-Experts model with 55B active parameters, built for frontier reasoning and orchestration in long-running agentic systems. Features hybrid Mamba-Transformer architecture, LatentMoE routing, multi-token prediction, and NVFP4 precision for 5x higher throughput. Achieves 30% lower cost-to-task-completion on agentic benchmarks. Supports 1M+ token context window with 95% accuracy on Ruler@1M.

Context
1.0M
Released
Jun 2026

Gemma 4 12B

USA

Google's medium-size open-weight model with 12 billion parameters from the Gemma 4 family. Encoder-free unified multimodal architecture that natively processes text, image, audio, and video inputs without dedicated encoders. Features a 256K context window and supports 140+ languages. First medium-sized model capable of natively ingesting audio. Suitable for local deployment on GPUs with 16GB VRAM.

Context
262K
Released
Jun 2026

MiniMax M3

China

MiniMax's frontier open-weight model with 1M-token context window, native multimodality (text, image, video), and strong coding capabilities. Built on MiniMax Sparse Attention (MSA) architecture, achieving 59% on SWE-Bench Pro with significantly improved efficiency at long context.

Context
1.0M
Released
Jun 2026

Falcon-H1

UAE

TII's hybrid Mamba-Transformer model that outperforms comparable offerings from Meta's Llama and Alibaba's Qwen in the 30-70B parameter range. Designed for real-world AI on everyday devices and resource-limited settings with state-of-the-art efficiency.

Context
131K
Released
May 2026

DBRX

USA

Databricks' open-source 132B parameter Mixture-of-Experts transformer model with 36B active parameters per input. Released under Databricks Open Model License, optimized for enterprise workloads including SQL generation and coding tasks.

Context
33K
Released
May 2026

Yi-Lightning

China

01.AI's flagship large language model with enhanced Mixture-of-Experts architecture. Ranked 6th on Chatbot Arena with particularly strong results in Chinese, Math, Coding, and Hard Prompts categories. Features advanced expert segmentation and optimized KV-caching.

Context
131K
Released
May 2026

Snowflake Arctic

USA

Snowflake's enterprise-focused open LLM with 480B total parameters using a fine-grained MoE architecture with only 17B active parameters per input. Apache 2.0 licensed, excels at SQL generation, coding, and enterprise intelligence tasks with breakthrough training efficiency.

Context
4K
Released
May 2026

Falcon 3 10B

UAE

TII's open-source 10B parameter model from the Falcon 3 family. Achieved number one position on Hugging Face's LLM leaderboard in its size category, outperforming Meta's Llama variants and other models under 13B parameters.

Context
33K
Released
May 2026

Ring-2.6-1T

China

InclusionAI's (Ant Group) trillion-parameter open-weights reasoning model with 63B active parameters per token. Built for real-world agent workflows with adaptive reasoning-effort modes. Features hybrid linear and MLA attention architecture with MIT license.

Context
131K
Released
May 2026

StableLM 2 12B

UK

Stability AI's 12.1 billion parameter decoder-only language model pre-trained on 2 trillion tokens of diverse multilingual and code datasets. Supports multiple languages and offers strong performance for its compact size with instruction-tuned chat variant available.

Context
4K
Released
May 2026

Alloma 8B Instruct

Uzbekistan

Uzbek LLM Lab's 8B parameter instruction-tuned model optimized for the Uzbek language. Built on Llama architecture with a custom tokenizer averaging 1.7 tokens per Uzbek word versus 3.5 in original Llama, enabling 2x faster inference. Trained on 3.6B tokens with 4096 context length.

Context
4K
Released
May 2026

K2 Think

UAE

A 32 billion parameter open-weights reasoning model by LLM360/MBZUAI, built on Qwen2.5-32B. Trained with reinforcement learning and verifiable rewards for long chain-of-thought reasoning, agentic planning, and complex problem solving in math, science, and code.

Context
131K
Released
May 2026

Solar Pro 3

Korea

Upstage's powerful Mixture-of-Experts language model with 102B total parameters and 12B active parameters per forward pass. Optimized for Korean with strong English and Japanese support. Excels at complex reasoning, structured output generation, and agentic workflows.

Context
128K
Released
May 2026

Qwen 3.7 Plus

China

Alibaba's multimodal variant in the Qwen 3.7 family, optimized for vision understanding and multimodal tasks. Ranked

Context
131K
Released
May 2026

Gemini 3.1 Flash-Lite

USA

Google's most cost-efficient Gemini model optimized for high-volume, low-latency use cases. Delivers 2.5x faster time to first token versus Gemini 2.5 Flash with full multimodal support. Ideal for agentic tasks, data extraction, translation, and classification.

Context
1.0M
Released
May 2026

Gemini 3 Flash

USA

Google's balanced model combining Gemini 3 Pro's reasoning capabilities with the Flash line's latency, efficiency, and cost. Features configurable thinking levels, multimodal function responses, and streaming function calling for complex agentic workflows.

Context
1.0M
Released
May 2026

Granite 4.1 30B

USA

IBM's largest dense decoder-only 30B parameter language model from the Granite 4.1 family. Trained on approximately 15T tokens with long-context extension up to 512K tokens. Supports tool calling, RAG, code generation, multilingual tasks across 12 languages. Released under Apache 2.0.

Context
524K
Released
May 2026

Granite 4.1 8B

USA

IBM's dense decoder-only 8B parameter language model from the Granite 4.1 family. Supports 131K-token context, tool calling, RAG, code generation with fill-in-the-middle, text summarization, classification, and extraction across 12 languages. Released under Apache 2.0.

Context
131K
Released
May 2026

Laguna M.1

USA

Poolside AI's flagship agentic coding model with 225B total parameters and 23B active (MoE). Trained from scratch in-house on 30T tokens across 6,144 NVIDIA Hopper GPUs. Optimized for complex multi-step software engineering tasks including codebase exploration, file editing, test running, and iterative debugging.

Context
128K
Released
Apr 2026

DeepSeek V4 Pro

China

DeepSeek's flagship V4 model with 1.6T total parameters (49B activated). MoE architecture supporting 1M token context. Closes the gap with frontier proprietary models on reasoning and coding benchmarks.

Context
1.0M
Released
Apr 2026

DeepSeek V4 Flash

China

DeepSeek's efficient V4 model with 284B total parameters (13B activated). Optimized for speed and cost-efficiency while maintaining strong performance. Supports 1M token context window.

Context
1.0M
Released
Apr 2026

Hy3 Preview

China

Tencent's flagship open-weight Mixture-of-Experts model from the Hunyuan family with 295B total parameters and 21B active. Integrates fast and slow thinking modes with configurable reasoning effort. Designed for agentic workflows, cross-file code refactoring, long-document analysis, and multi-step tool use.

Context
256K
Released
Apr 2026

MiMo-V2.5-Pro

China

Xiaomi's flagship 1.02T-parameter Mixture-of-Experts model with 42B active parameters, built on a hybrid-attention architecture with 3-layer Multi-Token Prediction. Designed for complex agentic tasks, software engineering, and long-horizon instruction following with a 1M-token context window.

Context
1.0M
Released
Apr 2026

Qwen 3.6 27B

China

Alibaba's dense 27B parameter model that outperforms its own 397B MoE predecessor on agentic coding benchmarks. Strong multilingual and reasoning capabilities released under Apache 2.0.

Context
131K
Released
Apr 2026

Qwen 3.6 35B-A3B

China

Alibaba's efficient Mixture-of-Experts model with 35B total parameters and 3B active per token. Frontier-level agentic coding performance with 73.4% on SWE-bench Verified and 92.7 on AIME 2026. Released under Apache 2.0.

Context
131K
Released
Apr 2026

GPT-5.4 Mini

USA

OpenAI's compact reasoning model optimized for coding, computer use, and subagent tasks. Approaches GPT-5.4 performance on several benchmarks while running more than 2x faster.

Context
1.1M
Released
Apr 2026

Qwen 3.6 Plus

China

Alibaba's proprietary flagship model in the Qwen 3.6 family, targeting enterprise AI workflows with stronger agentic coding capability, visual coding support, and end-to-end enterprise engineering features.

Context
131K
Released
Apr 2026

Gemma 4 31B

USA

Google's flagship open-weight dense model with 31B parameters. All parameters active per forward pass. Ranks among top open models with strong performance on AIME 2026 (89.2%) and MMLU Pro (85.2%). Supports vision and extended context.

Context
262K
Released
Apr 2026

Nemotron 3 Super 120B

USA

NVIDIA's open hybrid Mamba-Transformer MoE model with 120B total parameters (12B active). Features 1M token context window and excels at agentic reasoning, coding, planning, and tool calling.

Context
1.0M
Released
Apr 2026

GPT-OSS 20B

USA

OpenAI's compact open-weight model with 20 billion parameters. Released under Apache 2.0 license, designed for efficient deployment on consumer hardware while maintaining strong coding and reasoning capabilities.

Context
131K
Released
Apr 2026

Mistral Small 4

France

Mistral AI's efficient hybrid model unifying instruct, reasoning, and coding in a single model. Open-weight under Apache 2.0 with strong performance for its size class.

Context
128K
Released
Mar 2026

GLM-5.1

China

Zhipu AI's latest bilingual model with strong Chinese and English capabilities. Features improved reasoning, coding, and tool use with competitive performance on academic benchmarks.

Context
131K
Released
Mar 2026

Qwen 3.6

China

Alibaba's latest Qwen model with enhanced reasoning, multilingual capabilities, and improved instruction following. Features strong performance on coding, math, and general knowledge benchmarks.

Context
131K
Released
Mar 2026

Kimi K2.6

China

Moonshot AI's latest model with ultra-long context window support, strong reasoning capabilities, and excellent performance on complex multi-step tasks. Known for reliable long-document understanding.

Context
1.0M
Released
Mar 2026

MiniMax M2.7

China

MiniMax's latest large language model with strong multilingual and multimodal capabilities. Competitive pricing with high-quality text generation and improved reasoning performance.

Context
200K
Released
Mar 2026

DeepSeek V4

China

DeepSeek's fourth-generation model with improved mixture-of-experts architecture, enhanced reasoning and coding capabilities, and stronger multilingual performance. Competitive with frontier proprietary models.

Context
256K
Released
Feb 2026

Mistral Medium 3.5

France

Mistral AI's balanced model offering strong multilingual performance with excellent price-performance ratio. Optimized for production workloads requiring reliable quality across European and global languages.

Context
128K
Released
Feb 2026

GigaChat 3.1 Lightning

Russia

Sber's compact Mixture-of-Experts model with 10B total parameters and 1.8B active. Designed for fast multilingual assistant workloads, reasoning, code, function calling, and product-style deployment on edge devices.

Context
8K
Released
Dec 2025

Devstral 2

France

Mistral AI's frontier code agents model designed for solving software engineering tasks. Open-weight model optimized for agentic coding workflows and complex development tasks.

Context
128K
Released
Dec 2025

Grok 4.1 Fast

USA

xAI's fast and cost-effective model with 2M token context window. Offers both reasoning and non-reasoning modes at significantly lower pricing than flagship models.

Context
2.0M
Released
Nov 2025

Claude Haiku 4.5

USA

Anthropic's fastest model with near-frontier intelligence. Optimized for high-throughput, low-latency applications requiring quick responses at minimal cost. Supports extended thinking.

Context
200K
Released
Oct 2025

GLM-4.7

China

Zhipu AI's multilingual agentic coding model with strong reasoning, tool use, and UI generation capabilities. Predecessor to GLM-5.1 with competitive performance on coding benchmarks.

Context
131K
Released
Oct 2025

AlemLLM

Kazakhstan

Kazakhstan's flagship Mixture-of-Experts language model developed by Astana Hub with technical support from 01.AI. Features 247B total parameters with 22B active per token, achieving state-of-the-art results on Kazakh, Russian, and English benchmarks. Outperforms GPT-4o on Kazakh language tasks.

Context
131K
Released
Aug 2025

Trendyol LLM 8B T1

Türkiye

Turkish-optimized 8B chat model developed by Trendyol, Turkey's largest e-commerce platform. Built on Qwen3-8B and fine-tuned on large-scale Turkish e-commerce datasets. Features advanced chain-of-thought reasoning in Turkish with dual operation modes (/think and /no_think), strong instruction following, summarization, coding, and attribute extraction for catalogue enrichment. English reasoning capabilities are preserved alongside Turkish.

Context
33K
Released
Jul 2025

Gemini 2.5 Flash

USA

Google's cost-effective model optimized for high throughput tasks. Balances speed and intelligence with strong multimodal capabilities and 1M token context window.

Context
1.0M
Released
Jun 2025

Nemotron Nano 9B v2

USA

NVIDIA's compact 9B parameter model trained from scratch for both reasoning and non-reasoning tasks. Generates reasoning traces before final responses. Efficient for edge and on-device deployment.

Context
131K
Released
Jun 2025

YandexGPT 5 Lite

Russia

Yandex's compact 8B parameter language model trained on 15T tokens of primarily Russian and English text. Features 32K context window with strong performance on web, code, and mathematics tasks. Open-weight release.

Context
32K
Released
Jun 2025

WiroAI Turkish LLM 9B

Türkiye

Turkish-specialized 9B language model developed by WiroAI, built on Google's Gemma 2 architecture. Fine-tuned with Supervised Fine-Tuning (SFT) on over 500,000 carefully curated high-quality Turkish instructions, specifically adapted to Turkish culture and local context. Demonstrates superior performance on Turkish language processing tasks including conversation, reasoning, and instruction following.

Context
8K
Released
Apr 2025

Kumru 7B

Türkiye

Turkish large language model developed by VNGRS, pre-trained from scratch on 500 GB of Turkish corpora (300B tokens). Decoder-only architecture with a custom tokenizer optimized for Turkish, supporting code, math, and chat. Outperforms significantly larger multilingual models on the Cetvel Turkish benchmark. Available for on-premise enterprise deployment.

Context
8K
Released
Apr 2025

Llama 4 Scout

USA

Meta's efficient MoE model with 17B active parameters (109B total, 16 experts). Supports up to 10M token context — the longest of any production model. Strong performance on reasoning and multilingual tasks.

Context
10.0M
Released
Apr 2025

Llama 4 Maverick

USA

Meta's quality-focused MoE model with 17B active parameters (400B total, 128 experts). Targets quality-critical tasks with benchmark scores competitive with GPT-4o and Gemini 2.5 Pro.

Context
1.0M
Released
Apr 2025

Qwen3 32B

China

Alibaba's Qwen3 32B dense language model with strong reasoning and multilingual capabilities, supporting function calling and code generation across diverse tasks.

Context
131K
Released
Apr 2025

Qwen3 Coder

China

Alibaba's Qwen3 Coder model optimized for software development tasks including code generation, debugging, code review, and technical documentation with strong multilingual programming support.

Context
131K
Released
Apr 2025

DeepSeek R1

China

DeepSeek's reasoning-focused model trained with reinforcement learning for complex multi-step reasoning. Excels at math, science, and coding problems requiring chain-of-thought reasoning.

Context
131K
Released
Jan 2025

Codestral

France

Mistral AI's cutting-edge code generation model specializing in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code completion, correction, and test generation. Features efficient architecture with 2x faster generation than its predecessor.

Context
256K
Released
Jan 2025

ISSAI KazLLM 1.0 70B

Kazakhstan

Large language model developed by ISSAI (Nazarbayev University) customized from Llama 3.1 70B to improve helpfulness of responses in the Kazakh language. Part of Kazakhstan's initiative to ensure the country benefits from generative AI advancements.

Context
128K
Released
Dec 2024

Llama 3.3 70B Instruct

USA

Meta's flagship open-weight model with 70 billion parameters. Strong multilingual capabilities with competitive performance on reasoning and coding benchmarks. Available for self-hosting and through various inference providers.

Context
131K
Released
Dec 2024

DeepSeek V3

China

DeepSeek's third-generation large language model featuring mixture-of-experts architecture, strong multilingual capabilities, and competitive performance on reasoning and coding benchmarks.

Context
128K
Released
Dec 2024

Command R7B

USA

Cohere's compact 7B parameter model optimized for RAG, tool use, and code tasks. Delivers top-tier speed and efficiency on commodity GPUs and edge devices with 128K context window.

Context
128K
Released
Dec 2024

Llama 3.1 8B Instruct

USA

Meta's efficient open-weight model with 8 billion parameters from the Llama 3.1 family. Optimized for instruction following with strong performance on general tasks, coding, and multilingual benchmarks. Ideal for cost-effective deployment and edge inference scenarios.

Context
131K
Released
Jul 2024