DGrid AI 백서

DGrid AI

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 10쪽 중 8쪽

= await fetch(`${BASE}/keys`, { method: "POST", headers, body: JSON.stringify({ name: "prod-key", limit: 1000, cycle: "monthly", expiredAt: "2026-12-31T23:59:59Z", }), }); const createData = await createResp.json(); console.log("CREATE:", createData); const keyId = createData.data.id; const getResp = await fetch(`${BASE}/keys/${keyId}`, { method: "GET", headers, }); console.log("GET:", await getResp.json()); const updateResp = await fetch(`${BASE}/keys/${keyId}`, { method: "PUT", headers, body: JSON.stringify({ name: "prod-key-v2", limit: 2000, cycle: "monthly", }), }); console.log("UPDATE:", await updateResp.json()); const disableResp = await fetch(`${BASE}/keys/${keyId}/disablement`, { method: "POST", headers, }); console.log("DISABLE:", await disableResp.json()); const enableResp = await fetch(`${BASE}/keys/${keyId}/enablement`, { method: "POST", headers, }); console.log("ENABLE:", await enableResp.json()); const deleteResp = await fetch(`${BASE}/keys/${keyId}`, { method: "DELETE", headers, }); console.log("DELETE:", await deleteResp.json()); } main().catch(console.error); ``` ```javascript JavaScript theme={null} const BASE = "https://api.dgrid.ai/api/v1/model-router"; const MANAGEMENT_KEY = "mk-your-management-key"; const headers = { Authorization: `Bearer ${MANAGEMENT_KEY}`, "Content-Type": "application/json", }; async function main() { let resp = await fetch(`${BASE}/keys?page=1&size=20`, { method: "GET", headers, }); console.log("LIST:", await resp.json()); resp = await fetch(`${BASE}/keys`, { method: "POST", headers, body: JSON.stringify({ name: "prod-key", limit: 1000, cycle: "monthly", expiredAt: "2026-12-31T23:59:59Z", }), }); const createData = await resp.json(); console.log("CREATE:", createData); const keyId = createData.data.id; resp = await fetch(`${BASE}/keys/${keyId}`, { method: "GET", headers, }); console.log("GET:", await resp.json()); resp = await fetch(`${BASE}/keys/${keyId}`, { method: "PUT", headers, body: JSON.stringify({ name: "prod-key-v2", limit: 2000, cycle: "monthly", }), }); console.log("UPDATE:", await resp.json()); resp = await fetch(`${BASE}/keys/${keyId}/disablement`, { method: "POST", headers, }); console.log("DISABLE:", await resp.json()); resp = await fetch(`${BASE}/keys/${keyId}/enablement`, { method: "POST", headers, }); console.log("ENABLE:", await resp.json()); resp = await fetch(`${BASE}/keys/${keyId}`, { method: "DELETE", headers, }); console.log("DELETE:", await resp.json()); } main().catch(console.error); ``` </CodeGroup> ## 10. HTTP Status and Error Codes | HTTP Status | Error Code | Description | | ----------- | ---------- | -------------------------------------------------------------- | | `400` | `40001` | Invalid request parameters | | `401` | `40101` | Missing Management API Key in request header | | `401` | `40102` | Invalid, expired, or disabled Management API Key | | `403` | `40301` | Insufficient permissions or invalid key type for this endpoint | | `404` | `40401` | Target key not found or does not belong to the current account | | `429` | `42901` | Rate limit exceeded | | `500` | `50001` | Internal server error | ## 11. Standard Response Format Successful responses use the following envelope: ```json theme={null} { "code": 200, "message": "ok", "data": {} } ``` Notes: * Successful requests return HTTP `200` * Create responses may include the full secret key in `data` * List and detail endpoints usually return masked key values * Full secrets for both Management API Keys and Model API Keys are returned only once # Node Operators Source: https://docs.dgrid.ai/node-operators Why node operators are the backbone of DGrid's decentralized AI network and how they earn rewards by contributing GPU compute to model inference. Node Operators are the cornerstone of DGrid AI's mission to democratize AI infrastructure. Their participation delivers three critical advantages. ## Eliminating Centralized Control By decentralizing node ownership across a global community, DGrid AI resists censorship, corporate monopolization, or manipulation by any single entity. Unlike centralized AI platforms—where a sole provider controls access and moderation—no entity can unilaterally restrict, modify, or censor inference results, aligning with the ethos of Web3 neutrality. ## Enhancing Network Resilience A geographically diverse operator base ensures the network can withstand the following risks: * **Regional Outages**: Failures in one region are offset by nodes in other regions, preventing service disruptions. * **Regulatory Risks**: Decentralized ownership reduces vulnerability to localized policy changes or bans. * **Hardware Failures**: Redundancy across thousands of nodes eliminates single points of failure, ensuring 24/7 reliable operation for Web3 applications. ## Driving Ecosystem Development Operators' contributions extend beyond computational power—they shape the network's evolutionary trajectory: * **Feedback Loop**: Through governance mechanisms, operators report performance issues (e.g., model bottlenecks) to guide protocol upgrades. * **Incentive Alignment**: \$DGAI rewards high performance (low latency, high availability), incentivizing operators to invest in node quality improvements that directly benefit users. * **Service Diversity**: Operators can independently choose the models and Agents to host, fostering a diverse ecosystem of LLMs and Agents (ranging from open-source to specialized) to meet the varied needs of Web3 application scenarios. In summary, DGrid AI's node operator ecosystem ensures specialized roles work in synergy—DGrid Nodes execute inference, the network coordinates and verifies, and operators uphold decentralization. Together, they transform AI from a centralized service into a community-governed public utility accessible to all. # Compliance and Regulatory Source: https://docs.dgrid.ai/premium/compliance-and-regulatory Regulation S compliance, disclosures, and regulatory principles that apply to purchases of the DGrid Genesis Premium License worldwide. ## Compliance with Regulation S Obligations The sales plan for the DGrid Premium License is strictly implemented in accordance with the relevant provisions of the U.S. Regulation S. **Participation in this plan by U.S. persons is strictly prohibited**. This participation restriction will be prominently indicated on the official sales website, all promotional materials, and user interfaces. Potential participants must carefully read these compliance requirements and clearly understand that: **the DGrid Premium License may not be transferred, resold, or subject to any form of secondary circulation within twelve (12) months after the completion of the initial issuance**. Violation of this provision will be deemed a breach of compliance obligations. ## Principle of Transparent Information Disclosure All communications, marketing material production, promotional activities, and social media postings related to the sale of DGrid Premium shall be based on the core principle of openness and transparency. At the same time, **targeted marketing or sales messages to U.S. persons are strictly excluded**. In the process of releasing relevant information, all content expressions that may involve U.S. targets will be fully avoided to ensure compliance with Regulation S standards and effectively reduce regulatory risks. Meanwhile, participants shall independently verify the relevant regulatory provisions of their respective jurisdictions, assume sole responsibility for compliance review, ensure that their participation is fully in line with local legal requirements, and avoid risks arising from violations of regional regulatory provisions. # Exclusive Benefits Source: https://docs.dgrid.ai/premium/exclusive-benefits Exclusive economic, resource, governance, and ecosystem benefits available only to DGrid Genesis Members through the Premium License program. As early co-builders of the DGrid ecosystem, Genesis Members are entitled to comprehensive benefits covering economic rewards, resource access, product experience, and ecosystem co-construction. By deeply participating in network construction and governance, members can secure long-term and stable value returns. DGrid has allocated a dedicated reward pool from the total supply of \$DGAI tokens to reciprocate members' core contributions to network governance, ecosystem expansion, and AI service promotion, laying a solid foundation for the stable operation and high-quality development of the decentralized AI inference network. In addition to the core \$DGAI token rewards, Genesis Members can also enjoy diverse additional values brought by ecosystem development, including priority access to new products, discounts on AI services, and exclusive co-branding exposure. These benefits fully reflect the recognition of members' support for the ecosystem and jointly maintain the vitality and security of the DGrid ecosystem. The Genesis Premium Program opens the door for community members to deeply participate in the large-scale decentralized ecosystem of AI computing and inference services. Without requiring advanced technical capabilities or bearing high computing resource costs, anyone can easily tap into the decentralized AI economy and become a core part of the ecosystem's development. ## Detailed Breakdown of Core Benefits ### 1. Sustained Ecosystem Rewards Holding the Genesis Premium status entitles members to sustained \$DGAI ecosystem contribution rewards, as a token of appreciation for their support and participation in the early-stage network construction. Members will also automatically unlock additional airdrop rewards from ecosystem partners, sharing the long-term development dividends of the DGrid decentralized AI ecosystem. ### 2. Priority Access to High-Value AI Models & APIs From the date of joining, members can access enterprise-grade AI service resources that perfectly meet the needs of developers and advanced users: * A monthly platform credit line equivalent to \$300 * 100 free calls to selected models per day * Priority access to high-demand, large-scale AI models * Enhanced rate limits to ensure stable and uninterrupted service operation ### 3. Exclusive Governance Rights Members are granted weighted voting rights in key decision-making scenarios, including network protocol adjustments, treasury fund allocation, and model integration proposals. They can participate in closed-door governance seminars, engage in direct dialogue with the core team and other co-builders, and turn their opinions into tangible influence on the ecosystem's development. ### 4. Priority Experience of New Products & Features Members get early access to Alpha/Beta versions of new products, core infrastructure functions, and development tools. They can join the core team's closed-door feedback mechanism, provide suggestions based on their practical usage experience, contribute to product optimization and upgrades, and jointly shape product forms that align with user needs. ### 5. Priority for Ecosystem Co-Construction When applying to list AI models or launch intelligent agent services on the DGrid Marketplace, members enjoy priority review and onboarding eligibility. They also have priority selection rights for roles related to network infrastructure, such as node operation and computing resource supply, enabling them to deeply participate in the core links of ecosystem construction. # Incentive Mechanism & Rewards Source: https://docs.dgrid.ai/premium/incentive-mechanism-and-rewards How DGrid Genesis Members earn and redeem tDGAI, IOTX, and referral rewards through the Premium License incentive and rebate program. DGrid has tailored a long-term incentive system exclusively for Genesis Members, with \$DGAI tokens as the core, to achieve value alignment between members and the ecosystem, allowing early supporters to fully share the generous dividends brought by network growth. ### Core Incentives: Genesis Co-Building Rewards * **tDGAI & IOTX Token Rewards** During the period of holding Genesis Premium status, members will automatically receive continuous tDGAI & IOTX token rewards without any additional tasks. The total value of the rewards is closely tied to the activity level of the DGrid ecosystem, and will appreciate in tandem with the continuous growth of users, models, and computing tasks within the network, realizing the benefit of **"passive income simply by holding Premium"**. * **2% Referral Rebate Reward** Genesis Members are provided with exclusive referral links. After successfully inviting new users to purchase and activate Genesis Premium, the referrer will receive a 2% USDT rebate based on the new user's purchase amount. Rebates will be credited automatically, and members can view records and withdraw funds in the [Refer Friends](https://premium.dgrid.ai/referral) section of the dashboard. ### tDGAI & IOTX Reward Redemption Tutorial Genesis Members can conveniently redeem tDGAI and IOTX rewards through the DGrid Dashboard by following these steps: <Steps> <Step title="Login Verification"> Log in to the official DGrid Dashboard using the wallet bound to your Genesis Pass, and complete wallet signature verification (no gas fee required). </Step> <Step title="Access the &#x22;Genesis Rewards&#x22; Section"> Navigate to **"My Rewards"**. The system will automatically display the redeemable amount of tDGAI and IOTX rewards. After verifying the details, click the **"Redeem"** button. </Step> <Step title="Check Redemption Status"> Upon completion of the redemption operation, rewards will be distributed to your bound wallet. You can check the arrival status via the **"Redemption Records"** on the dashboard or your wallet explorer. </Step> </Steps> <Note> tDGAI is the test version of DGAI tokens, which can be used to experience various functions on the DGrid test network. IOTX rewards are ecosystem synergy rewards, and can only be redeemed if your Genesis Premium status remains active. </Note> # Legal Disclaimer Source: https://docs.dgrid.ai/premium/legal-disclaimer Important legal disclaimer, risk warnings, and liability terms that govern participation in the DGrid Genesis Premium License program. <Note> This page applies to DGrid Premium only and does not govern AI Gateway or other DGrid services. </Note> Please read all terms of this "Legal Disclaimer" carefully. This disclaimer does not constitute formal legal, financial, commercial, or tax advice. You must consult your own legal, financial, tax, or other professional advisors before participating in any related activities. The DGrid Foundation (hereinafter referred to as the "Foundation"), all contributors involved in the development of the DGrid Decentralized Artificial Intelligence Inference Network (hereinafter referred to as the "DGrid Network"), the issuer/supplier of the DGrid Premium License (hereinafter referred to as the "Issuer"), and relevant service providers shall not be liable for any direct or indirect losses you may suffer from accessing the DGrid Premium License-related documents (hereinafter referred to as the "DGrid Premium Documents"), other relevant websites, or public information published by the Foundation or its authorized representatives from time to time on the designated website (URL: [https://premium.dgrid.ai/dgridpass](https://premium.dgrid.ai/dgridpass), including its subdomains). ## Eligibility and Restrictions ### Age Requirement To use this website (including all services provided thereon) or participate in the DGrid Premium License issuance plan, you must be at least eighteen (18) years old and have full capacity for civil conduct. ### Regional Restrictions This website, interface, and related services are **strictly prohibited** from being open to individuals or entities in "Restricted Regions". Restricted Regions include: Belarus, Canada, Cuba, North Korea, China, Iran, Russia, Syria, the United States, the United Kingdom, Venezuela, Yemen, and specific regions within Ukraine and Russia (including the Crimean region, Donetsk People's Republic (DNR), Luhansk People's Republic (LNR), Kherson Oblast, and Zaporizhzhia Oblast). Any individual or entity belonging to Restricted Regions (hereinafter referred to as "Restricted Persons") shall not attempt to access or use this website; any act of Restricted Persons accessing or using this website, interface, or services through Virtual Private Networks (VPN) or other means of circumventing restrictions shall be deemed a prohibited act in violation of this disclaimer. ## Core Purpose of the Project You confirm and agree that the sole purpose of obtaining the DGrid Premium License is to participate in the operation of the DGrid Network and enjoy the right to use corresponding services in its ecosystem. The Foundation, the Issuer, and their respective affiliated entities shall be responsible for the development, maintenance, and optimization of the underlying source code of the DGrid Network. It should be specifically noted that in the process of issuing the DGrid Premium License, the Foundation only performs relevant duties as an independent third party, and shall never act as a financial advisor or fiduciary for any participant, nor shall it be liable for providing advice on any decisions of participants. ## Legal Effect of the Website and Documents All contents of this website and the DGrid Premium Documents are for informational purposes only and do not constitute an offer for sale of the DGrid Premium License by the Foundation, the Issuer, or the DGrid Team. No part thereof or any facts presented therein may be relied upon as a basis for you to enter into a contract with any party or make a purchase decision. At the same time, no content on this website or in the DGrid Premium Documents may be construed as a commitment, statement, or guarantee regarding the future operational performance or development prospects of the DGrid Network. Any agreement reached between you and the Issuer (or any third party) regarding the issuance or transfer of the DGrid Premium License shall be solely governed by the exclusive terms and conditions of that separate agreement and shall have no connection with this disclaimer. ## Your Representation and Warranty Obligations Once you access this website or the DGrid Premium Documents (or any part thereof), you are deemed to have made the following irrevocable representations and warranties to the Foundation, the Issuer, their respective affiliates, and the DGrid Team: ### Warranty of Independent Decision-Making In deciding whether to obtain the DGrid Premium License, you act based on your own independent judgment and investigation, and have not relied and will not rely on any statements, information, or contents on this website or in the DGrid Premium Documents. ### Assumption of Compliance Obligations You shall bear all costs and responsibilities to ensure that your actions (including but not limited to obtaining, holding, and using the DGrid Premium License) fully comply with the laws, regulations, regulatory requirements, and relevant restrictions of your jurisdiction. ### Recognition and Acceptance of Risks You have fully understood and confirmed that the DGrid Premium License has no inherent value or predetermined pricing, and the Foundation, the Issuer, and relevant entities have never guaranteed its market value or liquidity; the DGrid Premium License is not an investment product and is not intended for any investment (including speculative) purposes, and you are willing to bear all risks associated therewith. ### Confirmation of Disclaimer The Foundation, the Issuer, their respective affiliates, and the DGrid Team shall not be liable for or make any commitments regarding the market value, transf
프로젝트로 돌아가기