Skip to content

Smart Router: route a request to a capable model enabled for your account.Try

The router is opt in, and it tells you who answered

Hardcoding one model for all of your traffic makes every request pay the cost of your hardest request. Turn on Smart Router instead. If you do not ask, nothing is routed.

Published

Hardcoding one model for all of your traffic makes every request pay the cost of your hardest request. Smart Router is the alternative: you describe the work, and Grid selects a lane that can do it. Set model to grid-auto and everything else about the request is unchanged.

Python

resp = client.chat.completions.create(
    model="grid-auto",
    messages=[{"role": "user", "content": "Summarise this contract clause."}],
)

Two properties matter more than the routing itself. It is opt in. If you do not ask for it, nothing is routed, and a request naming a model gets that model. And it always tells you which model actually answered, so a routed request is auditable after the fact rather than a decision made on your behalf and forgotten.

One caveat, and it is on the Smart Router page too: grid-auto is not currently returned by GET /v1/models, so you cannot discover it from the catalog listing. Confirm it is enabled for your account before you build on it.

Read next

Start where you are.
Move intelligence forward

Request access

Agent API and Grid access are by invitation. Enabled services and terms are confirmed during onboarding.

Drafts stay in this browser visit. Refreshing the page clears them.

Processed under our Privacy & Data Protection Notice (GDPR, LGPD & CCPA). No personal data is sold or shared.

Talk to us

Tell us who you are and what you need to review.

Drafts stay in this browser visit. Refreshing the page clears them.

Each topic keeps its own requirements during this visit. Changing topic keeps your contact details.

Processed under our Privacy & Data Protection Notice (GDPR, LGPD & CCPA). No personal data is sold or shared.

[PRIVACY & TELEMETRY CONTROLS]

Data Protection & Telemetry Preferences

Forward Intelligence (operated internationally by Forlex, LLC and in Brazil by Forlex Ltda) respects your rights under the EU/UK GDPR, Brazil LGPD (Lei nº 13.709/2018), and California CCPA/CPRA.

Strictly necessary storageAlways active

Stores colour theme (grid-theme), documentation navigation state, and your privacy preference (fwdi_privacy_consent_v1) locally in your browser. No third-party cookies or cross-site trackers are set.

The language selector stores only your preference in a first-party cookie (fwdi-language), for up to one year. This does not enable optional analytics.

Redacted route & funnel analyticsDisabled

Collects aggregate pageviews on allowlisted marketing routes and coarse commercial funnel events via @vercel/analytics. Query strings, dynamic paths, and personal data are redacted client-side before sending.

Read full GDPR / LGPD / CCPA notice