OpenAI-compatible API for 98 models
Outrun is an OpenAI-compatible API for 101 models. Change your base URL to https://api.outrun.to/v1, use your Outrun key and pick a model ID.
One key for
98
models, billed per token
- Base URL
- /v1
- Endpoint
- /chat/completions
- Billing
- prepaid USD
Connect in two lines
Set the base URL and your key. Everything else stays the same as in your current code. It works with the OpenAI SDKs and with tools such as Cline, OpenCode and SillyTavern. You pay per token from prepaid credit, with no subscription.
Settings for an OpenAI-compatible app
enter exactly as shown
| Setting | Value |
|---|---|
| Base URL | https://api.outrun.to/v1 |
| API key | Your Outrun key |
| Model ID | For example deepseek-v4.1-flash. IDs are case-sensitive and must match the model list exactly. |
If your app adds /v1 by itself, use https://api.outrun.to instead.
Try it from code
Keep your key in an environment variable. Do not paste it into an AI chat, a screenshot or a repository. Full request and response formats are in the API reference.
import os from openai import OpenAI client = OpenAI( base_url="https://api.outrun.to/v1", api_key=os.environ["OUTRUN_API_KEY"], ) reply = client.chat.completions.create( model="deepseek-v4.1-flash", messages=[{"role": "user", "content": "Hello!"}], max_tokens=8192, ) print(reply.choices[0].message.content)
curl https://api.outrun.to/v1/chat/completions \ -H "Authorization: Bearer $OUTRUN_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 8192 }'
curl https://api.outrun.to/v1/models \ -H "Authorization: Bearer $OUTRUN_API_KEY"
Which tools work with it
Each tool below has a setup guide with the exact values to enter.
OpenAI-compatible (Chat Completions)
OpenAI Responses
Other request formats on the same key
Claude Code uses the Anthropic Messages format. Its address is https://api.outrun.to, with no /v1. Gemini CLI uses the Gemini native format. Not listed? Any client that accepts an OpenAI-compatible base URL and a model ID can use Outrun. Start from the documentation index.
Pricing
You pay per token from prepaid USD credit. There is no subscription. Every model has its own rate for input, cached input and output tokens.
- All 101 models and their prices, with a request cost calculator.
- Each model has its own page with the exact rate and a copy-paste snippet, for example DeepSeek V4.1 Flash.
- The price list is also published as JSON at
https://api.outrun.to/pricing, with no key needed.
Questions
Setup guides for each tool are in the guides hub.
What base URL do I use for an OpenAI-compatible app?
Use https://api.outrun.to/v1. If your app adds /v1 to the address by itself, use https://api.outrun.to instead.
Which endpoints can I call?
Chat Completions (/v1/chat/completions) works for all text models. The Responses API (/v1/responses) works for GPT models. /v1/models lists your model IDs. Image generation, text to speech and video generation have their own endpoints, listed in the API reference. /v1/audio/transcriptions is not available.
How am I billed, and how do I check my balance?
Requests use prepaid USD credit and are billed per token at the rate for the exact model you name. To see your balance, call GET /v1/account with your key or open your dashboard. Send one small test first, because tests use credit.
Does Outrun store my prompts?
Outrun does not store your prompts, images or outputs unless you choose to save them.
