---
title: "GLM 4.7 Flash vs Llama 4 Scout API pricing compared | BroadRouter"
description: "GLM 4.7 Flash vs Llama 4 Scout API price per 1M tokens: USD 0.06 / USD 0.40 vs USD 0.10 / USD 0.30 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/glm-4.7-flash-vs-llama-4-scout/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# GLM 4.7 Flash vs Llama 4 Scout API pricing

Updated 2026-11-15

GLM 4.7 Flash: USD 0.06 input, USD 0.40 output per 1M tokens (Cloudflare Workers AI). Llama 4 Scout: USD 0.10 input, USD 0.30 output per 1M tokens (DeepInfra). At 3 input tokens per output token, Llama 4 Scout costs 3.4% more than GLM 4.7 Flash (USD 0.15 vs USD 0.145 per 1M).

Picked by the same-tier rule: both are in the first quarter of the indexed models by price (below USD 0.1556 per 1M tokens at 3:1) and in the same size class, small (a tier word such as Flash, Mini or Haiku, or 40B parameters or fewer). Llama 4 Scout is the 4th-closest-priced model from another maker to GLM 4.7 Flash in that bucket. **Price only**: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-15), with no claim about quality, speed or accuracy.

## How do GLM 4.7 Flash and Llama 4 Scout differ on price?

-   Cheapest input price: GLM 4.7 Flash USD 0.06 against USD 0.08 per 1M tokens, so Llama 4 Scout costs 1.33× as much (33% more).
-   Cheapest output price: Llama 4 Scout USD 0.30 against USD 0.40 per 1M tokens, so GLM 4.7 Flash costs 1.33× as much (33% more).
-   Among the 201 indexed models, GLM 4.7 Flash ranks 38th cheapest and Llama 4 Scout 40th on the 3:1 blend.
-   The cheaper model changes at 2.5 input tokens per output token.
-   Only GLM 4.7 Flash lists a cached-input discount: GLM 4.7 Flash at 2 standard prices of 5, from USD 0.01 (Novita AI, 86% below that provider's input price). Llama 4 Scout's cached tokens bill at the input price.
-   Llama 4 Scout states up to 1,048,576 tokens of context, 5.2× the 202,752 of GLM 4.7 Flash.
-   Both have 6 providers with a standard price; 4 providers sell both (GMI Cloud, Novita AI, Amazon Bedrock and Cloudflare Workers AI).
-   On one account, GMI Cloud charges USD 0.1525 for GLM 4.7 Flash (1.05× its cheapest price) and USD 0.185 for Llama 4 Scout (1.23× its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
-   Shopping around matters more for Llama 4 Scout: its dearest standard price is 2.8× its cheapest, against 1.05× for GLM 4.7 Flash.
-   GLM 4.7 Flash has no batch price on file; Llama 4 Scout has a batch price at 2 providers, from USD 0.1462 at 3:1 (Amazon Bedrock).
-   For the one-developer coding agent preset, the gap is USD 1,426 a year in GLM 4.7 Flash's favour (GLM 4.7 Flash USD 70.20 a month, Llama 4 Scout USD 189.00).

## GLM 4.7 Flash and Llama 4 Scout prices side by side

USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.

GLM 4.7 Flash and Llama 4 Scout API prices compared
| Price | GLM 4.7 Flash | Llama 4 Scout |
| --- | --- | --- |
| Model page | [GLM 4.7 Flash](https://broadrouter.com/llm-api-pricing/glm-4.7-flash/) · Z.ai · 6 providers | [Llama 4 Scout 17B 16E Instruct](https://broadrouter.com/llm-api-pricing/llama-4-scout/) · Meta · 6 providers |
| Cheapest standard price, blended 3:1 | USD 0.145 lower · USD 0.06 in / USD 0.40 out at Cloudflare Workers AI · [Cloudflare Workers AI page](https://developers.cloudflare.com/workers-ai/platform/pricing/) checked 2026-11-14 | USD 0.15 · USD 0.10 in / USD 0.30 out at DeepInfra · [DeepInfra page](https://deepinfra.com/meta-llama/Llama-4-Scout-17B-16E-Instruct) checked 2026-11-14 |
| Cheapest input | USD 0.06 lower · Cloudflare Workers AI [source](https://developers.cloudflare.com/workers-ai/platform/pricing/) | USD 0.08 · GMI Cloud [source](https://console.gmicloud.ai/model/llm/llama-4-scout-17b-16e-instruct/169f3961-e31c-4829-8008-2a3a05184fa8) |
| Cheapest cached input | USD 0.01 · Novita AI [source](https://novita.ai/pricing) | No standard price lists a cache price; cached tokens bill at the input price. |
| Cheapest output | USD 0.40 · Cloudflare Workers AI [source](https://developers.cloudflare.com/workers-ai/platform/pricing/) | USD 0.30 lower · DeepInfra [source](https://deepinfra.com/meta-llama/Llama-4-Scout-17B-16E-Instruct) |
| Maker's own API | Z.ai publishes no paid standard price on its own API that we found. | Meta publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.07 / USD 0.40 · input / output, 5 prices | USD 0.175 / USD 0.625 · input / output, 6 prices |
| Context window | 202,752 tokens, largest stated; from 200,000 at some providers | 1,048,576 tokens, largest stated; from 131,072 at some providers |
| Providers with a standard price | 6 (1 free, unranked) | 6 |

-   **Lower** marks the lower price on a line; **tie**, equal prices. Other tiers and free rows are on the model pages.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20GLM%204.7%20Flash%20vs%20Llama%204%20Scout%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fglm-4.7-flash-vs-llama-4-scout%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What do GLM 4.7 Flash and Llama 4 Scout cost for a real workload?

30 days at each model's cheapest standard price for the workload (presets of the [cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-4.7-flash,llama-4-scout); cached input at the cached price where listed).

Monthly cost of three workloads on GLM 4.7 Flash and Llama 4 Scout
| Workload | GLM 4.7 Flash | Llama 4 Scout | Difference |
| --- | --- | --- | --- |
| **Support chatbot** · 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 10.26 · Featherless | USD 14.40 · DeepInfra | USD 4.14 · GLM 4.7 Flash lower |
| **RAG over documents** · 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 17.91 · Featherless | USD 26.70 · GMI Cloud | USD 8.79 · GLM 4.7 Flash lower |
| **Coding agent (one developer)** · 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 70.20 · Novita AI | USD 189.00 · GMI Cloud | USD 118.80 · GLM 4.7 Flash lower |

GLM 4.7 Flash is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 2.69× as much as the cheaper one.

## Does the cheaper model change with your input:output ratio?

The cheaper model changes with the mix: below 2.5 input tokens per output token, Llama 4 Scout is cheaper; above 2.5, GLM 4.7 Flash is cheaper. At the site's 3:1 blend, GLM 4.7 Flash is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.

Price per 1M tokens of GLM 4.7 Flash and Llama 4 Scout at different input:output mixes
| Input : output tokens | GLM 4.7 Flash | Llama 4 Scout |
| --- | --- | --- |
| **1 : 3** (long answers) | USD 0.315 · Cloudflare Workers AI | USD 0.25 lower · DeepInfra |
| **1 : 1** | USD 0.23 · Cloudflare Workers AI | USD 0.20 lower · DeepInfra |
| **3 : 1** (the site’s blend) | USD 0.145 lower · Cloudflare Workers AI | USD 0.15 · DeepInfra |
| **10 : 1** (retrieval, long prompts) | USD 0.09091 lower · Cloudflare Workers AI | USD 0.1182 · DeepInfra |
| **30 : 1** (agents, big contexts) | USD 0.07097 lower · Cloudflare Workers AI | USD 0.09355 · GMI Cloud |

USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.

## What do GLM 4.7 Flash and Llama 4 Scout cost per character in other languages?

Not measured: the [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/) covers only tokenizers we could measure from published files, and GLM 4.7 Flash is not among them. Count tokens on your own text with the counters below.

## Check it on your own traffic

-   [GLM 4.7 Flash API pricing](https://broadrouter.com/llm-api-pricing/glm-4.7-flash/): all 6 providers and other tiers.
-   [Llama 4 Scout 17B 16E Instruct API pricing](https://broadrouter.com/llm-api-pricing/llama-4-scout/): all 6 providers and other tiers.
-   [Cost calculator with GLM 4.7 Flash and Llama 4 Scout preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-4.7-flash,llama-4-scout)
-   [GLM token counter](https://broadrouter.com/tools/glm-token-counter/)
-   [Llama 4 token counter](https://broadrouter.com/tools/llama-4-token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [GLM 5.3 Flash vs GLM 4.7 Flash](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-flash-vs-glm-4.7-flash/) · [GLM 4.7 Flash vs GLM 4.7](https://broadrouter.com/llm-api-pricing/compare/glm-4.7-flash-vs-glm-4.7/) · [Llama 4 Scout vs Gemma 4 31B](https://broadrouter.com/llm-api-pricing/compare/llama-4-scout-vs-gemma-4-31b-it/) · [every GLM 4.7 Flash comparison](https://broadrouter.com/llm-api-pricing/compare/#m-glm-4.7-flash) · [every Llama 4 Scout comparison](https://broadrouter.com/llm-api-pricing/compare/#m-llama-4-scout) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## Questions

### Is GLM 4.7 Flash cheaper than Llama 4 Scout?

Yes. On a blend of 3 input tokens to 1 output token, GLM 4.7 Flash costs USD 0.145 per 1M tokens and Llama 4 Scout USD 0.15, at each model's cheapest standard price. For input alone, GLM 4.7 Flash is cheaper (USD 0.06 against USD 0.08 per 1M); for output alone, Llama 4 Scout is (USD 0.30 against USD 0.40). This compares price only, not quality.

### What do GLM 4.7 Flash and Llama 4 Scout cost per 1M tokens?

GLM 4.7 Flash: from USD 0.06 input and USD 0.40 output at Cloudflare Workers AI; median of 5 standard prices USD 0.07 / USD 0.40. Llama 4 Scout: from USD 0.10 input and USD 0.30 output at DeepInfra; median of 6 standard prices USD 0.175 / USD 0.625. Each price is read from the provider's own pricing page; the source is linked in the table.

### Which providers sell both GLM 4.7 Flash and Llama 4 Scout?

4 providers have a standard price for both: GMI Cloud (USD 0.1525 and USD 0.185 at 3:1), Novita AI (USD 0.1525 and USD 0.2825 at 3:1), Amazon Bedrock (USD 0.1525 and USD 0.2925 at 3:1), Cloudflare Workers AI (USD 0.145 and USD 0.415 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 0.145 and USD 0.15.

### Which is cheaper for a coding agent or a chatbot, GLM 4.7 Flash or Llama 4 Scout?

For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 70.20 a month on GLM 4.7 Flash (Novita AI) against USD 189.00 on Llama 4 Scout (GMI Cloud), a difference of USD 118.80. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 10.26 a month on GLM 4.7 Flash (Featherless) against USD 14.40 on Llama 4 Scout (DeepInfra), a difference of USD 4.14. Each uses the cheapest standard price for that workload, cached input included. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-4.7-flash,llama-4-scout).

### At what input:output ratio does the cheaper of GLM 4.7 Flash and Llama 4 Scout change?

The cheaper model changes with the mix: below 2.5 input tokens per output token, Llama 4 Scout is cheaper; above 2.5, GLM 4.7 Flash is cheaper. At the site's 3:1 blend, GLM 4.7 Flash is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.

### Do GLM 4.7 Flash and Llama 4 Scout have cached input pricing?

GLM 4.7 Flash from USD 0.01 per 1M cached input tokens (Novita AI; 2 of 5 standard prices list a discount). Llama 4 Scout: no standard price lists a cached-input discount. Cached tokens are billed at the input price where no cache price is published.

### Which has the larger context window, GLM 4.7 Flash or Llama 4 Scout?

Llama 4 Scout: up to 1,048,576 tokens, against 202,752 for GLM 4.7 Flash, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-glm-4.7-flash-vs-llama-4-scout&utm_content=page-cta) ·

**Sources**

-   [Cloudflare Workers AI: pricing (checked 2026-11-14)](https://developers.cloudflare.com/workers-ai/platform/pricing/)
-   [Novita AI: pricing (checked 2026-11-14)](https://novita.ai/pricing)
-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/meta-llama/Llama-4-Scout-17B-16E-Instruct)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/llama-4-scout-17b-16e-instruct/169f3961-e31c-4829-8008-2a3a05184fa8)
-   [Featherless: pricing (checked 2026-11-15)](https://featherless.ai/models/zai-org/GLM-4.7-Flash)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/zai-glm-4-7-flash/0113381a-3b4b-4b39-8722-ed4b4adca6f4)
-   [Amazon Bedrock: pricing (checked 2026-11-14)](https://aws.amazon.com/bedrock/pricing/)
