tinyai is a single, OpenAI-compatible endpoint in front of every provider. Point any OpenAI SDK at it and reach Claude, GPT, Gemini and more — no per-provider clients, no rewrites.
# The only change to your code: the base URL. from openai import OpenAI client = OpenAI( base_url="https://ai.tinyappmart.com/v1", api_key="sk-...", # one tinyai key ) client.chat.completions.create( model="claude-opus-4-8", # or gpt-5, gemini, sonnet, haiku... messages=[{"role": "user", "content": "Hello!"}], )
tinyai deliberately copies the OpenAI API — so the tools, SDKs and code you already have just work. Swap the base URL and you can talk to any provider through the same requests.
Same request and response shapes as OpenAI. If your code speaks OpenAI, it already speaks tinyai — Python, JS, curl, anything.
A single sk- key reaches every provider. Pick the model per
request; tinyai routes it to the right upstream.
Claude for reasoning, GPT for one call, Gemini for the next — swap models with a string, not a new integration.
Load the API keys you already have — Anthropic, OpenAI, Google — into tinyai once. We hand you a single tinyai key that fans out to all of them using your own credentials. You keep billing directly with each provider; tinyai is just the router.
sk- key that unifies them all.no markup You pay providers their price. We just translate and route.
# your keys, loaded once anthropic → sk-ant-••• openai → sk-••• google → AIza••• ↓ combined into tinyai → sk-••• # one key, all providers
# define your OWN request shape → any provider def to_anthropic(req): return { "model": req["m"], "max_tokens": req.get("limit", 1024), "messages": req["chat"], } # tinyai runs this on the way out.
Don't want the OpenAI shape? You're not stuck with it. Write a small translation file that says what requests you send to tinyai and how they map to each provider's native API. Your own front door; tinyai handles the plumbing to every backend.
Call by full id or a short alias. More providers landing soon.
| Alias | Model | Provider |
|---|---|---|
opus | claude-opus-4-8 | Anthropic |
sonnet | claude-sonnet-4-6 | Anthropic |
haiku | claude-haiku-4-5 | Anthropic |
fable | claude-fable-5 | Anthropic |
| OpenAI & Google — coming next | ||