All stories
2 min read

Vercel adds Python routing middleware as OpenAI's Decisions API reaches general availability

Vercel's October 21 update brings Python into its pre-request routing layer. On October 22, OpenAI moved its bounded-answer Decisions API from public beta to general availability, with new live-voice and caching integrations.

A web request passing through a routing panel and into a card with three bounded decision paths
Original illustration of request routing and bounded AI decisions; not a product screenshot.

Python can now handle requests before they reach a Vercel app

On October 21, Vercel announced Python support for Routing Middleware. The middleware runs before a request reaches an application and can redirect, rewrite, answer, or pass it through. Vercel describes support for Python frameworks including FastAPI, Flask, and Django, configured through a proxy entrypoint in vercel.toml. This is a change to the request-routing layer, not a requirement to rewrite an existing frontend in Python.

The middleware runs separately from the main app and has its own dependency group. Vercel's example uses vercel-proxy to redirect an old blog URL and to add a header before forwarding API requests; unmatched routes continue to the app. For teams serving a web interface alongside Python services, the update offers a way to keep routing rules close to the Python stack. Whether it simplifies a particular deployment depends on its existing framework and routing setup.

Decisions API moves beyond its October public beta

OpenAI announced on October 22 that its Decisions API is generally available. We covered its public beta on October 7; the news here is the production release and the additions since beta: native GPT-Live integration, prompt caching for reused context, US and EU inference residency, native JSON inputs, images in question instructions, and up to 400 questions per request. The endpoint still targets bounded answers such as a probability, a choice from predefined options, or a score, rather than open-ended text generation.

OpenAI says the API can make such decisions up to ten times faster than GPT-6 Luna through its Responses API. That is a vendor comparison, not a guaranteed result for every workload. Its live-voice example uses transcript events to choose an avatar expression; an application still has to interpret the decision and update the interface. For product teams, the practical test is whether a narrowly specified decision reduces interaction delay without making mistakes harder to catch.

Sources & further reading