Skip to content

Quick Start

LLMCloud provides a unified API that gives you access to leading AI models (Claude, Gemini, and more) through a single endpoint. It is fully OpenAI-compatible, so you can use any existing OpenAI SDK or HTTP client to get started in minutes.

  1. Create an account at llmcloud.studio
  2. Generate an API key from your Dashboard

All API requests use the following base URL:

https://llmcloud.studio/v1

You can call the LLMCloud API using any HTTP client. The API follows the OpenAI chat completions format.

Terminal window
curl https://llmcloud.studio/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LLMCLOUD_API_KEY" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
}'

Since LLMCloud is OpenAI-compatible, you can use the official OpenAI SDK by simply changing the base_url and api_key.

First, install the SDK:

Terminal window
pip install openai

Then use it in your code:

from openai import OpenAI
client = OpenAI(
base_url="https://llmcloud.studio/v1",
api_key="<LLMCLOUD_API_KEY>",
)
completion = client.chat.completions.create(
model="anthropic/claude-sonnet-4.6",
messages=[
{
"role": "user",
"content": "What is the meaning of life?"
}
]
)
print(completion.choices[0].message.content)

To see all models available on LLMCloud:

Terminal window
curl https://llmcloud.studio/v1/models \
-H "Authorization: Bearer $LLMCLOUD_API_KEY"

The API supports streaming responses. Add "stream": true to your request body:

Terminal window
curl https://llmcloud.studio/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LLMCLOUD_API_KEY" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"stream": true,
"messages": [
{
"role": "user",
"content": "Write a short poem about coding."
}
]
}'

Or with the OpenAI SDK (Python):

from openai import OpenAI
client = OpenAI(
base_url="https://llmcloud.studio/v1",
api_key="<LLMCLOUD_API_KEY>",
)
stream = client.chat.completions.create(
model="anthropic/claude-sonnet-4.6",
messages=[{"role": "user", "content": "Write a short poem about coding."}],
stream=True,
)
for chunk in stream:
if chunk.choices[0].delta.content is not None:
print(chunk.choices[0].delta.content, end="")