Skip to content

GLM 4.7 Flash

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency.

Per 1M tokens
$0.0635 · $0.42
Context
200Ktokens
Supports
  • Calls tools
  • Thinks before it answers
opencode.json
{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "z-ai/glm-4.7-flash": { "limit": { "context": 200000, "output": 117964 } } }
    }
  }
}
Needs an API keyGet one

Pricing and limits

  • Max output117,964tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.