Quickstart
Call Claude, GPT, Gemini, DeepSeek, GLM, and other leading models through one API key using native Anthropic, OpenAI, and Gemini protocols.
Create an API key
Create an API key (prefixed with sk-teamo-) in the Dashboard · API Keys. The full key is shown once—store it in an environment variable rather than committing it to source control.
export TEAMOROUTER_API_KEY="sk-teamo-xxxxxx"
Send your first request
Pick a protocol and language, then copy and run the example below.
curl https://api.teamorouter.com/v1/messages \
-H "x-api-key: $TEAMOROUTER_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Introduce yourself in one sentence."}
]
}'Use an official SDK
No proprietary SDK required—point the official provider SDK to TeamoRouter and swap in your API key:
| Protocol | Base URL | Models | Reference |
|---|---|---|---|
| Anthropic native | https://api.teamorouter.com (no /v1) |
Claude family | Create a message |
| OpenAI-compatible | https://api.teamorouter.com/v1 |
GPT, DeepSeek, GLM, Kimi, Grok, etc. | Chat Completions / Responses |
| Gemini native | https://api.teamorouter.com (no /v1) |
Gemini family | Generate content |
See SDK quickstart for OpenAI SDK, Anthropic SDK, LiteLLM, LangChain, and Vercel AI SDK setups.
Next steps
- Connect coding tools: Follow guides for Claude Code CLI, Codex Desktop, Cursor, OpenCode, or Magpie.
- Connect chat clients: Configure Cherry Studio, ChatBox, LobeChat, and more.
- Explore capabilities & API reference: Switch to API Reference above for full endpoint schemas, or read Prompt caching, Reasoning, Billing FAQ, and Error codes.