SwitchLLM

Docs

Your first request

Anything that speaks the OpenAI protocol works: the Python and Node SDKs, LangChain, LlamaIndex and most desktop clients.

1. Create a key

Sign in with Google and create a key in the console.

2. Point your client at the endpoint

Change the base URL. Keep the rest of your code as it is.

3. Send a request

Streaming, tool calls and images behave the way your client expects.

Endpoint

One base URL for every model.

https://switchllm.net/v1

curl https://switchllm.net/v1/chat/completions \
  -H "Authorization: Bearer $SWITCHLLM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
# Streaming works the same way: add "stream": true.

Pass your key as the bearer token, and keep keys out of client-side code.

Models

Availability changes as new models land. The console shows the live list.

Model IDFamilyAccess
deepseek-chatDeepSeekPaid
deepseek-flashDeepSeekPaid
deepseek-reasonerDeepSeekPaid
deepseek-v4-proDeepSeekPaid
glm-4.5GLMPaid
glm-4.5-airGLMPaid
glm-4.5-flashGLMFree
glm-4.6GLMPaid
glm-4.7GLMPaid
glm-4.7-flashGLMFree
glm-5GLMPaid
glm-5-turboGLMPaid
glm-5.1GLMPaid
glm-5.2GLMPaid
glm-5.3GLMPaid
glm-5.3-flashGLMPaid
glm-5.3-flashxGLMPaid
kimi-k2.6KimiPaid · Coming soon
kimi-k2.7-codeKimiPaid · Coming soon

API reference →