Developer API
Chat and vision models, plus images, video, music and voice. Pay per token, no subscription.
Launch party: +200% credits on every pack, while the first 1,000,000 credits last (998,250 left). Bonus credits are valid for 12 months. Ends November 27. Terms
Already have a key? Sign in · Docs · Try it in chat
from openai import OpenAI
client = OpenAI(
base_url="https://api.legit2compute.com/nodes/llm/v1",
api_key="l2ck_...",
)
reply = client.chat.completions.create(
model="llama3.1", # or l2c/auto
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.legit2compute.com/nodes/llm/v1",
apiKey: process.env.L2C_API_KEY,
});
const reply = await client.chat.completions.create({
model: "llama3.1", // or l2c/auto
messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);curl https://api.legit2compute.com/nodes/llm/v1/chat/completions \
-H "Authorization: Bearer $L2C_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "llama3.1",
"messages": [{"role": "user", "content": "Say hello in five words."}]}'
https://api.legit2compute.com/nodes/llm/v1Any OpenAI SDK or tool works. Change the base URL and the key. Quickstart
l2c/autoEach request goes to the cheapest loaded model that fits it. Your activity page shows the saving.
Prompts and outputs are never stored. Turn on Private and only our own machines serve you. How
Tool calling, 256K context on an always-on model, and setup guides for Hermes, OpenClaw and Odysseus. Guides
5 of 21 ready now · $ per 1M tokens, in / out · Full catalog with cached rates
MiniCPM-V 2.6 8B (vision) minicpm-v:latest |
text image in 32K ctx | $0.040 / $0.060 | ● Ready |
Llama 3.1 8B llama3.1 |
text tools 128K ctx | $0.030 / $0.050 | ● Ready |
Ornith 1.5 9B (vision, 256K) ornith-1.5:9b |
text image in tools 256K ctx | $0.080 / $0.14 | ● Ready |
Ornith 1.5 35B (vision, 256K) ornith-1.5:35b |
text image in tools 256K ctx | $0.12 / $0.80 | ● Ready |
Qwen3.8 27B (vision + text) qwen3.8:27b |
text image in tools 128K ctx | $0.15 / $1.80 | ● Ready |
Gemma 4 12B (vision) gemma4:12b |
text image in tools 128K ctx | $0.040 / $0.12 | ○ On demand |
Granite 3.2 Vision 2B granite3.2-vision:2b |
text image in 16K ctx | $0.040 / $0.060 | ○ On demand |
MiniCPM-V 4.6 (vision) minicpm-v4.6:latest |
text image in 32K ctx | $0.040 / $0.060 | ○ On demand |
Bonsai 2 9B (vision) bonsai-2:9b |
text image in tools 256K ctx | $0.064 / $0.10 | ○ On demand |
DeepSeek-OCR 3B deepseek-ocr:3b |
text image in tools 128K ctx | $0.040 / $0.060 | ○ On demand |
GLM-OCR glm-ocr:latest |
text image in 16K ctx | $0.040 / $0.060 | ○ On demand |
MiMo-V2.6 9B (vision) mimo-v2.6:9b |
text image in tools 256K ctx | $0.030 / $0.10 | ○ On demand |
Muse Glimmer 30B (vision) muse-glimmer:30b |
text image in tools 32K ctx | $0.25 / $1.00 | ○ On demand |
BGE-M3 bge-m3:latest |
embeddings 8K ctx | $0.008 | ○ On demand |
Granite 4.2 3B (text) granite4.2:3b |
text tools 128K ctx | $0.040 / $0.060 | ○ On demand |
Granite 4.2 8B (text) granite4.2:8b |
text tools 128K ctx | $0.050 / $0.16 | ○ On demand |
LFM3 1.7B (text) lfm3:1.7b |
text tools 256K ctx | $0.040 / $0.060 | ○ On demand |
Qwen3 Embedding 0.6B qwen3-embedding:0.6b |
embeddings 32K ctx | $0.005 | ○ On demand |
Qwen3 Embedding 8B qwen3-embedding:8b |
embeddings 32K ctx | $0.008 | ○ On demand |
Qwen3 Reranker 0.6B qwen3-reranker:0.6b |
rerank 8K ctx | $0.030 | ○ On demand |
Whisper large-v3 turbo whisper-large-v3-turbo |
speech to text | $0.030 / audio hour | ○ On demand |
On-demand models start on your first request, which answers 503 with "warming": true for a minute or two. l2c/auto only uses ready ones.