A chat reply from Llama 3.2 3B Instruct
chat.gedx402.com/v1/chat
A chat reply from Llama 3.2 3B Instruct. POST messages[] with optional max_tokens; dynamic USDC pricing from input/output neurons.
POST
https://chat.gedx402.com/v1/chatUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://chat.gedx402.com/v1/chat", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_tokens":128,"messages":[{"content":"Say hello in one sentence.","role":"user"}]}),
});
console.log(await res.json());Example input
{
"max_tokens": 128,
"messages": [
{
"content": "Say hello in one sentence.",
"role": "user"
}
]
}More from GEDX402 Chat
- chat.gedx402.com/v1/chat/completionsOpenAI-compatible chat completions across many open models, paid per call in USDC with no API key. POST { model, messages, max_tokens? } and pick model from GET /v1/models (fast, smart, code, reasoning and 70B tiers, among others). The price is set from the model's rates and your request size, so short prompts on small models cost the least; the 402 shows the exact amount before you pay. Hero: GET0.005
- chat.gedx402.com/v1/chat/fastVoice-agent reply turn — low-latency chat after WebSocket ASR flux and smart-turn detection. POST messages[]; synthesize with POST /v1/tts/aura-2-en. Bundle: GET /v1/models?bundle=voice.0.005
- chat.gedx402.com/v1/chat/microA chat reply from Granite 4.0 H Micro. Lowest floor cost for simple agent loops and classification-style prompts.0.002
- chat.gedx402.com/v1/chat/smartA chat reply from Llama 4 Scout 17B 16e Instruct. POST messages[]; suited for reasoning-heavy turns with dynamic token pricing.0.02
- chat.gedx402.com/v1/llm/:modelA chat reply from Llama 4 Scout 17B 16e Instruct. POST JSON messages[] (system/user/assistant) and optional max_tokens; pay USDC per request with dynamic neuron-based pricing.0.03
