-
Notifications
You must be signed in to change notification settings - Fork 533
add glm-5, gpt-5-mini, deepseek-v3.2 models for vivgrid provider #915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name = "DeepSeek-V3.2" | ||
| family = "deepseek" | ||
| release_date = "2025-12-01" | ||
| last_updated = "2025-12-01" | ||
| attachment = false | ||
| reasoning = true | ||
| temperature = true | ||
| knowledge = "2024-07" | ||
| tool_call = true | ||
| open_weights = true | ||
|
|
||
| [cost] | ||
| input = 0.28 | ||
| output = 0.42 | ||
|
|
||
| [limit] | ||
| context = 128_000 | ||
| output = 128_000 | ||
|
|
||
| [modalities] | ||
| input = ["text"] | ||
| output = ["text"] | ||
|
|
||
| [provider] | ||
| npm = "@ai-sdk/openai-compatible" | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name = "GLM-5" | ||
| family = "glm" | ||
| release_date = "2026-02-12" | ||
| last_updated = "2026-02-12" | ||
| attachment = false | ||
| reasoning = true | ||
| temperature = true | ||
| tool_call = true | ||
| structured_output = true | ||
| open_weights = true | ||
|
|
||
| [interleaved] | ||
| field = "reasoning_content" | ||
|
|
||
| [cost] | ||
| input = 1.00 | ||
| output = 3.20 | ||
| cache_read = 0.2 | ||
|
|
||
| [limit] | ||
| context = 202_752 | ||
| output = 131_000 | ||
|
|
||
| [modalities] | ||
| input = ["text"] | ||
| output = ["text"] | ||
|
|
||
| [provider] | ||
| npm = "@ai-sdk/openai-compatible" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name = "GPT-5 Mini" | ||
| family = "gpt-mini" | ||
| release_date = "2025-08-07" | ||
| last_updated = "2025-08-07" | ||
| attachment = true | ||
| reasoning = true | ||
| temperature = false | ||
| knowledge = "2024-05-30" | ||
| tool_call = true | ||
| open_weights = false | ||
|
|
||
| [cost] | ||
| input = 0.25 | ||
| output = 2.00 | ||
| cache_read = 0.03 | ||
|
|
||
| [limit] | ||
| context = 272_000 | ||
| output = 128_000 | ||
|
|
||
| [modalities] | ||
| input = ["text", "image"] | ||
| output = ["text"] | ||
|
|
||
| [provider] | ||
| npm = "@ai-sdk/openai-compatible" |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isnt deepseek an interleaved reasoning model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question — DeepSeek-V3.2 is actually a hybrid / interleaved reasoning model rather than a dedicated reasoning-only model.
In most deployments (for example with vLLM), reasoning is not enabled by default and must be explicitly requested at runtime — e.g. by passing
chat_template_kwargs.thinking=truein the request body. Without this, it behaves like a standard chat LLM.In models.dev, the reasoning flag indicates that a model supports reasoning capabilities, not that it always operates in a dedicated reasoning mode. This is consistent with how other providers configure DeepSeek-V3.2.
In Vivgrid, we abstract these provider-specific details away — developers can enable reasoning using the same client interface they would use for GPT-5.2 , without needing to handle provider-specific request parameters.
e.g.
{ "model": "DeepSeek-V3.2", "input": [ { "role": "user", "content": "Explain why the sky is blue" } ], "reasoning": { "effort": "medium" }, }There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok