Skip to content

chore(catalog): add fireworks/accounts/fireworks/models/hy4-flash - #1907

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/add-model-fireworks-accounts-fireworks-models-hy4-flash
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
chore/add-model-fireworks-accounts-fireworks-models-hy4-flash

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated targeted model-catalog addition from the model-drop workflow.

Model display name check

No new models are missing a required display name.

Model validation prompt

Paste this prompt into an agent that has a Braintrust API key to validate these models end to end.

Prompt
You are validating a newly added Fireworks model end to end against Braintrust. Do not edit code.

## Scope

Primary model: `accounts/fireworks/models/hy4-flash` (display name "Hy4 Flash")
- format: `openai`; flavor: `chat`; available_providers: `fireworks`
- capability flags: none set (reasoning, multimodal and streaming support were not confirmed by official Fireworks Serverless text; verify them in the documentation pass)
- token limits: none set. The Fireworks model page lists a 524k-token context window and no explicit max input or output. OpenRouter lists 1,048,576 input and 65,536 output for `tencent/hy4-flash`, which conflicts with Fireworks. Report the conflict and do not copy it.
- standard prices (USD per million tokens): input 0.07, output 0.281, cache read 0.003
- pricing.fireworks.priority (endpoint api.fireworks.ai, model_id `accounts/fireworks/models/hy4-flash`): input 0.0875, output 0.35125, cache read 0.00375
- fallback_models: `tencent/hy4-flash`

Companions (ID only, pre-existing): `tencent/hy4-flash` (openrouter). No other cloud companions are established for this family.

## Setup

- The hosted Gateway (`https://gateway.braintrust.dev`) loads `packages/proxy/schema/model_list.json` from `main`, so run this after the pull request merges. To test before merging, run a local Gateway from `braintrustdata/braintrust` with its `proxy` submodule checked out to this branch and `MODEL_CATALOG_REFRESH_SECONDS=0`.
- Authenticate with `BRAINTRUST_API_KEY` for an organization with AI provider keys for Fireworks and OpenRouter. Check which providers the credential can access and note their exact endpoint names. Report inaccessible providers as blocked and do not probe them.
- Send every request with the `x-bt-project-name: model-validation` header.

## Documentation pass

Read https://fireworks.ai/models/fireworks/hy4-flash and https://docs.fireworks.ai/serverless/pricing. Compare them with the catalog entry and report mismatches: prices (including the Priority column), display name, context window, max input, max output, and capabilities (tool calling, vision, reasoning, streaming). Check Fireworks deprecation notices for the exact ID. List any API-affecting differences from `tencent/hy4-flash` and make each a Gateway test case. Use official sources only.

## Gateway pass

Test `/v1/chat/completions`, `/v1/responses`, and `/v1/messages`, plus the native format, pinned with `x-bt-endpoint-name` to the Fireworks endpoint. Verify that `x-bt-used-endpoint` matches the pin. Test non-streaming and streaming, system prompts, multi-turn conversations, tool calls (parallel, with tool-result round trips), JSON-schema structured output, image input, and reasoning effort where supported. Check usage token counts and that a repeated request with `x-bt-use-cache: always` is served from cache. Also test `service_tier: "priority"`. Send one basic request to `tencent/hy4-flash` pinned to the OpenRouter endpoint.

## Product pass

Check that the model appears in the playground picker as "Hy4 Flash", and that logged spans in the `model-validation` project show token usage and cost consistent with the catalog prices.

## Report

Return a pass/fail/blocked/skip table per model and check. Treat `no provider registered` or `Configured providers` errors as blocked only if the preflight showed the endpoint was unavailable; otherwise report a failure. For each failure, include the request, the error, and whether the likely fix is in the catalog, the Gateway/Lingua layer, or the provider.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T03:45:28.654286Z 41c9c38 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 41c9c38fb1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

Comment on lines +8123 to +8124
"flavor": "chat",
"input_cost_per_mil_tokens": 0.07,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Record this Serverless model's multimodal support

Set multimodal: true for this entry. The official Fireworks page for this exact model ID labels it “Serverless” and “Vision” and explicitly lists image input as supported, so leaving the flag unset causes catalog consumers that select models using multimodal === true to omit Hy4 Flash from image-capable choices.

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants