OpenAI-compatible chat on 100+ Venice models via x402 USDC (Base)
OpenAI-compatible chat on 100+ Venice models via x402 USDC (Base). Model from GET /api/v1/models?type=text; personas via /characters. Thinking models: empty content + reasoning_content is success; use venice_parameters.disable_thinking for plain text.
10000 (raw units)
price
67
calls / 30d
8
unique payers
2026-09-17
updated
Provider
x402.aispace.bot · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"messages": [
{
"content": "Say hello in one sentence.",
"role": "user"
}
],
"model": "gemini-3-6-flash"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"choices": [
{
"finish_reason": "length",
"index": 0,
"message": {
"content": "",
"reasoning_content": null,
"role": "assistant"
}
}
],
"cost": {
"diem": 0,
"usd": 0
},
"created": 1788177689,
"id": "gcp-1788177689318",
"model": "gemini-3-6-flash",
"object": "chat.completion",
"usage": {
"completion_tokens": 0,
"prompt_tokens": 1780,
"total_tokens": 1780
},
"venice_parameters": {
"disable_thinking": false,
"enable_e2ee": true,
"enable_web_citations": false,
"enable_web_scraping": false,
"enable_web_search": "off",
"enable_x_search": false,
"include_search_results_in_stream": false,
"include_venice_system_prompt": true,
"return_search_results_as_documents": false,
"strip_thinking_response": false,
"web_search_citations": []
}
},
"type": "json"
}
},
"related": [
"/models",
"/characters"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"choices[].message.reasoning_content": {
"description": "On thinking models, chain-of-thought text. content may be empty if max_tokens is spent on thinking first (finish_reason=length). Check this field as well as content.",
"type": "string"
},
"choices[].message.reasoning_details": {
"description": "Structured thought signatures (Claude Opus / GPT-5.4 Pro etc). Pass back unchanged on the next turn.",
"type": "string"
},
"max_tokens": {
"description": "Optional. Buyer-chosen completion cap — this gateway does not set a default. Omit unless you want to bound output. On thinking models a small value can exhaust on reasoning_content and leave content empty (finish_reason=length).",
"type": "integer"
},
"messages": {
"description": "OpenAI chat messages: array of {role:'system'|'user'|'assistant', content:string}. On multi-turn tool use with reasoning models, round-trip assistant.reasoning_details verbatim.",
"items": {
"type": "object"
},
"type": "array"
},
"model": {
"description": "Venice text model id. List available ids at GET /api/v1/models?type=text (e.g. gemini-3-6-flash, zai-org-glm-5).",
"example": "gemini-3-6-flash",
"type": "string"
},
"stream": {
"description": "If true, stream tokens via SSE. Default false.",
"type": "boolean"
},
"venice_parameters": {
"properties": {
"disable_thinking": {
"description": "Skip chain-of-thought on reasoning models; forces a normal content reply.",
"type": "boolean"
},
"strip_thinking_response": {
"description": "Run thinking server-side but hide it from the client.",
"type": "boolean"
}
},
"type": "object"
},
"venice_parameters.disable_thinking": {
"description": "Set true to skip chain-of-thought on reasoning models (forces a normal content reply).",
"type": "string"
},
"venice_parameters.strip_thinking_response": {
"description": "If true, hide thinking from the client while still running it server-side.",
"type": "string"
}
},
"required": [
"model",
"messages"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"choices": {
"items": {
"properties": {
"finish_reason": {
"type": "string"
},
"index": {
"type": "number"
},
"message": {
"properties": {
"content": {
"type": "string"
},
"reasoning_content": {
"type": "null"
},
"role": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"cost": {
"properties": {
"diem": {
"type": "number"
},
"usd": {
"type": "number"
}
},
"type": "object"
},
"created": {
"type": "number"
},
"id": {
"type": "string"
},
"model": {
"type": "string"
},
"object": {
"type": "string"
},
"usage": {
"properties": {
"completion_tokens": {
"type": "number"
},
"prompt_tokens": {
"type": "number"
},
"total_tokens": {
"type": "number"
}
},
"type": "object"
},
"venice_parameters": {
"properties": {
"disable_thinking": {
"type": "boolean"
},
"enable_e2ee": {
"type": "boolean"
},
"enable_web_citations": {
"type": "boolean"
},
"enable_web_scraping": {
"type": "boolean"
},
"enable_web_search": {
"type": "string"
},
"enable_x_search": {
"type": "boolean"
},
"include_search_results_in_stream": {
"type": "boolean"
},
"include_venice_system_prompt": {
"type": "boolean"
},
"return_search_results_as_documents": {
"type": "boolean"
},
"strip_thinking_response": {
"type": "boolean"
},
"web_search_citations": {
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"chainId": 8453,
"estimateBasis": "chat_tokens_in_7_out_2048",
"priceMult": 0.5,
"tokenDecimals": 6,
"upstreamUsd": 0.009606562499999999
}Use it
curl
curl "https://x402.aispace.bot/api/v1/chat/completions" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.aispace.bot/api/v1/chat/completions");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.aispace.bot/api/v1/chat/completions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/775.json, and this resource appears in /discovery/resources and /discovery/search.