Nexus

Hyperbolic

Use Hyperbolic for open-source model inference with Nexus.

Hyperbolic provides inference for open-source models. Uses an OpenAI-compatible API.

Installation

import "github.com/xraph/nexus/providers/hyperbolic"

Quick Start

provider := hyperbolic.New(os.Getenv("HYPERBOLIC_API_KEY"))

gw := nexus.New(
    nexus.WithProvider(provider),
)

Options

OptionDescription
hyperbolic.WithBaseURL(url)Override the API base URL (default: https://api.hyperbolic.xyz/v1)

Capabilities

CapabilitySupported
ChatYes
StreamingYes
EmbeddingsNo
VisionNo
ToolsNo
ThinkingNo

Models

ModelContextMax OutputInput PriceOutput Price
meta-llama/Llama-3.1-8B-Instruct131K4,096$0.06/M$0.06/M
meta-llama/Llama-3.1-405B-Instruct131K4,096$4.00/M$4.00/M

On this page