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.
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)What Lightspace does
01
Models API
Language, vision, speech, embeddings and image models, all open-weight. Run them, train them on your own data, or take the weights and go. Free to start.
See the models02AI Consultancy
Strategy, roadmaps and build support for companies putting AI at the core of how they operate.
How we workPick a model. Start free.
Every model in the catalogue, free to start, and no card to hand over.
Open your workspace