Skip to content Chat

Cheapest long-context LLM API

The cheapest long-context LLM API on OceanToken is Llama 4 Scout, at $0.10 / $0.30 per 1M tokens. Below, 20 models ranked by the price every account pays.

Get API Key Ranked by price

Lowest price

$0.10 / $0.30 per 1M tokens

Llama 4 Scout

Ranked by price 20

#ModelFamilyContextPriceDiscount
1Llama 4 Scoutmeta-llama/llama-4-scoutLlama1.31M$0.10 / $0.30 per 1M tokens—
2Gemini 2.5 Flash Litegoogle/gemini-2.5-flash-liteGemini1.05M$0.09 / $0.36 per 1M tokens $0.10 / $0.40−10%
3GPT-4.1 Nanoopenai/gpt-4.1-nanoGPT1.05M$0.09 / $0.36 per 1M tokens $0.10 / $0.40−10%
4Nemotron 3 Supernvidia/nemotron-3-super-120b-a12bNemotron1.05M$0.085 / $0.40 per 1M tokens—
5GPT-6 Lunaopenai/gpt-6-lunaGPT1.05M$0.09 / $0.45 per 1M tokens $0.10 / $0.50−10%
6GPT-6 Luna Proopenai/gpt-6-luna-proGPT1.05M$0.10 / $0.50 per 1M tokens—
7GLM 5.3 Flashz-ai/glm-5.3-flashGLM1.05M$0.15 / $0.50 per 1M tokens—
8DeepSeek V4 Flash 0423deepseek/deepseek-v4-flashDeepSeek1.05M$0.21 / $0.84 per 1M tokens $0.30 / $1.20−40%
9DeepSeek V4 Flash 0731deepseek/deepseek-v4-flash-0731DeepSeek1.05M$0.21 / $0.84 per 1M tokens $0.30 / $1.20−40%
10DeepSeek V4.1 Flashdeepseek/deepseek-v4.1-flashDeepSeek1.05M$0.21 / $0.84 per 1M tokens $0.30 / $1.20−40%
11DeepSeek V4.1 Flash (1017)deepseek/deepseek-v4.1-flash-1017DeepSeek1.05M$0.21 / $0.84 per 1M tokens $0.30 / $1.20−40%
12GPT-5.6 Lunaopenai/gpt-5.6-lunaGPT1.05M$0.18 / $1.08 per 1M tokens $0.20 / $1.20−10%
13MiniMax-01minimax/minimax-01MiniMax1M$0.20 / $1.10 per 1M tokens—
14GPT-5.6 Luna Proopenai/gpt-5.6-luna-proGPT1.05M$0.20 / $1.20 per 1M tokens—
15Gemini 3.1 Flash Litegoogle/gemini-3.1-flash-liteGemini1.05M$0.225 / $1.35 per 1M tokens $0.25 / $1.50−10%
16Gemini 3.1 Flash Lite Previewgoogle/gemini-3.1-flash-lite-previewGemini1.05M$0.225 / $1.35 per 1M tokens $0.25 / $1.50−10%
17GLM 5.3 FlashXz-ai/glm-5.3-flashxGLM1.05M$0.37 / $1.25 per 1M tokens—
18GPT-4.1 Miniopenai/gpt-4.1-miniGPT1.05M$0.36 / $1.44 per 1M tokens $0.40 / $1.60−10%
19Gemini 2.5 Flashgoogle/gemini-2.5-flashGemini1.05M$0.27 / $2.25 per 1M tokens $0.30 / $2.50−10%
20Gemini 3.5 Flash Litegoogle/gemini-3.5-flash-liteGemini1.05M$0.27 / $2.25 per 1M tokens $0.30 / $2.50−10%

About these prices

Frequently asked questions

What is the cheapest long-context LLM API?

On OceanToken it is Llama 4 Scout, at $0.10 / $0.30 per 1M tokens. Next is Gemini 2.5 Flash Lite, at $0.09 / $0.36 per 1M tokens. Both answer on the same API with the same key.

How are the models ranked?

Ranked by blended price (half input, half output tokens, per 1M), as every account pays it; only models of named families are ranked.

Is the cheapest model good enough?

The price and the listed capabilities are facts this page can show; how well a model does your task is not. Run the same prompts on two models: with one key, switching is a one-line change.

Get API Key All models

Keep exploring

Llama API · Gemini API · GPT API · Nemotron API · MiniMax API

Cheapest LLM API · Cheapest vision LLM API · Cheapest reasoning model API · Cheapest video generation API · Cheapest image generation API · Cheapest embedding API