Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
chatglm
z-ai/glm-4.6v

z-ai/glm-4.6v

131,072 context · $0.30/M input tokens · $0.90/M output tokens

GLM-4.6V is a large multimodal model designed for high-fidelity visual understanding and long-context reasoning across images, documents, and mixed media. It supports up to 128K tokens, processes complex page layouts...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.30 / M Tokens
Output$0.90 / M Tokens

Try the model

z-ai/glm-4.6v
Online
chatglm
Hi! I am a helpful AI assistant. What can I do for you?

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="z-ai/glm-4.6v",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Introduction

Z-Ai glm-4.6v

z-ai glm-4.6v


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 131072 context window for long document handling
  • Competitive pricing at $0.3/$0.10 per million tokens

Key Features

  • Context Window: 131072 tokens
  • Max Output: 24000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderZ-Ai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window131072 tokens
Max Output24000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.3
Output$0.10

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: z-ai/glm-4.6v


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="z-ai/glm-4.6v",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "z-ai/glm-4.6v",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: z-ai/glm-4.6v
  • Provider: Z-Ai

Info

Providerchatglm
Typellm

Supported Functionality

Input
TextImage
Output
Text
Context131,072
Max Output131,072
Vision✓ Supported
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDz-ai/glm-4.6v

GLM 4.6v API

z-ai/glm-4.6v

GLM-4.6V is a large multimodal model designed for high-fidelity visual understanding and long-context reasoning across images, documents, and mixed media. It supports up to 128K tokens, processes complex page layouts...

Input

$0.3 /M

Output

$0.9 /M

Context

131K

Max Output

131K

Vision

Supported

Tool Use

Supported

Try GLM 4.6v on WaveSpeedAI

Access GLM 4.6v through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about GLM 4.6v

How much does GLM 4.6v cost via the API?+

Pricing on WaveSpeedAI: $0.30 per million input tokens and $0.90 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of GLM 4.6v?+

GLM 4.6v supports up to 131K tokens of context with up to 131K tokens of output per request.

Is GLM 4.6v OpenAI-compatible?+

Yes. WaveSpeedAI exposes GLM 4.6v through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with GLM 4.6v?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate GLM 4.6v before paying per token.

Related LLM APIs