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.
Prerequisites
Section titled “Prerequisites”- Create an account at llmcloud.studio
- Generate an API key from your Dashboard
Base URL
Section titled “Base URL”All API requests use the following base URL:
https://llmcloud.studio/v1Using the API directly
Section titled “Using the API directly”You can call the LLMCloud API using any HTTP client. The API follows the OpenAI chat completions format.
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?" } ]}'import requestsimport json
response = requests.post( url="https://llmcloud.studio/v1/chat/completions", headers={ "Authorization": "Bearer <LLMCLOUD_API_KEY>", "Content-Type": "application/json", }, data=json.dumps({ "model": "anthropic/claude-sonnet-4.6", "messages": [ { "role": "user", "content": "What is the meaning of life?" } ] }))
print(response.json())const response = await fetch('https://llmcloud.studio/v1/chat/completions', { method: 'POST', headers: { 'Authorization': 'Bearer <LLMCLOUD_API_KEY>', 'Content-Type': 'application/json', }, body: JSON.stringify({ model: 'anthropic/claude-sonnet-4.6', messages: [ { role: 'user', content: 'What is the meaning of life?', }, ], }),});
const data = await response.json();console.log(data.choices[0].message.content);Using the OpenAI SDK
Section titled “Using the OpenAI SDK”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:
pip install openaiThen 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)First, install the SDK:
npm install openaiThen use it in your code:
import OpenAI from 'openai';
const openai = new OpenAI({ baseURL: 'https://llmcloud.studio/v1', apiKey: '<LLMCLOUD_API_KEY>',});
async function main() { const completion = await openai.chat.completions.create({ model: 'anthropic/claude-sonnet-4.6', messages: [ { role: 'user', content: 'What is the meaning of life?', }, ], });
console.log(completion.choices[0].message.content);}
main();List Available Models
Section titled “List Available Models”To see all models available on LLMCloud:
curl https://llmcloud.studio/v1/models \ -H "Authorization: Bearer $LLMCLOUD_API_KEY"Streaming
Section titled “Streaming”The API supports streaming responses. Add "stream": true to your request body:
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="")Next Steps
Section titled “Next Steps”- Browse the Supported Models to find the right model for your use case
- Set up your favorite IDE Integration for AI-assisted coding