- NPX
- Docker
✨ Features
- Gemini Interactions API - Gemini and Vertex serve Responses requests through Google’s Interactions API when a request sets
previous_response_id, setsbackground: true, names an agent such as Deep Research, or uses a Google-runtool_search, with retrieve, cancel and delete. The/genaiintegration adds typed/interactionsroutes in the Gemini and Vertex path shapes: native for Google, translated for other providers, so governance, logging, pricing and fallbacks apply. A run is billed once, and reads or cancels of a finished run carry no cost - Per-Key and Per-Alias Service Tier - A key or a key alias can set
service_tier. It is sent on chat completions and Responses requests in place of the request’s own tier, and an alias’s tier overrides its key’s. A spare weight-0 key set toprioritycan then serve Priority traffic only when rotation reaches it - MCP OAuth Client Credentials - New
client_credentialsauth type for upstream MCP servers. Bifrost mints one shared token with the OAuth client credentials grant (client_secret_basic,client_secret_postorprivate_key_jwt), caches it per client and backs off on a refused credential. Set from the MCP client form, config.json or Helm - MCP AWS SigV4 Auth - New
aws_sigv4auth type for upstream MCP servers. Bifrost signs each request with its own AWS identity from the default credential chain, with an optional assumed role, to reach IAM-protected servers such as Amazon Bedrock AgentCore Gateway. Set from the MCP client form, config.json or Helm - MCP OAuth on Several Hostnames -
oauth2_server_config.browser_base_urlsets the host that users’ browsers open for the consent and device flow pages, for MCP clients that reach Bifrost on a hostname browsers cannot resolve.additional_issuer_urls(up to 10) lets one instance act as the OAuth issuer on other hostnames. Both are editable under Security settings - MCP Progress Notifications - The
/mcpgateway relays upstreamnotifications/progressontools/callto a caller that sends a_meta.progressToken, under the caller’s own token and ahead of the result - MCP Session Connect -
POST /api/mcp/sessions/connectlets a signed-in user start their own sign-in to a per-user OAuth or per-user headers MCP client, and returns them to the page where the sign-in started. Revoke and refresh on another user’s session need the matching permission - Relay Async Jobs - A relay route can declare a
jobfor APIs such as AWS Textract that start background work and report the price only when it finishes. Bifrost polls the job, charges it once when it ends, and relays callers’ own status checks free with no extra route. Relay Logs show how each job ended, including unpriced and untracked jobs, and settled costs reach OTel and Prometheus. Set up from one sheet in the dashboard, config.json, the relays API or Helm - Relay Enforced Body Fields -
body_overrideson a relay or a route forces JSON fields into every request body, whatever the caller sent. A route’s value replaces the relay’s, andinherit_body_overrides: falseleaves the relay’s fields out of a route. The usage preview prices the body the relay sends - Relay Route Matching - A route path can hold one
**in the middle, such as/jobs/**/status. Routes are tried most specific first instead of in list order, and the dashboard lists them in that orderA broad route no longer shadows a narrower one by sitting above it. A wildcard segment never matches.or.., and a dot-segment path that matches no route is refused. - OpenAI Prewarm and Background Options - Responses requests accept
prompt_cache_options.prewarm,prompt_cache_options.comparison_response_idandbackground_optionsas typed fields. A prewarm request gets its own semantic cache key - OpenAI Access Programs - Responses requests accept
access_programs(Daybreak) on HTTP and WebSocket, forwarded to OpenAI only, and the program that served the request is returned - Vertex Batch Embeddings - Vertex Gemini embedding models accept more than one input per request through
:batchEmbedContents - Bedrock Credential Caching - A Bedrock key with no static credentials loads the AWS default credential chain once per region instead of on every request
🐞 Fixed
- Root-Level Union Tool Schemas - MCP tools whose input schema is a root-level
oneOf,anyOforallOfkeep their parameters through discovery and/mcplisting. Each provider gets the union or one merged object, depending on what the model accepts (supports_root_schema_compositionin the datasheet) - Bedrock Document Blocks -
/bedrockInvokeModel forwards Anthropicdocumentblocks, including URL sources, and returns a 4xx for input it cannot forward instead of dropping it - Bedrock Tool Results - The
/bedrockinvoke and Converse routes carry every member of a tool result, including images and documents, instead of only the first text or JSON member - Bedrock Reasoning-Only Responses - A Converse response cut off at
max_tokenswhile the model is still reasoning returns the reasoning block instead of an empty message - Bedrock Grok Reasoning Replay - Signed reasoning from Grok models on Bedrock is replayed on later turns
- OpenRouter Reasoning Details -
reasoning_details(signed thinking and redacted blocks) are replayed on assistant messages sent to OpenRouter, so Claude no longer re-reasons on every tool-call turn - OpenRouter prompt_cache_options - OpenRouter Responses requests send
prompt_cache_optionsonly with modeexplicit - Anthropic Signed Thinking Blocks - Signed thinking blocks with empty text (
thinking.display: "omitted") are kept on multi-turn requests - Claude Code Reasoning Retry - The strip-and-retry for a refused foreign
redacted_thinkingblock now runs on/anthropic/v1/messagesfor Claude Code - Advisor Tool Aliases - An Anthropic advisor tool’s model is resolved through the key’s aliases, like the request model
- Codex Replayed Function Calls -
summaryis sent only on reasoning items, so replayedfunction_callitems withencrypted_contentare accepted by OpenAI - OpenAI Image Edits by URL - Image edits that reference an input image by URL work on OpenAI and Azure
- Vertex Roleless Items - Responses items with no role (Codex
agent_messageandfunction_call) get a role before they are sent to Vertex Gemini - Vertex Passthrough Body Rewrite - The Vertex passthrough rewrites only the
model,cachedContentandoperationNamefields and no longer alters prompt text - Vertex Batch Partner Models - Vertex batch creation accepts
<publisher>/<id>model names such asmeta/llama-3.3-70b-instruct-maas - Vertex Priority Tier - Priority PayGo is accepted on the
usandeumulti-region endpoints as well asglobal, with an updated model list - MCP Tools Without a Description - MCP tools with no description no longer fail on Bedrock Converse with an empty description error
- MCP Refresh Token Race - Replicas sharing a config store no longer redeem the same MCP refresh token at the same time, which made upstreams such as Notion revoke the grant
- Failed Stream Spans - A stream that ends on a read error, such as an idle timeout, is traced as failed instead of successful
- OTel Metric Labels - OTel metrics carry the same labels as Prometheus:
alias,app,routing_engine_used,routing_rule_id,routing_rule_nameandcomplexity_tier - Relay Caller Overrides - A caller can no longer replace a relay’s
extra_headers, switch the method withX-HTTP-Method-Override, or pass its own query credential next to the relay’s - Relay Timeout Errors - A relay timeout names the relay and the timeout that fired. Billed request bodies allow 1000 levels of nesting instead of 64
- Relay Span Dimensions - Relay spans carry the same user, app, team and customer dimensions as LLM spans
- Usage Lost on Config Refresh - A budget or rate-limit charge that lands while a virtual key, team, customer, model config or provider is refreshed is no longer lost, and a refresh cannot move a reset boundary backward
- Usage Baselines - Budget and rate-limit resets and dumps update usage and its persisted baseline together, so already persisted usage is not counted again
- Virtual Key Reload Race - Overlapping reloads of one virtual key are serialized, so a rotated-out key value cannot come back
- Firefox Dashboard Banner - Firefox no longer shows the “Part of the dashboard couldn’t load” banner on every page
- Onboarding Checklist - The onboarding checklist no longer loads every virtual key on each dashboard page
🗄️ Database Migrations
- add_key_service_tier_column - Adds a nullable
service_tiercolumn to provider keys. Reversible: drops the column. - widen_batch_jobs_provider_status_and_endpoint - Widens
batch_jobs.provider_statusandendpointtoTEXTon Postgres. Non-reversible: narrowing the columns would cut stored relay job statuses and routes. - add_mcp_client_client_credentials_json_column - Adds the client credentials config column to MCP clients. Reversible: drops the column.
- add_mcp_client_aws_sigv4_json_column - Adds the AWS SigV4 config column to MCP clients. Reversible: drops the column.
- add_mcp_oauth_flow_origin_column - Adds an
origincolumn tomcp_oauth_flows. Reversible: drops the column. - add_notification_subject_resolution_columns - Adds
subject_type,subject_id,resolved_atandresolutionto notifications. Reversible: drops the columns. - add_notification_subject_index - Adds
idx_notifications_subject, built concurrently. Reversible: drops the index. - relay_logs_add_job_debug_widen_job_status - Adds a nullable
job_debugcolumn torelay_logsand widensjob_statustoTEXTon Postgres. Non-reversible: droppingjob_debugor narrowingjob_statuswould lose recorded job details.
🐙 Closed GitHub Issues
- #5274 - reasoning_details silently dropped from incoming OpenAI-compatible chat requests - Anthropic thinking-signature replay never reaches the provider
- #9308 - Bedrock InvokeModel route silently drops Anthropic document blocks
- #9516 -
/bedrockinvoke and Converse routes flattentool_resultcontent to its first text/JSON member, so images, documents and further text blocks never reach the model - #9857 - Firefox always shows the “Bifrost is upgrading” banner (modulepreload of the entry chunk fires an error event)
- feat: Gemini and Vertex serve Responses requests through Google’s Interactions API for
previous_response_id,background: true, agents such as Deep Research and Google-runtool_search, with retrieve, cancel and delete - feat: per-key and per-alias
service_tier, sent on chat completions and Responses requests in place of the request’s tier; an alias’s tier overrides its key’s - feat:
client_credentialsauth type for upstream MCP servers, withclient_secret_basic,client_secret_postandprivate_key_jwtclient authentication - feat:
aws_sigv4auth type for upstream MCP servers, signed with the default AWS credential chain and an optional assumed role - feat: shared AWS SigV4 signing package; a Bedrock key with no static credentials loads the default credential chain once per region instead of on every request
- feat: upstream MCP
notifications/progressontools/callare relayed to a caller that sends a_meta.progressToken - feat: relay async jobs - a relay route can declare a
jobthat is polled and charged once when it finishes, callers’ status checks are relayed free, and unsafe job ids are refused - feat: relay
body_overridesforce JSON fields into the request body per relay and per route, withinherit_body_overrideson a route - feat: relay route paths accept one middle
**, and routes are tried most specific first instead of in list orderA broad route no longer shadows a narrower one by sitting above it. A wildcard segment never matches.or.., and a dot-segment path that matches no route is refused. - feat: typed
prompt_cache_options.prewarm,prompt_cache_options.comparison_response_idandbackground_optionson Responses requests - feat: typed
access_programson Responses requests and responses, forwarded to OpenAI only - feat: Vertex Gemini embedding models accept more than one input per request through
:batchEmbedContents - fix: tools with a root-level
oneOf,anyOforallOfkeep their parameters through MCP discovery, and each provider gets the union or one merged object depending on the model (supports_root_schema_composition) - fix: Bedrock InvokeModel forwards Anthropic
documentblocks, including URL sources, and returns a 4xx for input it cannot forward - fix: Bedrock invoke and Converse routes carry every member of a tool result, including images and documents
- fix: a Bedrock Converse response cut off at
max_tokensmid-reasoning returns the reasoning block instead of an empty message - fix: signed reasoning from Grok models on Bedrock is replayed on later turns
- fix:
reasoning_detailsare replayed on assistant messages sent to OpenRouter - fix: OpenRouter Responses requests send
prompt_cache_optionsonly with modeexplicit - fix: signed Anthropic thinking blocks with empty text are kept on multi-turn requests
- fix: the strip-and-retry for a refused foreign
redacted_thinkingblock runs on raw-body Anthropic messages requests from Claude Code - fix: an Anthropic advisor tool’s model is resolved through the key’s aliases
- fix:
summaryis serialized only on reasoning Responses items, so replayedfunction_callitems withencrypted_contentare accepted by OpenAI - fix: OpenAI and Azure image edits accept input images referenced by URL
- fix: roleless Responses items get a role before they are sent to Vertex Gemini
- fix: the Vertex passthrough rewrites only the
model,cachedContentandoperationNamefields and no longer alters prompt text - fix: Vertex batch creation accepts
<publisher>/<id>model names - fix: Vertex Priority PayGo is accepted on the
usandeumulti-region endpoints as well asglobal, with an updated model list - fix: MCP tools with no description keep a nil description, so Bedrock Converse no longer rejects them
- fix: a stream that ends on a read error completes its span as failed
- fix: a caller can no longer replace a relay’s
extra_headers, switch the method withX-HTTP-Method-Override, or pass its own query credential next to the relay’s - fix: a relay timeout names the relay and the timeout that fired, and billed request bodies allow 1000 levels of nesting instead of 64
- fix: relay spans carry the same
SpanEnrichmentas LLM spans
- feat:
service_tiercolumn on provider keys and key aliases (migrationadd_key_service_tier_column) - feat: storage and token minting for the MCP
client_credentialsauth type (migrationadd_mcp_client_client_credentials_json_column) - feat: storage for the MCP
aws_sigv4auth type (migrationadd_mcp_client_aws_sigv4_json_column) - feat:
oauth2_server_config.browser_base_urlandadditional_issuer_urlsfor MCP OAuth on several hostnames - feat: per-user MCP OAuth flows record the page the sign-in started from (migration
add_mcp_oauth_flow_origin_column) - feat: relay async jobs settle on the shared job accounting engine, with a relay settler, a Relay Logs recorder and a per-job poll schedule (migration
widen_batch_jobs_provider_status_and_endpoint) - feat: Relay Logs store
job_debugfor each job row, with an unpriced filter and search on job id (migrationrelay_logs_add_job_debug_widen_job_status) - feat: notifications can carry a subject and be resolved once it is handled (migrations
add_notification_subject_resolution_columnsandadd_notification_subject_index) - fix: replicas sharing a config store take a per-token lock before redeeming an MCP refresh token
- fix: Responses retrieve, retrieve-stream and cancel requests are priced at zero, so a Gemini interaction run is billed once
- feat: access check for the MCP session connect endpoint
- fix: a budget or rate-limit charge that lands during a virtual key, team, customer, model config or provider refresh is no longer lost, and a refresh cannot move a reset boundary backward
- fix: budget and rate-limit resets, baseline installs and dumps update usage and its persisted baseline together
- chore: upgraded core to v1.17.0 and framework to v1.14.0
- feat: relay async jobs are settled into Relay Logs, from the sweeper or from a caller’s status check, with the start call’s route, names and dimensions on the job row
- fix: typed Gemini interaction runs are billed once
- chore: upgraded core to v1.17.0 and framework to v1.14.0
- feat: settled relay job costs are added to relay cost, without counting a relay call
- fix: metric labels come from the enrichment registry, adding
alias,app,routing_engine_used,routing_rule_id,routing_rule_nameandcomplexity_tier - chore: upgraded core to v1.17.0 and framework to v1.14.0
- feat: a request with
prompt_cache_options.prewarmgets its own cache key - chore: upgraded core to v1.17.0 and framework to v1.14.0

