Skip to content

fix: add missing helicone endpoint for Claude 4.6 Opus#5602

Merged
colegottdank merged 1 commit intomainfrom
fix/add-claude-4.6-opus-helicone-endpoint
Feb 22, 2026
Merged

fix: add missing helicone endpoint for Claude 4.6 Opus#5602
colegottdank merged 1 commit intomainfrom
fix/add-claude-4.6-opus-helicone-endpoint

Conversation

@colegottdank
Copy link
Collaborator

Summary

  • Adds the missing claude-4.6-opus:helicone endpoint that was removed in PR feat: add Claude Opus 4.6 to AI Gateway #5559 before merge
  • Pricing matches the anthropic endpoint: $5/MTok input, $25/MTok output
  • Fixes AI gateway routing to OpenRouter instead of Helicone for Claude 4.6 Opus

Context

The helicone endpoint was originally included in the branch but was removed with commit message "chore: remove helicone provider endpoint (not set up yet)" before the PR was merged.

Test plan

  • Snapshot tests updated and passing
  • All package tests passing

🤖 Generated with Claude Code

The helicone provider endpoint was removed in PR #5559 before merge
because it wasn't set up yet. This adds it back with pricing matching
the anthropic endpoint ($5/MTok input, $25/MTok output).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
helicone Error Error Feb 22, 2026 10:24pm
helicone-bifrost Ready Ready Preview, Comment Feb 22, 2026 10:24pm
helicone-eu Error Error Feb 22, 2026 10:24pm

Request Review

@supabase
Copy link

supabase bot commented Feb 22, 2026

This pull request has been ignored for the connected project bolqqmqbrciybnypvklh because there are no changes detected in supbase/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@supabase
Copy link

supabase bot commented Feb 22, 2026

This pull request has been ignored for the connected project lmahfbbnchpworytrrqk because there are no changes detected in .supabase/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@claude
Copy link
Contributor

claude bot commented Feb 22, 2026

Claude finished @colegottdank's task —— View job


PR Review Complete

Score: 9/10 - Excellent implementation with minor observation

Code Review Analysis:

The PR correctly adds the missing claude-4.6-opus:helicone endpoint that was removed from PR #5559. I've analyzed the implementation and compared it with existing endpoints.

✅ Strengths:

  1. Consistent Configuration: The Helicone endpoint matches the Anthropic endpoint exactly in:

    • Pricing: $5/MTok input, $25/MTok output ✓
    • Context length: 1M tokens ✓
    • Max completion tokens: 64K ✓
    • Supported parameters ✓
    • Cache multipliers ✓
  2. Proper Provider Setup: Uses correct Helicone-specific configuration:

    • Provider: "helicone" ✓
    • Model ID: "pa/claude-opus-4-6" ✓
    • Response format: "ANTHROPIC" ✓
  3. Test Coverage: Snapshot tests updated correctly showing the endpoint is properly registered

  4. Type Safety: Uses proper TypeScript typing with ClaudeOpus46ModelName and ModelProviderName

🔍 Minor Observation:

Cache Multiplier Consistency: The Helicone endpoint includes write1h: 2.0 cache multiplier, but the Vertex endpoint doesn't have this multiplier while Bedrock doesn't have cache multipliers at all. This appears to be intentional based on provider capabilities:

  • Anthropic & Helicone: Full cache support (cachedInput, write5m, write1h)
  • Vertex: Partial cache support (cachedInput, write5m only)
  • Bedrock: No cache support
  • OpenRouter: No cache support

This is likely correct as different providers support different caching features.

Suggestions Summary:

  • ✅ No critical issues found
  • ✅ Pricing correctly matches Anthropic's rates
  • ✅ Configuration is consistent and complete
  • ✅ Tests properly updated

Recommendation: This is a straightforward fix that properly restores the missing endpoint. The implementation is solid and follows existing patterns correctly.


Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@colegottdank colegottdank merged commit d7d8b4b into main Feb 22, 2026
11 of 13 checks passed
@colegottdank colegottdank deleted the fix/add-claude-4.6-opus-helicone-endpoint branch February 22, 2026 22:35
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.

1 participant