TensaHub

Cheapest LLM APIs

LLM API pricing comparison: the 60 cheapest paid models, ranked by the total price of one million input tokens plus one million output tokens. Prices come from the providers and are refreshed every day.

Updated December 4, 2026 · 60 APIs · Search and filter the full catalog →

ModelProviderPrice (per 1M tokens in / out)ContextMedian latencyWithout key
LLM7 · codestral-latest
codestral-latest
LLM7$0.01 / $0.0232,000—
ScaleDown: Summarize
scaledown/summarize
OpenRouter$0.04 / $01,000,000—
ScaleDown: Extract
scaledown/extract
OpenRouter$0.04 / $01,000,000—
LLM7 · glm-5.3-flash
glm-5.3-flash
LLM7$0.01 / $0.03——
Upstage: Solar Mini 4.5
upstage/solar-mini-4-5
OpenRouter$0.01 / $0.04524,288—
Mistral: Mistral Nemo
mistralai/mistral-nemo
OpenRouter$0.029 / $0.03131,072—
Llama-3.1-8B-Instruct · DeepInfra
meta-llama/Llama-3.1-8B-Instruct:deepinfra
Hugging Face Inference$0.02 / $0.04131,072—
LLM7 · mistral-Nemo-Instruct-2407
mistral-Nemo-Instruct-2407
LLM7$0.03 / $0.03128,000—
LLM7 · gpt-oss:20b
gpt-oss:20b
LLM7$0.03 / $0.05128,000—
inclusionAI: Ling 3.0 Flash
inclusionai/ling-3.0-flash
OpenRouter$0.021 / $0.063262,144—
gemma-3-4b-it · Parasail
google/gemma-3-4b-it:parasail
Hugging Face Inference$0.04 / $0.05131,072—
Sao10K: Llama 3 8B Lunaris
sao10k/l3-lunaris-8b
OpenRouter$0.04 / $0.058,192—
L3-8B-Lunaris-v1 · Parasail
Sao10K/L3-8B-Lunaris-v1:parasail
Hugging Face Inference$0.04 / $0.058,192—
Z.ai: GLM 5.3 Flash (batch)
z-ai/glm-5.3-flash:batch
OpenRouter$0.023 / $0.0681,048,576—
LLM7 · gpt-5.6-luna
gpt-5.6-luna
LLM7$0.02 / $0.08——
gpt-oss-20b · AkashML
openai/gpt-oss-20b:akashml
Hugging Face Inference$0.018 / $0.09131,072—
Z.ai: GLM Flash Latest
~z-ai/glm-flash-latest
OpenRouter$0.036 / $0.0821,048,576—
GLM-5.3-Flash · Relace
zai-org/GLM-5.3-Flash:relace
Hugging Face Inference$0.036 / $0.0821,048,576—
Meta: Llama 3.1 8B Instruct
meta-llama/llama-3.1-8b-instruct
OpenRouter$0.05 / $0.08131,072—
Llama-3.1-8B-Instruct · Groq
meta-llama/Llama-3.1-8B-Instruct:groq
Hugging Face Inference$0.05 / $0.08131,072—
Mistral: Mistral Small 3
mistralai/mistral-small-24b-instruct-2501
OpenRouter$0.05 / $0.0832,768—
OpenAI: gpt-oss-20b (batch)
openai/gpt-oss-20b:batch
OpenRouter$0.024 / $0.112131,072—
Mistral: Ministral 3 8B 2512 (batch)
mistralai/ministral-8b-2512:batch
OpenRouter$0.075 / $0.075262,144—
Google: Gemma 3 4B
google/gemma-3-4b-it
OpenRouter$0.05 / $0.1131,072—
gemma-3-4b-it · DeepInfra
google/gemma-3-4b-it:deepinfra
Hugging Face Inference$0.05 / $0.1131,072—
Qwen: Qwen3.7 Flash
qwen/qwen3.7-flash
OpenRouter$0.03 / $0.131,000,000—
LLM7 · gemma4:31b
gemma4:31b
LLM7$0.04 / $0.12262,000—
gpt-oss-20b · CoreWeave
openai/gpt-oss-20b:coreweave
Hugging Face Inference$0.03 / $0.13131,072—
GLM-5.3-Flash · Pareto Inference
zai-org/GLM-5.3-Flash:pareto-inference
Hugging Face Inference$0.037 / $0.1251,048,576—
OpenAI: gpt-oss-120b (batch)
openai/gpt-oss-120b:batch
OpenRouter$0.03 / $0.136131,072—
gpt-oss-20b · DeepInfra
openai/gpt-oss-20b:deepinfra
Hugging Face Inference$0.03 / $0.14131,072—
Amazon: Nova Micro 1.0
amazon/nova-micro-v1
OpenRouter$0.035 / $0.14128,000—
gpt-oss-20b · Parasail
openai/gpt-oss-20b:parasail
Hugging Face Inference$0.03 / $0.15131,072—
gpt-oss-120b · Near AI
openai/gpt-oss-120b:near-ai
Hugging Face Inference$0.03 / $0.15131,072—
Inference.net: Schematron V2 Turbo
inference-net/schematron-v2-turbo
OpenRouter$0.03 / $0.15128,000—
gpt-oss-120b · Venice
openai/gpt-oss-120b:venice
Hugging Face Inference$0.03 / $0.15128,000—
LLM7 · gpt-6-luna
gpt-6-luna
LLM7$0.05 / $0.13——
DeepSeek: DeepSeek V4.1 Flash 1017 (batch)
deepseek/deepseek-v4.1-flash-1017:batch
OpenRouter$0.035 / $0.1491,048,576—
Cohere: Command R7B (12-2024)
cohere/command-r7b-12-2024
OpenRouter$0.037 / $0.15128,000—
MythoMax-L2-13b · Parasail
Gryphe/MythoMax-L2-13b:parasail
Hugging Face Inference$0.08 / $0.114,096—
DeepSeek: DeepSeek V4 Flash 0731 (batch)
deepseek/deepseek-v4-flash-0731:batch
OpenRouter$0.048 / $0.1441,048,576—
DeepSeek: DeepSeek V4.1 Flash (batch)
deepseek/deepseek-v4.1-flash:batch
OpenRouter$0.05 / $0.151,048,576—
Mistral: Ministral 3 3B 2512
mistralai/ministral-3b-2512
OpenRouter$0.1 / $0.1131,072—
Google: Gemma 3 12B
google/gemma-3-12b-it
OpenRouter$0.05 / $0.15131,072—
gpt-oss-120b · CoreWeave
openai/gpt-oss-120b:coreweave
Hugging Face Inference$0.03 / $0.17131,072—
gemma-3-12b-it · DeepInfra
google/gemma-3-12b-it:deepinfra
Hugging Face Inference$0.05 / $0.15131,072—
Reka Edge
rekaai/reka-edge
OpenRouter$0.1 / $0.116,384—
reka-edge-2603 · Reka
RekaAI/reka-edge-2603:reka
Hugging Face Inference$0.1 / $0.116,384—
gpt-oss-120b · DeepInfra
openai/gpt-oss-120b:deepinfra
Hugging Face Inference$0.037 / $0.17131,072—
IBM: Granite 4.2 8B
ibm-granite/granite-4.2-8b
OpenRouter$0.06 / $0.15131,072—
granite-4.2-8b · CoreWeave
ibm-granite/granite-4.2-8b:coreweave
Hugging Face Inference$0.06 / $0.15131,072—
DeepSeek-V4-Flash-0731 · Relace
deepseek-ai/DeepSeek-V4-Flash-0731:relace
Hugging Face Inference$0.07 / $0.141,048,576—
LLM7 · mimo-v2.6-flash
mimo-v2.6-flash
LLM7$0.07 / $0.141,000,000—
PrismML: Ternary Bonsai 2 9B
prism-ml/ternary-bonsai-2-9b
OpenRouter$0.08 / $0.13262,144—
Qwen: Qwen3.5-9B
qwen/qwen3.5-9b
OpenRouter$0.085 / $0.125262,144—
Qwen3.5-9B · PrimeIntellect
Qwen/Qwen3.5-9B:primeintellect
Hugging Face Inference$0.085 / $0.125262,144—
Microsoft: Phi 4
microsoft/phi-4
OpenRouter$0.07 / $0.1416,384—
phi-4 · DeepInfra
microsoft/phi-4:deepinfra
Hugging Face Inference$0.07 / $0.1416,384—
OpenAI: gpt-oss-120b
openai/gpt-oss-120b
OpenRouter$0.03 / $0.187131,072—
gpt-oss-120b · AkashML
openai/gpt-oss-120b:akashml
Hugging Face Inference$0.03 / $0.187131,072—

Generate the integration code →

Other lists