> ## Documentation Index
> Fetch the complete documentation index at: https://docs.asklethe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get an API key and make your first call in under a minute.

## 1. Get a key

Every network gets 3 free guest requests with no key at all, use any placeholder string as the key to try it. For the daily member limit (50 messages/day) and a portable key, visit [`/cli`](https://asklethe.ai/cli) and connect a wallet. You'll get a key that looks like `ltk_…`.

## 2. Point your tool at LETHE

The base URL is drop-in for anything OpenAI- or Anthropic-compatible:

* OpenAI-style: `https://asklethe.ai/v1`
* Anthropic-style: `https://asklethe.ai` (with `ANTHROPIC_BASE_URL`)

<CodeGroup>
  ```bash cURL theme={null}
  curl https://asklethe.ai/v1/chat/completions \
    -H "Authorization: Bearer $LETHE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "lethe",
      "messages": [{ "role": "user", "content": "…" }]
    }'
  ```

  ```ts TypeScript (openai SDK) theme={null}
  const client = new OpenAI({
    baseURL: "https://asklethe.ai/v1",
    apiKey: process.env.LETHE_API_KEY,
  });

  const res = await client.chat.completions.create({
    model: "lethe",
    messages: [{ role: "user", content: prompt }],
  });
  ```

  ```python Python (openai SDK) theme={null}
  from openai import OpenAI

  client = OpenAI(
      base_url="https://asklethe.ai/v1",
      api_key="$LETHE_API_KEY",
  )

  resp = client.chat.completions.create(
      model="lethe",
      messages=[{"role": "user", "content": prompt}],
  )
  ```
</CodeGroup>

## 3. Pick a model

Use `lethe` for text, `lethe-vision` for image/video input. See [Models](/api-reference/models). Claude Code's default model ids (`opus`, `sonnet`, `haiku`) and any `claude-*` id are automatically aliased to `lethe`, so Claude Code works with zero model-name changes.

## Framework integrations

<CardGroup cols={3}>
  <Card title="Claude Code" icon={<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z"/></svg>} href="/integrations/claude-code">Anthropic Messages API</Card>
  <Card title="Codex CLI" icon="square-terminal" href="/integrations/codex-cli">OpenAI-compatible provider</Card>
  <Card title="Vercel AI SDK" icon={<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="m12 1.608 12 20.784H0Z"/></svg>} href="/integrations/vercel-ai-sdk">createOpenAI()</Card>
  <Card title="LangChain" icon={<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M13.796 0a6.93 6.93 0 0 0-4.91 2.019L5.451 5.455l3.273 3.27 3.432-3.432a2.284 2.284 0 0 1 3.277 0 2.28 2.28 0 0 1 0 3.275L12 12.001l3.273 3.273 3.433-3.435c2.692-2.692 2.692-7.127 0-9.82A6.92 6.92 0 0 0 13.796 0m-5.07 8.728-3.433 3.434c-2.692 2.693-2.692 7.126 0 9.819A6.92 6.92 0 0 0 10.203 24a6.93 6.93 0 0 0 4.911-2.02l3.432-3.432-3.271-3.272-3.433 3.433a2.284 2.284 0 0 1-3.277 0 2.28 2.28 0 0 1 0-3.276L12 12z"/></svg>} href="/integrations/langchain">ChatOpenAI</Card>
  <Card title="CrewAI" icon={<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M12.482.18C7.161 1.319 1.478 9.069 1.426 15.372c-.051 5.527 3.1 8.68 8.68 8.627 6.716-.05 14.259-6.87 12.09-10.9-.672-1.292-1.396-1.344-2.687-.207-1.602 1.395-1.654.31-.207-2.893 1.757-3.98 1.705-5.322-.31-7.544C17.03.388 14.962-.388 12.482.181Zm5.322 2.068c2.273 2.015 2.376 4.236.465 8.42-1.395 3.1-2.17 3.515-3.824 1.86-1.24-1.24-1.343-3.46-.258-6.044 1.137-2.635.982-3.1-.568-1.653-3.72 3.358-6.458 9.765-5.424 12.503.464 1.189.825 1.395 2.737 1.395 2.79 0 6.303-1.705 7.957-3.926 1.756-2.274 2.79-2.274 2.79-.052 0 3.875-6.459 8.627-11.625 8.627-6.251 0-9.351-4.752-7.491-11.47.878-2.995 4.443-7.904 7.077-9.66 3.255-2.17 5.684-2.17 8.164 0z"/></svg>} href="/integrations/crewai">LLM()</Card>
</CardGroup>

Every call is stateless. LETHE does not store conversation history server-side for API requests. Send the full message list each time.
