Coding GLM 4.6 (free)
ChatGLM logo

Coding GLM 4.6 (free)

coding-glm-4.6-free
ChatGLM
coding-glm-4.6 Free Version

Pricing

  • Input Tokens: $0 /M tokens
  • Output Tokens: $0 /M tokens
  • Cache Read: $0 /M tokens

Input Modalities

  • Text

Output Modalities

  • Text

Context length

  • 200K tokens

Max output

  • 131K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://shkq.org/v1",
)

response = client.chat.completions.create(
    model="coding-glm-4.6-free",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

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

Frequently asked questions

What is GLM 4.6 (free)?

coding-glm-4.6 Free Version