# GLM 4.7 (`z-ai/glm-4.7`) — OpenRouter tool-call reliability

**Recommendation:** Use `z-ai/fp4`, `novita/fp8`, `deepinfra/fp4`. No ranked provider is at or above 3% broken tool calls.

```json
{
  "provider": {
    "order": [
      "z-ai/fp4",
      "novita/fp8",
      "deepinfra/fp4"
    ],
    "ignore": []
  }
}
```

**Updated:** 2026-11-26T00:00:00Z · **Valid until:** 2026-11-28T00:00:00Z · **Window:** 2026-11-19 to 2026-11-26 (7 days)

Act on this routing only while `status` is `ok` and the current time is before `valid_until`. OpenRouter tries `order` first and falls back to any provider not in `ignore`; add `"allow_fallbacks": false` to prevent fallback.

## Tool-call error rates by provider

| # | Provider | Slug(s) | Broken tool calls | Calls/day | $ in / out per M | Tokens/s | Uptime | Role |
|---:|---|---|---:|---:|---:|---:|---:|---|
| 1 | Z.ai (fp4) (Lab's API) | `z-ai/fp4` | 0.37% | 7,512 | $0.60 / $2.20 | 58 | 99.9% | recommended |
| 2 | NovitaAI (fp8) | `novita/fp8` | 0.79% | 13,198 | $0.60 / $2.20 | 50 | 98.1% | recommended |
| 3 | DeepInfra (fp4) | `deepinfra/fp4` | 1.36% | 9,125 | $0.40 / $1.75 | 24 | 99.9% | recommended |
| 4 | Venice (fp4) | `venice/fp4` | 1.84% | 3,255 | $0.40 / $1.75 | 24 | 90.9% | neutral |

## Structured outputs (`response_format`)

**Recommendation:** Use `venice/fp4`, `deepinfra/fp4`. No ranked provider is at or above 3% broken structured outputs.

```json
{
  "provider": {
    "order": [
      "venice/fp4",
      "deepinfra/fp4"
    ],
    "ignore": []
  }
}
```

| # | Provider | Slug(s) | Broken structured outputs | Calls/day | Role |
|---:|---|---|---:|---:|---|
| 1 | Venice (fp4) | `venice/fp4` | 0.02% | 1,186 | recommended |
| 2 | DeepInfra (fp4) | `deepinfra/fp4` | 0.28% | 3,127 | recommended |

## Links

- [Full JSON](https://providers.dottxt.ai/models/glm-4.7.json) (also `https://providers.dottxt.ai/m/z-ai/glm-4.7.json`)
- [HTML page](https://providers.dottxt.ai/m/z-ai/glm-4.7/)
- [All models (llms.txt)](https://providers.dottxt.ai/llms.txt)
