1. Create your account
Sign up at app.to11.ai and create your first organization, workspace, and project. See Core Concepts for how those fit together.2. Connect a provider
In your project, go to AI Gateway → Providers and connect OpenAI by adding its credential. The gateway uses it to reach the provider on your behalf. Set the Routing identifier toopenai: the requests below name the provider that way, as openai::gpt-4o. See Providers.
3. Create an API key
Open Settings → API keys and create a key scoped to what your application needs. Copy the secret — it’s shown only once. See API keys.4. Point your SDK at the gateway
Change your SDK’s base URL to the to11 gateway athttps://gw.to11.ai and authenticate to to11 with the x-to11-authorization header. Your provider key stays in the SDK’s api_key (the standard Authorization header), forwarded upstream — or omit it if you configured the provider credential in your project above.
5. Read the gateway’s response id
Every gateway response carries anx-to11-request-id header — a unique id for the call you can log alongside your own records. The parsed SDK response object doesn’t expose headers, so read them with the SDK’s raw-response API:
6. See your trace
In the to11 dashboard, open your project and go to Traces. Your request shows up as a GenAI span — model, tokens, and latency — with no instrumentation code on your side.Next steps
Connect your SDK
OpenAI, Anthropic, or Vercel AI SDK.
Configure routing
Route across providers and models.