Neon: add claude-fable-5-1, glm-5-3-flash and grok-4-6 - #6284
Open
andrelandgraf wants to merge 5 commits into
Open
Neon: add claude-fable-5-1, glm-5-3-flash and grok-4-6#6284andrelandgraf wants to merge 5 commits into
andrelandgraf wants to merge 5 commits into
Conversation
Contributor
Action items
|
Mirror the neon.com/models entries. Grok has no Neon [cost] yet. Fable 5.1 structured_output is false; GLM list prices are not the first-party promo.
Grok off is effort=none, so the thinking toggle cannot sit beside it. GLM keeps toggle plus the measured effort list, with the wire path at the top of the file.
andrelandgraf
force-pushed
the
neon-add-fable-glm-grok
branch
from
September 4, 2026 17:42
1f3ab47 to
460acac
Compare
…ranslator The public PR body already uses "the gateway"; keep the file comment matched.
Contributor
Action items
|
glm-5-3-flash thinking.type=disabled still returns reasoning_content. Grok off is effort=none. Inherit lab knowledge and modalities.
Contributor
Action items
|
…d effect. Keep grok on Responses; keep Fable cache_read at the neon.com/models rate.
Contributor
|
No actionable findings. |
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.
Problem
Neon's AI Gateway serves
claude-fable-5-1,glm-5-3-flashandgrok-4-6. All three are published at https://neon.com/models and in https://neon.com/models.json, and the Neon provider on models.dev does not list them yet. The lab entries (models/anthropic/claude-fable-5-1.toml,models/zhipuai/glm-5.3-flash.toml,models/xai/grok-4.6.toml) already exist.Change
Three override-only provider files under
providers/neon/models/, each pointingbase_modelat the existing lab entry. Each file carries only the provider-authored fields (cost,reasoning_options, request shape) and the values where the Neon host measurably differs from the lab. Sources and measurement dates are in leading TOML comments, per the repo's comment policy.claude-fable-5-1
base_model = "anthropic/claude-fable-5-1"structured_output = false.json_schemaon/v1/chat/completionsis translated via forced tool use and this model rejects that withINVALID_PARAMETER_VALUE.low | medium | high | xhigh | max, driven by the Anthropic Messages control. No toggle:thinking.type = disabledis rejected. Chat Completionsreasoning_effortis also rejected, so effort is the only control.10 / 50 / cache_read 0.25 / cache_write 12.5, matching neon.com/models for this id. The sibling Neonclaude-fable-5file listscache_read = 1; this id publishes0.25and the file follows the published rate.glm-5-3-flash
base_model = "zhipuai/glm-5.3-flash", displayname = "GLM-5.3 Flash"low | high | max, the lab/peer baseline.noneis rejected.thinking.type = disabledreturns 200 but still emitsreasoning_content, so the file has no toggle: the control does not turn reasoning off.0.15 / 0.5 / cache_read 0.03. These are list rates; first-party zhipuai currently publishes a 50% promo that Neon does not apply.limit.context = 1_048_576per neon.com/models. The lab entry has1_000_000.grok-4-6
base_model = "xai/grok-4.6"low | medium | high | xhigh, the lab/peer baseline.maxis rejected.[cost]. Neon has not published a rate for this id and the first-party xAI prices are a different host's rates.limit.output = 524_288. The gateway names the number itself:'max_tokens' (100000000) exceeds model maximum (524288).[provider]overrides:npm = "@ai-sdk/openai",api = "${NEON_AI_GATEWAY_BASE_URL}/openai/v1",shape = "responses".POST /openai/v1/responsesreturns 200. Chat Completions also returns 200 and acceptsreasoning_effort.Sources
Verification
bun validatepasses on this branch.For your attention
[cost]when neon.com/models does.