Keep your code. Change one URL.
The whole change
Before
- base_url: https://api.openai.com/v1
- api_key: your OpenAI key
- One provider
After
- base_url: https://api.digitspace.ai/v1
- api_key: your DigitSpace key
- 47 models from 6 providers

In 1953 an operator put each call through by hand. DigitSpace routes every request.
Switchboard operators, NIH Clinical Center, 1953. NIH History Office, public domain, via Wikimedia Commons.
OpenAI SDK
Python, Node.js and any other OpenAI SDK work the same way.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.digitspace.ai/v1",
apiKey: process.env.DIGITSPACE_API_KEY,
});
const reply = await client.chat.completions.create({
model: "claude-sonnet-5-5", // any model, in OpenAI's format
messages: [{ role: "user", content: "Hello" }],
});Anthropic SDK and Claude Code
Point Anthropic's SDK, or Claude Code, at the gateway without /v1.
export ANTHROPIC_BASE_URL=https://api.digitspace.ai
export ANTHROPIC_AUTH_TOKEN=$DIGITSPACE_API_KEY
claudeWhat's supported
| Feature | Chat Completions | Messages |
|---|---|---|
| Streaming | Yes | Yes |
| Tools and tool choice | Yes | Yes |
| Images in messages | Yes | Yes |
| JSON and JSON schema output | Yes | Through tools |
| Prompt caching | Passed through to providers that support it | Yes |
| Embeddings, images, audio | Not yet | Not yet |
Questions
Do I need a different SDK?
No. Use the OpenAI or Anthropic SDK you already have.
Can I call a GPT model through the Anthropic API?
Yes. DigitSpace translates the request and the answer, streaming included.
Which tools work with it?
Anything that lets you set an OpenAI-compatible base URL: LangChain, the Vercel AI SDK, LlamaIndex, Cursor, Cline, Aider, OpenCode and more.
Read next
Live in a minute.
Create a key, change the base URL, send a request. No card needed with your own provider keys.
Start free