venice-chat

venice-chat is a skill for Claude Code, Codex from 0xatd/cheaptokens-skills. It costs 71 tokens per session (3,376 once invoked), scanned A, a copy of venice-chat, MIT.

An API skill for sending text or media prompts to Venice chat models and receiving generated responses. It covers text, images, audio, video, streaming, tool calls, structured JSON output, web search, and other Venice-specific settings.

In plain words
What is it for?
Use it for chat assistants, multimodal analysis, tool-using agents, streamed answers, web-backed responses, long prompts with caching, and machine-readable JSON results.
Why use it?
It removes the need to work out the request format, streaming events, and model-specific options when building an AI chat or agent feature.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Codex.

Good fit Use it for chat assistants, multimodal analysis, tool-using agents, streamed answers, web-backed responses, long prompts with caching, and machine-readable JSON results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xatd/cheaptokens-skills/venice-chat
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0xatd/cheaptokens-skills --skill venice-chat
Clone the repo
git clone --depth 1 https://github.com/0xatd/cheaptokens-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for venice-chat

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xatd/cheaptokens-skills/venice-chat/github.svg)](https://agentmods.dev/skills/0xatd/cheaptokens-skills/venice-chat)
Your own site
<a href="https://agentmods.dev/skills/0xatd/cheaptokens-skills/venice-chat"><img src="https://agentmods.dev/badge/skills/0xatd/cheaptokens-skills/venice-chat/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for venice-chat

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xatd/cheaptokens-skills/venice-chat"><img src="https://agentmods.dev/badge/skills/0xatd/cheaptokens-skills/venice-chat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,376 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.03376
Opus 5 $0.00036 $0.01688
Sonnet 5 $0.00014 $0.00675
Haiku 4.5 $0.00007 $0.00338

Measured 11d ago against content hash 565d639d9df5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

venice-chat scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://api.venice.ai/api/v1/chat/completions \
Origin

This is a copy

89% identical to venice-chat — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/venice-chat/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Venice Chat Completions

POST /api/v1/chat/completions is Venice's main text endpoint. It's OpenAI-compatible, plus a venice_parameters object for Venice-only features.

Use when

  • You need LLM text generation, with or without tools, with or without streaming.
  • You want multimodal inputs (images, audio, video) to a vision/audio-capable model.
  • You want Venice-specific features: web search, E2EE, characters, xAI X/Twitter search, strip-thinking, web scraping.
  • You need prompt caching for large system prompts or long documents.
  • You need structured (json_schema) output.

For the newer Alpha Responses API, see venice-responses.

Minimal request

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": "Why is the sky blue?"}]
  }'

Response shape is the standard OpenAI chat.completion object (id, object: "chat.completion", choices[].message, usage). With stream: true, responses come as SSE data: lines in chat.completion.chunk format.

The request body

Core fields (OpenAI-compatible)

Field Notes
model string — model ID, trait name, or compatibility mapping. Suffixes allowed (see below). Required.
messages array of system / developer / user / assistant / tool messages. Required, min 1.
temperature, top_p, top_k, min_p, min_temp, max_temp sampling controls
repetition_penalty, frequency_penalty, presence_penalty repetition controls
max_tokens (deprecated) / max_completion_tokens upper bound on output tokens
n number of choices (keep 1 to minimize cost)
seed integer for reproducibility
stop / stop_token_ids up to 4 strings, or raw token IDs
stream, stream_options.include_usage SSE streaming + include usage in the final chunk
response_format {type:"json_schema", json_schema:{...}} (preferred), {type:"json_object"}, or {type:"text"}
tools, tool_choice, parallel_tool_calls function calling / built-in tools
logprobs, top_logprobs return token log-probabilities
reasoning.effort / reasoning_effort none | minimal | low | medium | high | xhigh | max
reasoning.summary auto | concise | detailed
prompt_cache_key, prompt_cache_retention (default/extended/24h) prompt caching hints
text.verbosity low/medium/high/auto
metadata key/value strings for tracking
user, store accepted but ignored (OpenAI compat)

Read the full file on GitHub · 278 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 278 lines · 71 tokens per session scan A 565d639d9df5

Subscribe to this mod's changes

venice-chat is a skill published in the GitHub repository 0xatd/cheaptokens-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 3,376 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 89% identical to venice-chat, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. Covers SDK usage and best…

google-gemini/gemini-skills · 73 tokens

groq-inference

Ultra-fast LLM inference on custom LPU hardware. OpenAI-compatible API at api.groq.com. Lowest latency in the industry (500-1000+ tok/s). Supports chat completions, vision, audio (Whisper STT + TTS), tool calling, JSON mode, and streaming. Free tier available. Inference only — no training.

synthetic-sciences/openscience · 77 tokens

cloudflare-workers-ai

Cloudflare Workers AI for serverless GPU inference. Use for LLMs, text/image generation, embeddings, or encountering AIERROR, rate limits, token exceeded errors.

secondsky/claude-skills · 39 tokens

anthropic-claude-development

Expert guidance for Anthropic Claude API development including Messages API, tool use, prompt engineering, and building production applications with Claude models.

Mindrally/skills · 33 tokens

openrouter-ai-models-guide

Guide to OpenRouter — the unified API for 200+ AI models from OpenAI, Anthropic, Google, Meta, Mistral, and more. Covers model selection, pricing, routing strategies, fallback chains, and integration with SperaxOS for optimal model usage per task.

nirholas/three.ws · 64 tokens

LLM

Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk. Use this skill when the user needs to build conversational AI applications, chatbots, AI assistants, or any text generation features. Supports multi-turn conversations, system prompts, and context management.

jjyaoao/HelloAgents · 59 tokens