Skip to content

docs: deprecate llm cost endpoints - #5230

Merged
borosr merged 1 commit into
mainfrom
docs/deprecate-llm-cost
Oct 2, 2026
Merged

borosr merged 1 commit into
mainfrom
docs/deprecate-llm-cost

Conversation

@borosr

@borosr borosr commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • API Updates
    • The /openmeter/llm-cost/prices endpoint is marked as deprecated and noted as no longer supported. Its route and interface remain unchanged.

RetriggerConfidence Score: 4/5

The PR appears safe to merge, though SDK users will not see the new deprecation notice in method documentation.

Fix All in Claude CodeFindings

  1. P2 SDK deprecation notice missing ▶
Fix with agent prompt
### Issue 1
api/spec/packages/aip/src/openmeter.tsp:218
This marks the LLM cost price endpoints as deprecated, as does the new marker on the override endpoints, but the TypeScript and Go SDK methods still have no deprecation notice. The TypeScript generator builds method documentation from the summary, description, and route only, so regenerating the SDK will not add one. SDK users relying on method documentation will miss the warning shown in OpenAPI; please propagate the deprecation to the generated client documentation.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

The PR marks the five LLM cost price and override operations deprecated in TypeSpec and OpenAPI and updates the embedded server specification.

  • The deprecation notice does not reach the generated SDK method documentation.

Reviews (1) · Last reviewed commit: "docs: deprecate llm cost endpoints"

@borosr
borosr requested a review from a team as a code owner October 2, 2026 09:10
@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: openmeterio/openmeter/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 6c687bf3-9c8c-4180-a1ab-1810e20eabe3

📥 Commits

Reviewing files that changed from the base of the PR and between 482d55e and 6ecd6e6.

⛔ Files ignored due to path filters (1)
  • api/v3/openapi.yaml is excluded by !**/openapi.yaml
📒 Files selected for processing (2)
  • api/spec/packages/aip/src/openmeter.tsp
  • api/v3/api.gen.go
 ______________________________________________________________________
< I see you chose the 'dynamic typing' difficulty setting. On purpose. >
 ----------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@borosr borosr added the release-note/misc Miscellaneous changes label Oct 2, 2026
@borosr borosr self-assigned this Oct 2, 2026
@borosr
borosr enabled auto-merge (squash) October 2, 2026 09:12
@tag(Shared.FeaturesTag)
interface FeatureCostEndpoints extends Features.FeatureCostOperations {}

#deprecated "Not supported anymore"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 SDK deprecation notice missing

This marks the LLM cost price endpoints as deprecated, as does the new marker on the override endpoints, but the TypeScript and Go SDK methods still have no deprecation notice. The TypeScript generator builds method documentation from the summary, description, and route only, so regenerating the SDK will not add one. SDK users relying on method documentation will miss the warning shown in OpenAPI; please propagate the deprecation to the generated client documentation.

Knowledge Base Used: API and runtime composition

Prompt To Fix With AI
This is a comment left during a code review.
Path: api/spec/packages/aip/src/openmeter.tsp
Line: 218

Comment:
**SDK deprecation notice missing**

This marks the LLM cost price endpoints as deprecated, as does the new marker on the override endpoints, but the TypeScript and Go SDK methods still have no deprecation notice. The TypeScript generator builds method documentation from the summary, description, and route only, so regenerating the SDK will not add one. SDK users relying on method documentation will miss the warning shown in OpenAPI; please propagate the deprecation to the generated client documentation.

**Knowledge Base Used:** [API and runtime composition](https://app.greptile.com/openmeter/-/custom-context/knowledge-base/openmeterio/openmeter/-/docs/api-and-runtime-composition.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code Fix in Codex

@borosr
borosr merged commit 33ebfd8 into main Oct 2, 2026
@borosr
borosr deleted the docs/deprecate-llm-cost branch October 2, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc Miscellaneous changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants