Access GPT, Claude, Gemini, and Llama through a single, unified endpoint. Best prices, lowest latency, and no vendor lock-in.
fetch("https://api.yijinin.ai/v1/chat", { method: "POST", headers: { "Authorization": `Bearer ${API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ model: "anthropic/claude-3.5-sonnet", messages: [{ role: "user", content: "Hello!" }] }) });