Skip to content
Alpha
  • Models
  • Rankings
  • Ori
ElevenLabs launch offer: every ElevenLabs model is 50% off through October 19, 2026. See ElevenLabs models

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

Llama 4 Maverick vs GLM 5.1

Compare Llama 4 Maverick from Meta Llama and GLM 5.1 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for meta-llama
Llama 4 Maverick
Favicon for z-ai
GLM 5.1
Favicon for meta-llama
Llama 4 Maverick
Favicon for z-ai
GLM 5.1

Overview

Llama 4 Maverick
Author
Meta Llama
GLM 5.1
Author
Z.ai
Llama 4 Maverick
Context length
1.05Mtokens
GLM 5.1
Context length
205Ktokens
Llama 4 Maverick
Reasoning
GLM 5.1
Reasoning
Llama 4 Maverick
Input modalities
GLM 5.1
Input modalities
Llama 4 Maverick
Output modalities
GLM 5.1
Output modalities

Llama 4 Maverick vs GLM 5.1: side-by-side summary

Llama 4 Maverick and GLM 5.1 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Llama 4 Maverick, from Meta Llama, has a 1,048,576-token context window and is priced at $0.1875/M tokens input, $0.6525/M tokens output on OpenRouter.

GLM 5.1, from Z.ai, has a 204,800-token context window and is priced at $0.966/M tokens input, $3.036/M tokens output on OpenRouter.

Context window
  • Llama 4 Maverick: 1,048,576 tokens
  • GLM 5.1: 204,800 tokens
Price
  • Llama 4 Maverick: $0.1875/M tokens input, $0.6525/M tokens output
  • GLM 5.1: $0.966/M tokens input, $3.036/M tokens output
Provided by
  • Llama 4 Maverick: Meta Llama
  • GLM 5.1: Z.ai
  • Llama 4 Maverick model details, providers and pricing
  • GLM 5.1 model details, providers and pricing

Llama 4 Maverick vs GLM 5.1 at a glance

Llama 4 Maverick vs GLM 5.1 comparison
AttributeLlama 4 MaverickGLM 5.1
Input price$0.1875/M tokens$0.966/M tokens
Output price$0.6525/M tokens$3.036/M tokens
Context window1,048,576 tokens204,800 tokens
Intelligence Index9.324.2
Coding Index16.3Not available
Agentic Index0.6Not available
Latency (p50)0.96 s1.88 s
Throughput (p50)14.0 tok/s38.0 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is Llama 4 Maverick cheaper than GLM 5.1?

Llama 4 Maverick is cheaper than GLM 5.1 on OpenRouter: Llama 4 Maverick costs $0.1875/M tokens input and $0.6525/M tokens output, while GLM 5.1 costs $0.966/M tokens input and $3.036/M tokens output.

Which has the longer context window, Llama 4 Maverick or GLM 5.1?

Llama 4 Maverick has the longer context window at 1,048,576 tokens, compared with 204,800 tokens for GLM 5.1.

Which is faster, Llama 4 Maverick or GLM 5.1?

GLM 5.1 is faster on OpenRouter, generating a median 38.0 tokens per second compared with 14.0 tokens per second for Llama 4 Maverick.