Repository navigation
feat(models): add openrouter/aion-labs/aion-3.5-mini pricing - #42743
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration
Bot
requested review from
mateo-berri and
ryan-crabbe-berri
as code owners
September 23, 2026 14:28
devin-ai-integration
Bot
requested a review
from kerry-berri
as a code owner
September 23, 2026 14:28
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
Contributor
|
bugbot run |
Contributor
|
Contributor
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 817d4b0. Configure here.
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
TLDR
Problem this solves:
aion-labs/aion-3.5-mini, litellm has no price for itHow it solves it:
openrouter/aion-labs/aion-3.5-minito both catalog filesUser Flow
Before: a developer routing
openrouter/aion-labs/aion-3.5-minithrough the proxy sees no spend for it"model": "openrouter/aion-labs/aion-3.5-mini"After: the same request is priced
"model": "openrouter/aion-labs/aion-3.5-mini"Relevant issues
Raised by the provider pricing sync Slack flag "Shape changed: openrouter, 1 new model: aion-labs/aion-3.5-mini"
Affected release
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Screenshots / Proof of Fix
Raw source, fetched with a cache-buster on 2026-09-23 (
curl -s "https://openrouter.ai/api/v1/models?x=$RANDOM"), row for idaion-labs/aion-3.5-mini:Before (d525b0a)
python -c "import litellm; print(litellm.get_model_info('openrouter/aion-labs/aion-3.5-mini'))"raises: model isn't mapped yetAfter (817d4b0)
python -c "import litellm; r = litellm.completion(model='openrouter/aion-labs/aion-3.5-mini', messages=[{'role':'user','content':'Say hi'}], max_tokens=5); print(r.usage)"withOPENROUTER_API_KEYsetUsage(completion_tokens=5, prompt_tokens=8, total_tokens=13, ..., cost=1.26e-05, cost_details={'upstream_inference_prompt_cost': 5.6e-06, 'upstream_inference_completions_cost': 7e-06}), which is 8 x 7e-07 and 5 x 1.4e-06, matching the catalog valuesType
🆕 New Feature
Caveats (if any)
Final Attestation
Link to Devin session: https://app.devin.ai/sessions/56c4a1e176f04803bc455605c6bf371c
Open in Devin Desktop: https://app.devin.ai/desktop/session/56c4a1e176f04803bc455605c6bf371c?variant=devin
Requested by: @kerry-berri
Note
Low Risk
Data-only catalog update with no runtime logic changes; incorrect values would only affect cost reporting for this model.
Overview
Adds
openrouter/aion-labs/aion-3.5-minito the LiteLLM cost/capability catalogs (model_prices_and_context_window.jsonand the backup copy), using OpenRouter API pricing and limits so proxy usage and spend logging are no longer $0 for that model.The new entry includes input/output/cache-read token costs, 262144 input / 32768 output context, and flags for chat mode, function calling, prompt caching, reasoning, response schema, and tool choice.
Reviewed by Cursor Bugbot for commit 817d4b0. Bugbot is set up for automated code reviews on this repo. Configure here.