> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-tombystrican-api-103-update-and-re-enable-public-s.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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/openclaw.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=94141d399db39d956736748a14472e2d" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/mono/hermes.png?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=aaee76dbc3a06ac02bd8b5a3b6518eca" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/nanoclaw.png?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=1dd7432bb9f835523176866be6e5f402" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/mono/claude-code.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=603cf16cd96b4972c114ff2b04daa89b" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/mono/cursor.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=a9ed7beca10ae81ad209f906814528a2" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/mono/codex-cli.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=ff9a5f8199414f46931be56921e15ee8" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/mono/mcp.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=0450a4083b15b3764f79e1f1e2ce46fc" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/integrations/mono/venice-skills.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=455e664344979d10d0c6de46e7b0fe08" 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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/models/kimi.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=1758ae6d6fe6d6d234cc72407624d9ba')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/models/kimi.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=1758ae6d6fe6d6d234cc72407624d9ba')" }} />
      </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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/models/opus.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=44ca529f3ab30e5c0c274bbaf9aabe42')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/models/opus.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=44ca529f3ab30e5c0c274bbaf9aabe42')" }} />
      </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-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/models/Zhipu.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=ee5e85285cdbdc3300d26160eb2fc203')", WebkitMaskImage: "url('https://mintcdn.com/veniceai-tombystrican-api-103-update-and-re-enable-public-s/3pD1teXLp01-wuZ-/images/icons/models/Zhipu.svg?fit=max&auto=format&n=3pD1teXLp01-wuZ-&q=85&s=ee5e85285cdbdc3300d26160eb2fc203')" }} />
      </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">290+ 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).
