Skip to main content

Apollo model family

Loom Labs provides the Apollo family of models tuned for different latency, cost, and capability trade-offs, as well as the Daedalus family optimized for code generation and reasoning. All Apollo models support a 128k token context window and are available in the Loom AI API as Apollo-1-2B, Apollo-1-4B, and Apollo-1-8B. The Daedalus family (Daedalus-1-2B, Daedalus-1-8B) is purpose-built for code reasoning, program synthesis, and debugging workflows.

Apollo-1 2B

Apollo-1 4B

Apollo-1 8B

Daedalus-1 2B

Daedalus-1 8B

Apollo-1 2B

  • Model ID: Apollo-1-2B
  • Availability: Free (Beta)
  • Context window: 128k tokens
  • Recommended use-cases: classification, short summaries, simple chatbots, low-cost inference

Example

curl https://api.loom.aayanmishra.com/api/v1/responses \
  -H "Authorization: Bearer $LOOM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"Apollo-1-2B","input":"Classify the sentiment: I love this product"}'

Apollo-1 4B

  • Model ID: Apollo-1-4B
  • Availability: Free (Beta)
  • Context window: 128k tokens
  • Recommended use-cases: content generation, multi-turn dialogue, question answering

Example

import requests, os
BASE = "https://api.loom.aayanmishra.com/api/v1"
KEY = os.environ['LOOM_API_KEY']
resp = requests.post(f"{BASE}/chat/completions", headers={"Authorization": f"Bearer {KEY}", "Content-Type": "application/json"}, json={"model":"Apollo-1-4B","messages":[{"role":"user","content":"Explain quantum entanglement in simple terms."}]})
print(resp.json())

Apollo-1 8B

  • Model ID: Apollo-1-8B
  • Availability: Free (Beta)
  • Context window: 128k tokens
  • Recommended use-cases: advanced content generation, deep reasoning, long-form analysis

Example

// Node example
const res = await fetch('https://api.loom.aayanmishra.com/api/v1/responses', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${process.env.LOOM_API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ model: 'Apollo-1-8B', input: 'Analyze the following dataset...' })
})
console.log(await res.json())
All Apollo models currently return OpenAI-like shapes and are compatible with common SDKs. Choose a model based on your latency/cost tradeoffs.

Daedalus-1 2B

  • Model ID: Daedalus-1-2B
  • Availability: Free (Beta)
  • Context window: 128k tokens (code-optimized)
  • Recommended use-cases: code generation, bug fixing, algorithmic reasoning, unit-test synthesis

Example: Generate a Python function

curl https://api.loom.aayanmishra.com/api/v1/responses \
  -H "Authorization: Bearer $LOOM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"Daedalus-1-2B","input":"Write a Python function that reverses a linked list and includes type hints and unit tests."}'

Daedalus-1 8B

  • Model ID: Daedalus-1-8B
  • Availability: Free (Beta)
  • Context window: 128k tokens (code-optimized)
  • Recommended use-cases: large-scale code synthesis, complex debugging, instruction-following on codebases

Example: Complex code transformation (Node)

const res = await fetch('https://api.loom.aayanmishra.com/api/v1/responses', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${process.env.LOOM_API_KEY}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({ model: 'Daedalus-1-8B', input: 'Refactor this legacy function to use async/await and add error handling: <paste code>' })
})
console.log(await res.json())