> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-mintlify-ec5539c9.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Venice API

> Venice API documentation with guides, quickstarts, and the full API reference for building private, unrestricted text, image, audio, and video apps.

<div className="venice-hero-copy">
  <p className="venice-hero-tagline">Private, unrestricted access to all the leading AI models across text, image, video, and audio, behind one API key.</p>

  <div className="venice-hero-ctas">
    <a className="venice-hero-cta venice-hero-cta-primary" href="https://venice.ai/settings/api">Get an API key →</a>
    <a className="venice-hero-cta" href="/getting-started/quick-start">Get started</a>
  </div>
</div>

<CodeGroup>
  ```bash curl theme={null}
  curl https://api.venice.ai/api/v1/chat/completions \
    -H "Authorization: Bearer $VENICE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "zai-org-glm-5-1",
      "messages": [{"role": "user", "content": "Build without permission."}]
    }'
  ```

  ```ts TypeScript theme={null}
  import OpenAI from "openai";

  const client = new OpenAI({
    apiKey: process.env.VENICE_API_KEY,
    baseURL: "https://api.venice.ai/api/v1",
  });

  const res = await client.chat.completions.create({
    model: "zai-org-glm-5-1",
    messages: [{ role: "user", content: "Build without permission." }],
  });
  ```

  ```python Python theme={null}
  import os
  from openai import OpenAI

  client = OpenAI(
      api_key=os.environ["VENICE_API_KEY"],
      base_url="https://api.venice.ai/api/v1",
  )

  res = client.chat.completions.create(
      model="zai-org-glm-5-1",
      messages=[{"role": "user", "content": "Build without permission."}],
  )
  ```
</CodeGroup>

<div className="venice-section-header">
  <h2 className="venice-section-title">Endpoints</h2>
  <p className="venice-section-subtitle">One API for every modality, with the same auth, error codes, and rate limit headers across all of them.</p>
</div>

<div className="venice-apis-grid">
  <a className="venice-api-card" href="/api-reference/endpoint/chat/completions">
    <span className="venice-api-card-name">Chat Completions</span>
    <p className="venice-api-card-desc">A drop-in replacement for the OpenAI chat endpoint, spanning 100+ text models from fast open weights to frontier reasoning.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Streaming</span>
      <span className="venice-api-card-chip">Function calling</span>
      <span className="venice-api-card-chip">Vision</span>
    </div>

    <span className="venice-api-card-action">See reference →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/image/generations">
    <span className="venice-api-card-name">Image Generation</span>
    <p className="venice-api-card-desc">Photorealistic, stylized, and uncensored models, plus inpainting, background removal, and preset styles.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Text-to-image</span>
      <span className="venice-api-card-chip">Image-to-image</span>
      <span className="venice-api-card-chip">Upscale</span>
    </div>

    <span className="venice-api-card-action">See reference →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/audio/speech">
    <span className="venice-api-card-name">Audio</span>
    <p className="venice-api-card-desc">Multilingual speech synthesis and accurate transcription, with voice cloning from a short reference sample.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">TTS</span>
      <span className="venice-api-card-chip">Transcription</span>
      <span className="venice-api-card-chip">50+ voices</span>
    </div>

    <span className="venice-api-card-action">See reference →</span>
  </a>

  <a className="venice-api-card" href="/api-reference/endpoint/video/queue">
    <span className="venice-api-card-name">Video</span>
    <p className="venice-api-card-desc">Run generations in a single call or through an async job queue, and price any job up front with a quote.</p>

    <div className="venice-api-card-chips">
      <span className="venice-api-card-chip">Text-to-video</span>
      <span className="venice-api-card-chip">Image-to-video</span>
      <span className="venice-api-card-chip">Reference-to-video</span>
    </div>

    <span className="venice-api-card-action">See reference →</span>
  </a>
</div>

<p className="venice-apis-extras">
  Plus <a href="/api-reference/endpoint/embeddings/generate">embeddings</a>, <a href="/guides/features/file-inputs">file inputs</a>, <a href="/guides/integrations/venice-mcp">MCP tools</a>, and <a href="/guides/integrations/x402-venice-api">wallet payments</a>. <a className="venice-apis-extras-cta" href="/api-reference">View all endpoints →</a>
</p>

<div className="venice-section-header">
  <h2 className="venice-section-title">Agents</h2>
  <p className="venice-section-subtitle">Private inference, MCP tools, and wallet-funded workflows for messaging, coding, and onchain agents.</p>
</div>

<h3 className="venice-subsection-title">Agent apps</h3>

<div className="venice-agent-grid">
  <a className="venice-agent-card" href="/guides/integrations/openclaw-bot">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/openclaw.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=bd9b0e4a989b8555fc2fea1c02fe7fbd" alt="" width="120" height="120" data-path="images/icons/integrations/openclaw.svg" />
      </span>

      <span className="venice-agent-card-name">OpenClaw</span>
    </span>

    <span className="venice-agent-card-desc">Run Venice on WhatsApp, Telegram, Discord, iMessage, and Slack.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/hermes-agent">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/mono/hermes.png?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=bf17ae02c5667ca689fc45fdf09ea6cc" alt="" width="96" height="96" data-path="images/icons/integrations/mono/hermes.png" />
      </span>

      <span className="venice-agent-card-name">Hermes Agent</span>
    </span>

    <span className="venice-agent-card-desc">Self-hosted agents with memory, skills, and Venice models.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/nanoclaw-venice">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/nanoclaw.png?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=b9f4cdba9668a79e79336e6854d05100" alt="" width="96" height="96" data-path="images/icons/integrations/nanoclaw.png" />
      </span>

      <span className="venice-agent-card-name">NanoClaw</span>
    </span>

    <span className="venice-agent-card-desc">Lightweight WhatsApp and Telegram assistant powered by Venice.</span>
  </a>
</div>

<p className="venice-apis-extras">
  <a className="venice-apis-extras-cta" href="/guides/integrations/ai-agents#agent-apps">Explore all agent apps →</a>
</p>

<h3 className="venice-subsection-title">Coding agents</h3>

<div className="venice-agent-grid">
  <a className="venice-agent-card" href="/guides/integrations/claude-code">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/mono/claude-code.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=baf984635bc343f7a5cf1128fa36677d" alt="" width="24" height="24" data-path="images/icons/integrations/mono/claude-code.svg" />
      </span>

      <span className="venice-agent-card-name">Claude Code</span>
    </span>

    <span className="venice-agent-card-desc">Run Claude Code against Venice-hosted Claude models.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/cursor">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/mono/cursor.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=80b9863b38327eefaf445a4b223fd607" alt="" width="24" height="24" data-path="images/icons/integrations/mono/cursor.svg" />
      </span>

      <span className="venice-agent-card-name">Cursor</span>
    </span>

    <span className="venice-agent-card-desc">Add Venice models to Cursor with the venice- model prefix.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/codex-cli">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/mono/codex-cli.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=a918abbb68fdc93150dfd77284fe1703" alt="" width="16" height="16" data-path="images/icons/integrations/mono/codex-cli.svg" />
      </span>

      <span className="venice-agent-card-name">Codex CLI</span>
    </span>

    <span className="venice-agent-card-desc">Point Codex CLI at Venice's OpenAI-compatible endpoint.</span>
  </a>
</div>

<p className="venice-apis-extras">
  <a className="venice-apis-extras-cta" href="/guides/integrations/ai-agents#coding-agents">Explore all coding agents →</a>
</p>

<h3 className="venice-subsection-title">MCP and skills</h3>

<div className="venice-agent-grid is-pair">
  <a className="venice-agent-card" href="/guides/integrations/venice-mcp">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/mono/mcp.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=2b1772fd55761ee74d75f36efaa94e8f" alt="" width="24" height="24" data-path="images/icons/integrations/mono/mcp.svg" />
      </span>

      <span className="venice-agent-card-name">Venice MCP Server</span>
    </span>

    <span className="venice-agent-card-desc">Expose chat, image, video, audio, and embeddings to any MCP host.</span>
  </a>

  <a className="venice-agent-card" href="/guides/integrations/venice-skills">
    <span className="venice-agent-card-top">
      <span className="venice-agent-card-logo" aria-hidden="true">
        <img src="https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/integrations/mono/venice-skills.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=73b12ed8f6743f5673d148a5d2d68e71" alt="" width="326" height="366" data-path="images/icons/integrations/mono/venice-skills.svg" />
      </span>

      <span className="venice-agent-card-name">Venice Skills</span>
    </span>

    <span className="venice-agent-card-desc">Give agents endpoint-specific instructions synced to the API spec.</span>
  </a>
</div>

<div className="venice-section-header">
  <h2 className="venice-section-title">Models</h2>
  <p className="venice-section-subtitle">A few of the flagship models on Venice. Pass the ID as your `model` parameter.</p>
</div>

<div className="venice-models-grid">
  <a className="venice-model-card" href="/models/overview">
    <span className="venice-model-card-top">
      <span className="venice-model-card-logo" aria-hidden="true">
        <span className="venice-model-card-logo-mask" style={{ maskImage: "url('https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/models/kimi.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=0c42842a2ec2954d37bf1e9b4d8c37ba')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/models/kimi.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=0c42842a2ec2954d37bf1e9b4d8c37ba')" }} />
      </span>

      <span className="venice-model-card-head">
        <span className="venice-model-card-name">Kimi K3</span>
        <span className="venice-model-card-maker">Moonshot AI</span>
      </span>
    </span>

    <span className="venice-model-card-stats">
      <span>1M context</span>
      <span className="venice-model-card-privacy">Private</span>
    </span>

    <span className="venice-model-card-id">kimi-k3</span>
  </a>

  <a className="venice-model-card" href="/models/overview">
    <span className="venice-model-card-top">
      <span className="venice-model-card-logo" aria-hidden="true">
        <span className="venice-model-card-logo-mask" style={{ maskImage: "url('https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/models/opus.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=ff80c7b3dddaf8258386d5b691e83fdf')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/models/opus.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=ff80c7b3dddaf8258386d5b691e83fdf')" }} />
      </span>

      <span className="venice-model-card-head">
        <span className="venice-model-card-name">Claude Fable 5</span>
        <span className="venice-model-card-maker">Anthropic</span>
      </span>
    </span>

    <span className="venice-model-card-stats">
      <span>1M context</span>
      <span className="venice-model-card-privacy is-anonymized">Anonymized</span>
    </span>

    <span className="venice-model-card-id">claude-fable-5</span>
  </a>

  <a className="venice-model-card" href="/models/overview">
    <span className="venice-model-card-top">
      <span className="venice-model-card-logo" aria-hidden="true">
        <span className="venice-model-card-logo-mask" style={{ maskImage: "url('https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/models/Zhipu.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=63e907d9e773a3f440c65d7961a093bc')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-mintlify-ec5539c9/HGaPeenw5N9oqOas/images/icons/models/Zhipu.svg?fit=max&auto=format&n=HGaPeenw5N9oqOas&q=85&s=63e907d9e773a3f440c65d7961a093bc')" }} />
      </span>

      <span className="venice-model-card-head">
        <span className="venice-model-card-name">GLM 5.2</span>
        <span className="venice-model-card-maker">Z.ai</span>
      </span>
    </span>

    <span className="venice-model-card-stats">
      <span>1M context</span>
      <span className="venice-model-card-privacy">Private</span>
    </span>

    <span className="venice-model-card-id">zai-org-glm-5-2</span>
  </a>
</div>

<a className="venice-models-cta" href="/models/overview">
  <span className="venice-models-cta-left">
    <span className="venice-models-cta-count">320+ models</span>
    <span className="venice-models-cta-sub">Text, image, audio, and video</span>
  </span>

  <span className="venice-models-cta-action">Browse the catalog →</span>
</a>

<div className="venice-section-header">
  <h2 className="venice-section-title">Tools</h2>
  <p className="venice-section-subtitle">Parse documents, generate embeddings, search the live web, and pull onchain data.</p>
</div>

<CardGroup cols={4}>
  <Card title="Embeddings" icon="database" href="/guides/features/embeddings" />

  <Card title="Document Processing" icon="file" href="/guides/tools/document-processing" />

  <Card title="Web Search" icon="globe" href="/guides/tools/web-retrieval" />

  <Card title="Web Scraping" icon="browser" href="/guides/tools/web-retrieval" />
</CardGroup>

<CardGroup cols={2}>
  <Card title="File Inputs" icon="file" href="/guides/features/file-inputs" />

  <Card title="Crypto RPC" icon="network" href="/guides/integrations/crypto-rpc-agents" />
</CardGroup>

<div className="venice-pricing">
  <div className="venice-section-header">
    <h2 className="venice-section-title">Pricing</h2>
    <p className="venice-section-subtitle">Top up with credits, stake DIEM for a daily allowance, or skip the account entirely with USDC on Base.</p>
  </div>

  <div className="venice-pricing-grid">
    <div className="venice-pricing-card">
      <div className="venice-pricing-card-head">
        <span className="venice-pricing-card-name">Credits</span>
        <span className="venice-pricing-card-badge">USD or Crypto</span>
      </div>

      <p className="venice-pricing-card-desc">Pay as you go in USD or crypto. Credits never expire and work across every endpoint.</p>
      <a className="venice-pricing-card-cta" href="https://venice.ai/settings/api">Buy Credits</a>
    </div>

    <div className="venice-pricing-card">
      <div className="venice-pricing-card-head">
        <span className="venice-pricing-card-name">DIEM</span>
        <span className="venice-pricing-card-badge">Daily allowance</span>
      </div>

      <p className="venice-pricing-card-desc">Stake DIEM or VVV once and earn a fixed inference allowance every day, with no per-call charges.</p>
      <a className="venice-pricing-card-cta" href="/overview/vvv-diem">Learn about DIEM</a>
    </div>

    <div className="venice-pricing-card">
      <div className="venice-pricing-card-head">
        <span className="venice-pricing-card-name">x402</span>
        <span className="venice-pricing-card-badge">USDC on Base</span>
      </div>

      <p className="venice-pricing-card-desc">Pay per request from any Base wallet in USDC. No account or API key required, built for agents.</p>
      <a className="venice-pricing-card-cta" href="/guides/integrations/x402-venice-api">Read x402 Guide</a>
    </div>
  </div>
</div>

Questions or feedback? Join us on [Discord](https://discord.gg/askvenice).
