A chat reply from Llama 4 Scout 17B 16e Instruct
chat.gedx402.com/v1/chat/smart
A chat reply from Llama 4 Scout 17B 16e Instruct. POST messages[]; suited for reasoning-heavy turns with dynamic token pricing.
POST
https://chat.gedx402.com/v1/chat/smartUptime100% of 4 checks in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://chat.gedx402.com/v1/chat/smart", {
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 ChatProvider status
- chat.gedx402.com/v1/chatA chat reply from Granite 4.0 H Micro. POST messages[] with optional max_tokens; dynamic USDC pricing from input/output neurons.0.008
- chat.gedx402.com/v1/chat/completionsLLM chat completions API, OpenAI-compatible: POST { messages, max_tokens? } and read choices[0].message.content. No account, no API key. $0.002 USDC for a short prompt on the default model; the 402 quotes the exact amount for your body, and larger models cost more (GET /v1/models). Returns id, model, choices[] and usage.0.002
- 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/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
