x402.telnyx.com/v1/chat/completions/_t/llama-3.1-70b
Chat completions via Telnyx Inference (meta-llama/Meta-Llama-3.1-70B-Instruct). OpenAI-compatible. Up to $0.007502 USDC per call, quoted to your request (input + max_tokens at list rates, no markup).
POST
https://x402.telnyx.com/v1/chat/completions/_t/llama-3.1-70bUptime100% of 2 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://x402.telnyx.com/v1/chat/completions/_t/llama-3.1-70b", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_tokens":300,"messages":[{"content":"Explain x402 micropayments to a pirate in two sentences.","role":"user"}],"model":"meta-llama/Meta-Llama-3.1-70B-Instruct"}),
});
console.log(await res.json());Example input
{
"max_tokens": 300,
"messages": [
{
"content": "Explain x402 micropayments to a pirate in two sentences.",
"role": "user"
}
],
"model": "meta-llama/Meta-Llama-3.1-70B-Instruct"
}