Skip to content

chore(cost-map): fill fireworks spot router capability fields from base models - #48858

Merged
kerry-berri merged 3 commits into
mainfrom
litellm-providers/price-sync-fireworks-ai
Oct 28, 2026
Merged

kerry-berri merged 3 commits into
mainfrom
litellm-providers/price-sync-fireworks-ai

Conversation

@kerry-berri

@kerry-berri kerry-berri commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Relevant issues

Fireworks price sync, ruling fireworks-ai-spot-router-rows-add-api-price

What changed

The five Fireworks spot router rows (spot-deepseek-v4-flash, kimi-k3-spot, glm-5p3-spot, deepseek-v4p1-flash-spot, deepseek-v4p1-flash-1017-spot under fireworks_ai/accounts/fireworks/routers/) already landed on main in #48188 with the same prices this PR had, taken from the spot skuInfos of the Fireworks serverless models API (https://api.fireworks.ai/v1/serverless/models?format=nested). After merging main, this PR only fills in the fields those rows were missing, copied from each base fireworks_ai/accounts/fireworks/models/<model> row. No price changes

key added fields
routers/spot-deepseek-v4-flash max_output_tokens 384000, supports_reasoning, supports_response_schema, supports_tool_choice, deprecation_date 2026-08-14
routers/kimi-k3-spot max_output_tokens 131072, reasoning_effort_levels low/high/max, supports_reasoning, supports_response_schema, supports_tool_choice
routers/glm-5p3-spot max_output_tokens 128000, supports_reasoning, supports_response_schema, supports_tool_choice
routers/deepseek-v4p1-flash-spot max_output_tokens 393216, supports_reasoning, supports_response_schema, supports_tool_choice
routers/deepseek-v4p1-flash-1017-spot max_output_tokens 393216, supports_reasoning, supports_response_schema, supports_tool_choice

The deprecation_date on spot-deepseek-v4-flash comes from the API's deprecationDate for accounts/fireworks/models/deepseek-v4-flash (2026-08-14). The API still lists its spot mode

Delisted by the provider

These are still in the catalog but the list API no longer serves them, and no deprecation date is published for them, so they are left for a human to decide. fireworks_ai/deepseek-v4p1-flash-us, fireworks_ai/glm-5p3-fast, fireworks_ai/glm-5p3-us, fireworks_ai/kimi-k3-fast, fireworks_ai/kimi-k3-us. fireworks_ai/glm-5p1-fast stays per ruling fireworks-ai-delisted-no-date-keep. The generic size-tier keys (fireworks-ai-up-to-4b and the rest) are a coverage gap of the list endpoint, not delistings

Link to Devin session: https://app.devin.ai/sessions/c541d8455f2342cb83e3f73213bdf855
Open in Devin Desktop: https://app.devin.ai/desktop/session/c541d8455f2342cb83e3f73213bdf855?variant=devin
Requested by: @kerry-berri

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@codspeed

codspeed Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 35 untouched benchmarks


Comparing litellm-providers/price-sync-fireworks-ai (0a70c85) with main (471918c)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (74392ef) during the generation of this report, so 471918c was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@joshua-berri joshua-berri left a comment

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.

lgtm

@kerry-berri
kerry-berri enabled auto-merge (squash) October 28, 2026 17:22
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title chore(cost-map): add fireworks spot serverless router rows from the prices api chore(cost-map): fill fireworks spot router capability fields from base models Oct 28, 2026
@kerry-berri
kerry-berri merged commit 20427f4 into main Oct 28, 2026
86 of 88 checks passed
@kerry-berri
kerry-berri deleted the litellm-providers/price-sync-fireworks-ai branch October 28, 2026 18:38
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.

2 participants