AiSpace Venice · Chat Completions

by AiSpace Venice

POSTBaseSolana

$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/completions

64

Calls / 30d

6

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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
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

Pay to0xa7f3ad0e69f61864092fabba6cee00af6e584689
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from AiSpace Venice & similar services