Add support for Z.AI/Zhipu AI, xAI, and Synthetic.new models#107
Merged
mike1858 merged 1 commit intoPiebald-AI:mainfrom Jan 22, 2026
Merged
Add support for Z.AI/Zhipu AI, xAI, and Synthetic.new models#107mike1858 merged 1 commit intoPiebald-AI:mainfrom
mike1858 merged 1 commit intoPiebald-AI:mainfrom
Conversation
- Add glm-4.6, glm-4.7, glm-4.7-flash, glm-4.6v (Z.AI/Zhipu AI) - Add grok-code-fast-1 (xAI) - Add hf:zai-org/GLM-4.6 and hf:MiniMaxAI/MiniMax-M2 (Synthetic.new) - Add zai-glm-4.6 alias - All pricing is verified (not estimated)
📝 WalkthroughWalkthroughNew model entries have been added to the MODEL_INDEX map for Zhipu AI (Z.AI), xAI, and Synthetic.new providers with explicit pricing structure and caching configurations. Additionally, an alias mapping was created to enable canonical model name resolution. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Author
|
All good 👌 |
This was referenced Apr 16, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just adding whatever was in my usage, but missing from splitrail.
Summary
models.devModels Added
Z.AI (Zhipu AI) Models
glm-4.6: $0.60 input / $0.11 cached / $2.20 outputglm-4.7: $0.60 input / $0.11 cached / $2.20 output (latest flagship)glm-4.7-flash: FREE (designed for local deployment)glm-4.6v: $0.30 input / $0.05 cached / $0.90 output (vision model)https://docs.z.ai/guides/overview/pricing
Popular with 'GLM Coding Plan'.
xAI Models
grok-code-fast-1: $0.20 input / $0.02 cached / $1.50 output (314B-parameter MoE)https://x.ai/news/grok-code-fast-1
Synthetic.new Models
hf:zai-org/GLM-4.6: $0.55 input / $2.19 outputhf:MiniMaxAI/MiniMax-M2: $0.55 input / $2.19 outputhttps://synthetic.new/chat/select-model (might require sign-in)
Aliases Added
zai-glm-4.6->glm-4.6Details
All models use OpenAI-style cached input pricing where applicable. Pricing is verified from official sources and marked as not estimated.