GitHub – Merit-Systems/Echo: The User Pays AI SDK

hackernews | | 📰 뉴스
#ai 모델 #gpt-5 #openai
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

Merit-Systems의 Echo SDK는 개발자가 선지급 비용 없이 사용자가 직접 AI API 비용을 부담하게 하는 ‘사용자 지불’ 인프라를 구축할 수 있게 해줍니다. 복잡한 결제 시스템이나 키 관리를 대체하여 개발자는 단순히 마크업만 설정하면 자동으로 수익을 창출할 수 있습니다. 이를 통해 인프라 구축 비용과 운영 부담을 줄이고 OAuth 로그인 등 사용자 경험을 개선할 수 있습니다.

본문

User-pays AI infrastructure. Drop in Echo, users pay for their own usage—you never front costs. Skip the hard choice between fronting API costs, high-friction BYOK flows, or building billing from scratch. Read the docs | Live demo | Read our announcement Building AI apps forces you to pick your poison: | Approach | Developer Cost | User Experience | Revenue Model | |---|---|---|---| | BYOK | None (but no revenue) | Complex key management | None | | Dev API Key | Unpredictable burn rate | Simple | Need metering + billing | | Bill End Users | Weeks building infra | Simple | Auth + Stripe + metering | Echo eliminates all three problems. Replace your AI SDK imports with Echo. Users authenticate once, get a balance, and pay for their own usage. You set a markup and earn revenue automatically. Before: // Option 1: Front costs yourself import { openai } from '@ai-sdk/openai'; import { generateText } from 'ai'; const response = await generateText({ model: openai('gpt-5'), 'YOUR-API-KEY', prompt: '...' }); After: // Users pay, you earn markup, zero infrastructure import { useEchoModelProviders } from '@merit-systems/echo-react-sdk'; import { generateText } from 'ai'; const { openai } = useEchoModelProviders(); const response = await generateText({ model: openai('gpt-5'), prompt: '...', }); pnpx echo-start@latest Creates a new app with Echo pre-configured. Live in 2 minutes. No hosting costs - Users pay providers directly through Echo. You never proxy requests or front bills. Better UX - One OAuth login replaces complex BYOK flows. Users get a universal balance across all Echo apps. Instant revenue - Set a markup percentage. Every token generates profit automatically. Zero infrastructure - No payment processing, no usage tracking, no key validation. Echo handles it all. - Echo Control: Next.js app for echo.merit.systems. Hosted site and api routes. - Echo Server: Express server for router.echo.merit.systems. Proxy for routing and metering LLM requests from clients. - Echo TS SDK Typescript SDK that all the framework specific SDKs are built on top of. - Echo Next.js SDK SDK for simple Next.js 15+ App Router integration. - Echo React SDK SDK for simple React client side SPA integration. Get started quickly with echo-start : pnpx echo-start gen-ai-app Available templates: - next - Next.js application with Echo - react - Vite React application with Echo - next-chat - Next.js chatbot with Echo and Vercel AI SDK - assistant-ui - Next.js with Echo and Assistant UI - echo-cli - CLI tool for AI chat with Echo (API keys + crypto wallets) Or run npx echo-start my-app to choose interactively. Note: The CLI template (echo-cli ) requires manual installation from the repository as it's a command-line tool rather than a web application. See the templates README for details. Fill out packages/app/control/.env and packages/app/server/.env . Then... pnpm i pnpm dev

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →