skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

venice-auth

API keys and wallet-based Venice authentication

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/veniceai/skills --skill venice-auth

Overview

What This Skill Does

API keys and wallet-based Venice authentication

Application

When to use this Skill

Documentation

Show Skills.md file

Venice Authentication

Every Venice endpoint accepts one of two auth schemes, declared in the OpenAPI spec as BearerAuth and siwx. Both are first-class — pick whichever fits the deployment.

Use when

  • You're making your first call to api.venice.ai.
  • You're building a server-side integration (usually Bearer) or an agent / no-account wallet flow (x402).
  • You hit 401 Authentication failed and need to check header format.
  • You're implementing SIWE signing manually instead of using the SDK.

Option A — Bearer API key

Authorization: Bearer <VENICE_API_KEY>
  • Create keys at https://venice.ai/settings/api or via venice-api-keys.
  • Keys carry consumptionLimits (USD and/or DIEM caps) and apiKeyType (ADMIN or INFERENCE).
  • Billing draws from DIEM (staked), USD balance, and bundled credits in order.
  • Key types determine which endpoints are reachable — only ADMIN keys can manage other keys.
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":"hello"}]
  }'
Lines 1 - 31 of 178

Recommendations

Explore other random skills

All skillsMy patterns