Post: swapping across 25 models with one line (Neon AI Gateway #4)#1445
Open
bobbyonmagic wants to merge 2 commits into
Open
Post: swapping across 25 models with one line (Neon AI Gateway #4)#1445bobbyonmagic wants to merge 2 commits into
bobbyonmagic wants to merge 2 commits into
Conversation
Deploying devops-daily with
|
| Latest commit: |
14d6b49
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://608f565a.devops-daily.pages.dev |
| Branch Preview URL: | https://post-neon-swap-25-models-one.devops-daily.pages.dev |
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.
Fourth and final AI-gateway post (dated Jul 18). Through the gateway, changing model is changing a string, and the ~25-model catalog spans a ~100x price range, so model choice is a per-task cost lever.
Includes a real price-spread chart (list prices from models.dev, ~60x on output tokens from nano to opus) and a tested multi-model run (same prompt through gpt-5-nano / gemini-2-5-flash / claude-haiku-4-5). Reuses neon-ai-gateway-demo. Honest that same code != same output, so measure before shipping a swap.
Interactive: the one-line-swap code, a grouped-bar price chart, an animated terminal of the multi-model run, a warning callout, and a github card. OG generated, validated.