Skip to content

feat(digitalocean): add GLM 5.1 and GLM 5.2#3022

Merged
rekram1-node merged 5 commits into
anomalyco:devfrom
blesswinsamuel:feat/digitalocean-glm-5.1-5.2
Jul 4, 2026
Merged

feat(digitalocean): add GLM 5.1 and GLM 5.2#3022
rekram1-node merged 5 commits into
anomalyco:devfrom
blesswinsamuel:feat/digitalocean-glm-5.1-5.2

Conversation

@blesswinsamuel

@blesswinsamuel blesswinsamuel commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds glm-5.1 and glm-5.2 to the DigitalOcean provider
  • Both models use base_model to inherit from zhipuai/glm-5.1 and zhipuai/glm-5.2 respectively
  • Reasoning options follow the DigitalOcean effort scale (none|low|medium|high|max) consistent with other reasoning models on this provider

Pricing sources

Model Input Output Cache Read
GLM 5.1 $0.975/1M $4.30/1M $0.26/1M
GLM 5.2 $1.05/1M $4.40/1M $0.21/1M

Test plan

  • bun validate passes (verified locally — no errors)

@@ -0,0 +1,10 @@
base_model = "zhipuai/glm-5.1"
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "max"] }]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think reasoning options work at all for glm 5.1 but they do for 5.2 afaik

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — updated GLM 5.1 to reasoning_options = [] (reasons but exposes no verified control, per AGENTS.md). GLM 5.2 keeps the effort scale.

@rekram1-node rekram1-node merged commit 69b479c into anomalyco:dev Jul 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants