Skip to content

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

Portability is one line, not a rewrite

Grid speaks the OpenAI protocol, so the client you already have works without a wrapper. What you gain is the ability to change your mind later.

Published

Grid speaks the OpenAI protocol. The client library you already have works against it without a wrapper, an adapter, or a vendor SDK. You change the base URL and keep everything else.

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.genai.forlex.cloud/v1",
    api_key=os.environ["FORLEX_API_KEY"],
)

The point is not the saved afternoon#

Being able to move in one line is worth something, but it is not the argument. The argument is what the line buys you afterwards: you can swap models, pin a version, or let Grid pick a route for you, and none of those changes your integration.

That is the difference between a provider you can leave and a provider you have integrated with. The second one has priced its switching cost into your roadmap, whether or not anyone wrote it down.

Check the parameter before you depend on it#

Speaking a protocol is not the same as implementing every corner of it, and claiming otherwise would be the kind of thing you only discover in production. OpenAI compatibility lists what is supported today. Read it before you build on a parameter, not after.

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