Skip to content

blog: add semantic routing cost guide#750

Merged
artberger merged 11 commits into
mainfrom
publish-semantic-routing-blog
Jul 21, 2026
Merged

blog: add semantic routing cost guide#750
artberger merged 11 commits into
mainfrom
publish-semantic-routing-blog

Conversation

@danehans

@danehans danehans commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a reproducible cost-based semantic-routing guide based on an example developer user case
  • include the validated catalog-priced evaluation, flow diagram, and SVG report
  • cover optional cache-transition evaluation and model-tier overrides

Observed run

  • 100 primary requests with exact agentgateway model-catalog lookups
  • $0.914840 always-expensive versus $0.591444 routed: 35.4% lower spend
  • 30 nano and 20 GPT-5.5 selections; 20 of 25 complex prompts escalated to GPT-5.5

Validation

  • hugo --minify --destination <temporary-directory> --cleanDestinationDir with the bundled Node runtime

Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
@danehans
danehans marked this pull request as ready for review July 16, 2026 20:52
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploying agentproxy with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8bf0554
Status: ✅  Deploy successful!
Preview URL: https://f7437e07.agentproxy.pages.dev
Branch Preview URL: https://publish-semantic-routing-blo.agentproxy.pages.dev

View logs

Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
@danehans

Copy link
Copy Markdown
Collaborator Author

Requires agentgateway/agentgateway#2557

Comment thread content/blog/2026-07-17-semantic-routing-llm-costs.md Outdated
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
danehans and others added 3 commits July 17, 2026 15:17
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
danehans added 3 commits July 20, 2026 09:11
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>

@keithmattix keithmattix left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM! Thank you

@artberger
artberger merged commit 3397ef2 into main Jul 21, 2026
7 checks passed
@artberger
artberger deleted the publish-semantic-routing-blog branch July 21, 2026 14:29
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.

3 participants