$0.01
per call · USD Coin on 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.
Endpoint
POST https://x402.aispace.bot/api/v1/chat/completions64
Calls / 30d
6
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.aispace.bot/api/v1/chat/completions", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"messages": [
{
"content": "Say hello in one sentence.",
"role": "user"
}
],
"model": "gemini-3-6-flash"
}),
});
const data = await res.json();curl -X POST \
"https://x402.aispace.bot/api/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{"messages":[{"content":"Say hello in one sentence.","role":"user"}],"model":"gemini-3-6-flash"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"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": []
}
}Payment details
0xa7f3ad0e69f61864092fabba6cee00af6e584689USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from AiSpace Venice & similar services
AiSpace Venice · Image Generate
x402.aispace.bot
Text-to-image generation on Venice models (Flux, SD3.5, GPT-Image, HunyuanImage, and more), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=image and an optional style from GET /api/v1/image/styles.
AiSpace Venice · Audio Queue
x402.aispace.bot
Async music/audio-track generation on Venice (Stable Audio, ElevenLabs Music, MiniMax, Lyria, ACE-Step), paid per request in USDC on Base via x402, no API key. Short-clip model ids via GET /api/v1/models?type=music; 60s-floor ids (ACE-Step) only with ?floor=all. Lifecycle: quote,
AiSpace Venice · Audio Speech
x402.aispace.bot
Text-to-speech on Venice voices (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=tts.