References

Supported AI Models and Deployment Addresses of ORA's AI Oracle.

Models

Llama3 8B Instruct

Model ID

11

Deployed Network

Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS

Fee

Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH

Usage

Input: Prompt (example txarrow-up-right). Output: Inference result (example txarrow-up-right).

OpenLM 1B

Model ID

13

Deployed Network

Ethereum & Ethereum Sepolia

Fee

Mainnet: 0.0003 ETH Testnet: 0.01 ETH

Usage

Input: Prompt (example txarrow-up-right). Output: Inference result (example txarrow-up-right).

OpenLM Score 7Barrow-up-right, aka. (A.I.)location Oracle

OpenLM Score 7B, aka. (A.I.)location Oracle

Model ID

14

Deployed Network

Arbitrum & Arbitrum Sepolia, Ethereum Sepolia

Fee

Mainnet: 0.0003 ETH Testnet: 0.01 ETH

Usage

Input: Instruction and prompt with the format of JSON String: {"instruction":"${instruction}","input":"${prompt}"} (example txarrow-up-right). Default instruction (if sending raw prompt only) is You are a helpful assistant. Output: Inference result (example txarrow-up-right).

Note

Input exceeds 7000 characters won't receive callback.

OpenLM Score 7B, aka. (A.I.)location Oracle

Model ID

15

Deployed Network

Arbitrum & Arbitrum Sepolia, Ethereum Sepolia

Fee

Mainnet: 0.0003 ETH Testnet: 0.01 ETH

Usage

Input: Instruction and prompt with the format of JSON String: {"instruction":"${instruction}","input":"${prompt}"} (example txarrow-up-right). Default instruction (if sending raw prompt only) is You are a helpful assistant. Output: Inference result (example txarrow-up-right).

Stable Diffusion v2-1

Model ID

50

Deployed Network

Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS

Fee

Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH

Usage

Input: Prompt (example txarrow-up-right). Output: IPFS hash of inference result (example txarrow-up-right). Access with IPFS gateway, see examplearrow-up-right.

Stable Diffusion v3 Medium

Model ID

503

Deployed Network

Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS

Fee

Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH

Usage

Input: Prompt (example txarrow-up-right). Output: IPFS hash of inference result (example txarrow-up-right). Access with IPFS gateway, see examplearrow-up-right.

ORA RMS API Models

ORA RMS API Models are supported on Ethereum mainnet and Base networks.

To determine the model ID of a specific model, please refer to the code below:

Deployed Addresses

Promptarrow-up-right and SimplePromptarrow-up-right are both example smart contracts interacted with AI Oracle.

For simpler application scenarios (eg. Prompt Engineering based AI like GPTs), you can directly use Prompt or SimplePrompt.

SimplePrompt saves gas by only emitting the event without storing historical data.

Ethereum Mainnet

Ethereum Sepolia

Deprecated contracts: AIOraclearrow-up-right, Promptarrow-up-right.

Optimism Mainnet

Optimism Sepolia

Arbitrum Mainnet

Arbitrum Sepolia Testnet

Manta Mainnet

Manta Sepolia Testnet

Linea Mainnet

Base Mainnet

Base Sepolia

Polygon PoS Mainnet

Mantle Mainnet

Morph Mainnet

Last updated

Was this helpful?