Skip to content
Rapid Router
Compare any models
Model comparison

GLM-4.5-Air vs Meta Llama 3.1 8B Instruct Turbo

Price in rupees, context and benchmarks side by side; same key, a one-string switch.

Input price per 1M
₹2.95 ($0.030)
₹1.97 ($0.020)
Output price per 1M
₹13.76 ($0.140)
₹3.93 ($0.040)
Context window
131K tokens
128K tokens
Max output
98K tokens
128K tokens
Input types
text
text
Capabilities
tools, reasoning
tools
Author
Z.ai
Meta
LMArena Overall
1384
—
LMArena Coding
1397
—
LMArena Math
1396
—
LMArena Creative writing
1343
—
LMArena Instruction following
1354
—
LMArena Hard prompts
1379
—
Humanity's Last Exam
8.1%
—

Scores from LMArena and Epoch AI, as published; a blank cell means not measured there.

What a month costs on each

Chatbot month (15M in, 4M out)
₹99.23
₹45.19
RAG month (40M in, 3M out)
₹159
₹90.39
Coding month (60M in, 10M out)
₹314
₹157

On a typical 75/25 input-output mix, Meta Llama 3.1 8B Instruct Turbo costs less (about 57% less than GLM-4.5-Air). GLM-4.5-Air takes the longer prompt at 131K tokens. Try your own numbers in the cost calculator.

Call either one

curl
curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-4.5-air", "messages": [{"role": "user", "content": "Hello"}]}'

# the other one: change the model string
  -d '{"model": "meta-llama/meta-llama-3.1-8b-instruct-turbo", ...}'

Common questions

Which is cheaper, GLM-4.5-Air or Meta Llama 3.1 8B Instruct Turbo?

Meta Llama 3.1 8B Instruct Turbo is cheaper on a typical mix of 75% input and 25% output tokens, by about 57%. Through Rapid Router both are billed at the provider list price per million tokens, in rupees.

Which has the larger context window?

GLM-4.5-Air, at 131K tokens. Meta Llama 3.1 8B Instruct Turbo offers 128K tokens.

Can I switch between GLM-4.5-Air and Meta Llama 3.1 8B Instruct Turbo without changing code?

Yes. Both are callable at https://rapidrouter.ai/api/v1 with the same OpenAI-compatible request; only the model string changes (z-ai/glm-4.5-air or meta-llama/meta-llama-3.1-8b-instruct-turbo).

How do I pay for GLM-4.5-Air or Meta Llama 3.1 8B Instruct Turbo in India?

Top up a Rapid Router balance with UPI or a card in rupees, get a GST invoice on every recharge, and both models debit that balance per request.