Skip to content
lightspace

Inference · Training · Fine-tuning

Run open models with an API.

Inference, training and fine-tuning on one OpenAI-compatible endpoint. One key for all three, free to start, and the weights leave with you.

InferenceTraining & fine-tuningSelf-learning

OpenAI-compatible
from openai import OpenAI

client = OpenAI(
    base_url="https://api.lightspacehq.com/v1",
    api_key=os.environ["LIGHTSPACE_API_KEY"],
)

r = client.chat.completions.create(
    model="qwen2.5-vl-7b",
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "Invoice number, date and total as JSON."},
        {"type": "image_url",
         "image_url": {"url": "https://example.com/invoice.jpg"}},
    ]}],
)
print(r.choices[0].message.content)
Qwen3Llama 3.1Gemma 3gpt-ossDeepSeek-R1PixtralQwen3-VLWhisperFLUX.1BGE-M3and more →

What Lightspace does

Pick a model. Start free.

Every model in the catalogue, free to start, and no card to hand over.

Open your workspace