Back to changelog

Routing policy aliases and OpenAI hosted web search

The Routing policies page gives every policy a model alias

One organization API key reaches every routing policy through its @alias/<slug> model string.

An agent can move from a cost-first policy to a quality-first one by sending a different model, with no new API key or deploy.

  • The Routing policies page lists each organization-level policy with its model string, ready to copy
  • Creating a policy mints its alias from the policy name, and renaming the policy keeps the alias
  • /v1/routing-policies responses include each policy's slug and model
  • The OpenAI, Anthropic, AI SDK, and LangChain /models listings include the organization's aliases
  • Configuration > Aliases redirects to the Routing policies page, and existing aliases keep resolving

Read more in the Model aliases docs.

OpenAI's hosted web_search tool runs on /v1/openai/responses

Coding agents can search the web, such as with codex --search, on streaming and non-streaming requests.

  • Responses include web_search_call output items and url_citation annotations
  • usage.server_tool_use.web_search_requests counts the searches each request ran
  • Chat completions compatible endpoints return citations in OpenAI's shape

Read more in the Web search docs.

Vendor selection picks the cheapest capable vendor

Each request goes to the cheapest vendor that can serve it, the model author's own API gets no preference, and catalog priority breaks ties. When a request asks for a reasoning effort the cheapest route can't deliver, such as max, the cheapest vendor that supports it serves the request, including on failover and BYOK. Read more in the Routing docs.

Improvements

  • /v1/ai-sdk/responses - Returns the full OpenAI Response object
  • /v1/openai/responses
    • Returns the full OpenAI Response object, echoing request parameters such as tools, reasoning, and metadata
    • Includes error, incomplete_details, completed_at, and cache_write_tokens, with status: incomplete on length stops
    • SSE frames carry event: lines, and response.in_progress follows response.created
    • Completes the deferred tool-search round trip for Codex's deferred MCP tools
  • /v1/responses - Accepts the OpenAI developer role and OpenAI Responses fields
  • /v1/routing-policies - All six endpoints accept an organization-bound Gateway API key alongside mgmt_ management keys
  • Chat surfaces - Accept include_routing_metadata as a request header as well as a body field
  • Failover
    • Triggers on strict json_schema mismatches, 400 billing gates, and vendor model-not-found (404) responses
    • Skips fallback vendors that are failing
    • Retries once without stop when a provider rejects stop sequences
  • GLM-5.3 Flash - Streams tool-call arguments on the Z.AI direct route
  • Logs
    • Search returns results faster
    • Filters by Turn ID and Client trace ID, and the request drawer shows tool calls
  • merge:web_search
    • Retries and fails over between search engines, with a per-request retry limit
    • Answers from the results found when a request reaches the search cap
    • A bare tool or engine: "auto" searches with Parallel, which runs the whole query list in one call
  • Model discovery - Adds a claude-code base path and encoded model ids for Claude Code and Desktop
  • Model Explorer - Shows peak and off-peak pricing per model, with input, output, and cache rates
  • Particle AI - Joins the model catalog as a vendor
  • Prompt caching
    • OpenAI GPT-5.6 and later report cache writes in usage as cache_write_tokens and bill them at the write rate
    • Explicit routes add a cache marker when the request sends none
  • Provider errors - Return HTTP 503 with the provider's error body
  • Provider warnings - Reach clients on Anthropic Messages, AI SDK, and LangChain, including the final stream frame
  • Reasoning effort - Accepts xhigh and max on Anthropic, and max on gpt-5.6 through the Responses API
  • SDK compatibility - Bare paths let SDKs use the Gateway base URL directly
  • Usage views - Show customer names instead of raw customer IDs
  • Wan3.0 Video - Joins the model catalog for video generation