Quickstart
Create an API key, send a request, and check your usage.
If you already use an OpenAI or Anthropic SDK, update your base URL and API key to get started.
Create an API key
Open API keys in the dashboard and select Create API key. Copy the key when it appears and save it as an environment variable. You can only view it once.
export OUTERLANE_API_KEY="ol_live_..."Send your first request
Use https://api.outerlane.app/v1 as the OpenAI SDK base URL. For the Anthropic SDK, use https://api.outerlane.app because the SDK appends /v1/messages itself.
curl https://api.outerlane.app/v1/chat/completions \
-H "Authorization: Bearer $OUTERLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6.1-sol",
"messages": [{ "role": "user", "content": "Say hello in one line." }]
}'Check your usage
The x_outerlane field shows the token count and charge for this request. Use the same request ID in Request logs to look up latency and cost.