{
  "x402Version": 2,
  "id": 40707,
  "slug": "40707",
  "resource": "https://x402.telnyx.com/v1/chat/completions/_t/llama-3.1-8b",
  "description": "Chat completions via Telnyx Inference (meta-llama/Meta-Llama-3.1-8B-Instruct). OpenAI-compatible. $0.002237 USDC per call.",
  "type": "http",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x19a78B27a28eD93C3c914878bde7f2f843AfAEa8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2237",
      "amountUsd": 0.002237,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "upto",
      "network": "eip155:8453",
      "payTo": "0x19a78B27a28eD93C3c914878bde7f2f843AfAEa8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15187",
      "amountUsd": 0.015187,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": 64,
            "messages": [
              {
                "content": "Say hello in one short sentence.",
                "role": "user"
              }
            ],
            "model": "meta-llama/Meta-Llama-3.1-8B-Instruct"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "choices": [
              {
                "finish_reason": "stop",
                "index": 0,
                "message": {
                  "content": "Hello!",
                  "role": "assistant"
                }
              }
            ],
            "id": "chatcmpl-xxx",
            "object": "chat.completion",
            "usage": {
              "completion_tokens": 4,
              "prompt_tokens": 12,
              "total_tokens": 16
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "max_tokens": {
                    "maximum": 512,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "messages": {
                    "description": "OpenAI-style chat messages.",
                    "items": {
                      "properties": {
                        "content": {
                          "maxLength": 8000,
                          "type": "string"
                        },
                        "role": {
                          "enum": [
                            "system",
                            "user",
                            "assistant",
                            "tool"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "role",
                        "content"
                      ],
                      "type": "object"
                    },
                    "maxItems": 32,
                    "type": "array"
                  },
                  "model": {
                    "const": "meta-llama/Meta-Llama-3.1-8B-Instruct",
                    "description": "Model identifier; fixed to meta-llama/Meta-Llama-3.1-8B-Instruct on this route.",
                    "type": "string"
                  },
                  "n": {
                    "const": 1,
                    "description": "Fixed to one completion per paid call.",
                    "type": "integer"
                  },
                  "temperature": {
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number"
                  },
                  "tools": {
                    "items": {
                      "type": "object"
                    },
                    "maxItems": 16,
                    "type": "array"
                  }
                },
                "required": [
                  "model",
                  "messages"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.telnyx.com",
  "lastUpdated": "2026-10-12T09:18:07.936Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-12T09:18:07.727Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "max_tokens": 64,
              "messages": [
                {
                  "content": "Say hello in one short sentence.",
                  "role": "user"
                }
              ],
              "model": "meta-llama/Meta-Llama-3.1-8B-Instruct"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "choices": [
                {
                  "finish_reason": "stop",
                  "index": 0,
                  "message": {
                    "content": "Hello!",
                    "role": "assistant"
                  }
                }
              ],
              "id": "chatcmpl-xxx",
              "object": "chat.completion",
              "usage": {
                "completion_tokens": 4,
                "prompt_tokens": 12,
                "total_tokens": 16
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "max_tokens": {
                      "maximum": 512,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "messages": {
                      "description": "OpenAI-style chat messages.",
                      "items": {
                        "properties": {
                          "content": {
                            "maxLength": 8000,
                            "type": "string"
                          },
                          "role": {
                            "enum": [
                              "system",
                              "user",
                              "assistant",
                              "tool"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "role",
                          "content"
                        ],
                        "type": "object"
                      },
                      "maxItems": 32,
                      "type": "array"
                    },
                    "model": {
                      "const": "meta-llama/Meta-Llama-3.1-8B-Instruct",
                      "description": "Model identifier; fixed to meta-llama/Meta-Llama-3.1-8B-Instruct on this route.",
                      "type": "string"
                    },
                    "n": {
                      "const": 1,
                      "description": "Fixed to one completion per paid call.",
                      "type": "integer"
                    },
                    "temperature": {
                      "maximum": 2,
                      "minimum": 0,
                      "type": "number"
                    },
                    "tools": {
                      "items": {
                        "type": "object"
                      },
                      "maxItems": 16,
                      "type": "array"
                    }
                  },
                  "required": [
                    "model",
                    "messages"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.telnyx.com",
    "manifest_name": "x402.telnyx.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}