Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/ai-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
| **DAEntrance** | `0xE75A073dA5bb7b0eC622170Fd268f35E675a957B` | DA blob submission |
| **DASigners** | `0x0000000000000000000000000000000000001000` | DA signer management (precompile) |
| **WrappedOGBase** | `0x0000000000000000000000000000000000001001` | Wrapped native token (precompile) |
| **Compute Ledger** | `0xE70830508dAc0A97e6c087c75f402f9Be669E406` | Compute network payment ledger |
| **Compute Inference** | `0xa79F4c8311FF93C06b8CfB403690cc987c93F91E` | Compute inference service |
| **Compute FineTuning** | `0xaC66eBd174435c04F1449BBa08157a707B6fa7b1` | Compute fine-tuning service |

### Mainnet Contracts

Expand All @@ -76,6 +79,9 @@
| **Reward** | `0x457aC76B58ffcDc118AABD6DbC63ff9072880870` | Reward distribution |
| **DASigners** | `0x0000000000000000000000000000000000001000` | DA signer management (precompile) |
| **WrappedOGBase** | `0x0000000000000000000000000000000000001001` | Wrapped native token (precompile) |
| **Compute Ledger** | `0x2dE54c845Cd948B72D2e32e39586fe89607074E3` | Compute network payment ledger |
| **Compute Inference** | `0x47340d900bdFec2BD393c626E12ea0656F938d84` | Compute inference service |
| **Compute FineTuning** | `0x4e3474095518883744ddf135b7E0A23301c7F9c0` | Compute fine-tuning service |

## 0G Services Overview

Expand Down Expand Up @@ -153,7 +159,7 @@
```

**Verification & Indexing**:
- **Goldsky**: GraphQL indexing and real-time data streaming

Check warning on line 162 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (Goldsky)
- Docs: https://docs.goldsky.com/chains/0g
- Guide: [https://docs.0g.ai/developer-hub/building-on-0g/indexing/goldsky](https://docs.0g.ai/developer-hub/building-on-0g/indexing/goldsky)

Expand Down Expand Up @@ -189,7 +195,7 @@

Go:
```bash
go get github.com/0gfoundation/0g-storage-client

Check warning on line 198 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (gfoundation)
```

**Quick Start Examples**:
Expand Down Expand Up @@ -286,7 +292,7 @@

**DePIN Partners**:
- **io.net**: 300,000+ GPUs across 139 countries
- **Aethir**: 43,000+ enterprise-grade GPUs, 3,000+ H100s/H200s

Check warning on line 295 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (Aethir)

**Quick Start (5 minutes)**:

Expand Down Expand Up @@ -369,7 +375,7 @@

# Create fine-tuning task
0g-compute-cli fine-tuning create-task \
--model meta-llama/Llama-3.2-3B \
--model Qwen2.5-0.5B-Instruct \

Check warning on line 378 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (Qwen)
--dataset <DATASET_ID> \
--provider <PROVIDER_ADDRESS>

Expand All @@ -387,10 +393,10 @@
### 0G DA (Data Availability)
**Documentation**: [https://docs.0g.ai/concepts/da](https://docs.0g.ai/concepts/da)

Scalable data availability layer for rollups with 50 Gbps throughput.

Check warning on line 396 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (Gbps)

**Key Features**:
- 50 Gbps demonstrated throughput

Check warning on line 399 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (Gbps)
- VRF-based node selection
- Inherits Ethereum security

Expand Down Expand Up @@ -452,21 +458,21 @@

# Clone and build
git clone -b v1.0.4 https://github.com/0gfoundation/0gchain-Aristotle
cd 0gchain-Aristotle

Check warning on line 461 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (gchain)
make install

# Initialize
0gchaind init <YOUR_MONIKER> --chain-id zgtendermint_16661-1

Check warning on line 465 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (zgtendermint)

# Configure
wget -O ~/.0gchain/config/genesis.json https://github.com/0gfoundation/0gchain-Aristotle/releases/download/v1.0.4/genesis.json

Check warning on line 468 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (gchain)
```

**Testnet (Galileo)**:
```bash
# Clone and build
git clone -b v3.0.4 https://github.com/0gfoundation/0gchain-NG
cd 0gchain-NG

Check warning on line 475 in docs/ai-context.md

View workflow job for this annotation

GitHub Actions / Spell Check

Unknown word (gchain)
make install

# Initialize
Expand Down

This file was deleted.

12 changes: 8 additions & 4 deletions docs/developer-hub/building-on-0g/compute-network/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ import TabItem from '@theme/TabItem';
| 1 | `qwen-2.5-7b-instruct` | Chatbot | `0xa48f01...` | 0.05 0G | 0.10 0G |
| 2 | `qwen-image-edit-2511` | Image-Edit | `0x4b2a9...` | - | 0.005 0G/image |

**Available Models:**
**Available Models by Type:**

**Chatbots (1 model):**
- **Qwen 2.5 7B Instruct**: Fast and efficient conversational model

**Image-Edit (1 model):**
- **Qwen Image Edit 2511**: Advanced image editing and manipulation model

All testnet services feature TeeML verifiability and are ideal for development and testing.
Expand All @@ -52,7 +56,7 @@ All testnet services feature TeeML verifiability and are ideal for development a

| # | Model | Type | Provider | Input (per 1M tokens) | Output (per 1M tokens) |
|---|-------|------|----------|----------------------|------------------------|
| 1 | `GLM-5` | Chatbot | `0xd9966e...` | 1 0G | 3.2 0G |
| 1 | `GLM-5-FP8` | Chatbot | `0xd9966e...` | 1 0G | 3.2 0G |
| 2 | `deepseek-chat-v3-0324` | Chatbot | `0x1B3AAe...` | 0.30 0G | 1.00 0G |
| 3 | `gpt-oss-120b` | Chatbot | `0xBB3f5b...` | 0.10 0G | 0.49 0G |
| 4 | `qwen3-vl-30b-a3b-instruct` | Chatbot | `0x4415ef...` | 0.49 0G | 0.49 0G |
Expand All @@ -62,9 +66,9 @@ All testnet services feature TeeML verifiability and are ideal for development a
**Available Models by Type:**

**Chatbots (4 models):**
- **GLM-5**: Latest high-performance reasoning model
- **GLM-5-FP8**: High-performance reasoning model (FP8 quantized)
- **GPT-OSS-120B**: Large-scale open-source GPT model
- **Qwen 2.5 VL 72B**: Vision-language multimodal model
- **Qwen3 VL 30B A3B Instruct**: Vision-language multimodal model
- **DeepSeek Chat V3**: Optimized conversational model

**Speech-to-Text (1 model):**
Expand Down
Loading