Skip to main content
Hopscotch Gateway is an OpenAI-compatible router. Change the base URL and the API key in the OpenAI SDK you already use, and that one client reaches models from many providers.
Python
Model ids are provider/model, so the id you send says which provider serves it. A bare model name with no provider is refused rather than routed for you. Credit is prepaid. Requests are charged at the provider’s rate, with no markup on top.

Start with the Quickstart

Get a key, set the base URL, and send your first chat completion.

What you get

Routing profiles

An ordered list of your own models, requested as one profile identifier, so the fallback order lives in one place.

Bring your own key

Use your own provider credential so the provider bills you directly.

Guardrails

A named rule set attached to API keys: spend caps, allowed providers and models, and token ceilings.

Coding harnesses

Point the coding agents you already use at the gateway, with the settings each one needs.

Next steps

Features

Models, streaming, tools, caching, routing and the endpoints.

Manage

Credit, spend controls, usage, workspace members and data.

Integrations

Official SDKs, frameworks and coding agents.

API reference

Endpoints, headers and the error envelope.