Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.meshrouter.app/llms.txt

Use this file to discover all available pages before exploring further.

from openai import OpenAI

client = OpenAI(
    api_key="mesh_live_...",
    base_url="https://api.meshrouter.app/v1",
)

response = client.chat.completions.create(
    model="auto",
    messages=[{"role": "user", "content": "hello MESH"}],
)
Use mesh_sdk.MeshClient when you want helpers for receipts, token counting, API keys, payments, and attestation.