Are you sure you want to delete this access key?
sidebar_position |
---|
42 |
The hyperbolic
provider supports Hyperbolic's API, which provides access to various LLM, image generation, audio generation, and vision-language models through an OpenAI-compatible API format. This makes it easy to integrate into existing applications that use the OpenAI SDK.
To use Hyperbolic, you need to set the HYPERBOLIC_API_KEY
environment variable or specify the apiKey
in the provider configuration.
Example of setting the environment variable:
export HYPERBOLIC_API_KEY=your_api_key_here
hyperbolic:<model_name>
hyperbolic:image:<model_name>
hyperbolic:audio:<model_name>
hyperbolic:deepseek-ai/DeepSeek-R1
- Best open-source reasoning modelhyperbolic:deepseek-ai/DeepSeek-R1-Zero
- Zero-shot variant of DeepSeek-R1hyperbolic:deepseek-ai/DeepSeek-V3
- Latest DeepSeek modelhyperbolic:deepseek/DeepSeek-V2.5
- Previous generation modelhyperbolic:qwen/Qwen3-235B-A22B
- MoE model with strong reasoning abilityhyperbolic:qwen/QwQ-32B
- Latest Qwen reasoning modelhyperbolic:qwen/QwQ-32B-Preview
- Preview version of QwQhyperbolic:qwen/Qwen2.5-72B-Instruct
- Latest Qwen LLM with coding and mathhyperbolic:qwen/Qwen2.5-Coder-32B
- Best coder from Qwen Teamhyperbolic:meta-llama/Llama-3.3-70B-Instruct
- Performance comparable to Llama 3.1 405Bhyperbolic:meta-llama/Llama-3.2-3B
- Latest small Llama modelhyperbolic:meta-llama/Llama-3.1-405B
- Biggest and best open-source modelhyperbolic:meta-llama/Llama-3.1-405B-BASE
- Base completion model (BF16)hyperbolic:meta-llama/Llama-3.1-70B
- Best LLM at its sizehyperbolic:meta-llama/Llama-3.1-8B
- Smallest and fastest Llama 3.1hyperbolic:meta-llama/Llama-3-70B
- Highly efficient and powerfulhyperbolic:hermes/Hermes-3-70B
- Latest flagship Hermes modelhyperbolic:qwen/Qwen2.5-VL-72B-Instruct
- Latest and biggest vision model from Qwenhyperbolic:qwen/Qwen2.5-VL-7B-Instruct
- Smaller vision model from Qwenhyperbolic:mistralai/Pixtral-12B
- Vision model from MistralAIhyperbolic:image:SDXL1.0-base
- High-resolution master (recommended)hyperbolic:image:SD1.5
- Reliable classic Stable Diffusionhyperbolic:image:SD2
- Enhanced Stable Diffusion v2hyperbolic:image:SSD
- Segmind SD-1B for domain-specific taskshyperbolic:image:SDXL-turbo
- Speedy high-resolution outputshyperbolic:image:SDXL-ControlNet
- SDXL with ControlNethyperbolic:image:SD1.5-ControlNet
- SD1.5 with ControlNethyperbolic:audio:Melo-TTS
- Natural narrator for high-quality speechConfigure the provider in your promptfoo configuration file:
providers:
- id: hyperbolic:deepseek-ai/DeepSeek-R1
config:
temperature: 0.1
top_p: 0.9
apiKey: ... # override the environment variable
Parameter | Description |
---|---|
apiKey |
Your Hyperbolic API key |
temperature |
Controls the randomness of the output (0.0 to 2.0) |
max_tokens |
The maximum number of tokens to generate |
top_p |
Controls nucleus sampling (0.0 to 1.0) |
top_k |
Controls the number of top tokens to consider (-1 to consider all tokens) |
min_p |
Minimum probability for a token to be considered (0.0 to 1.0) |
presence_penalty |
Penalty for new tokens (0.0 to 1.0) |
frequency_penalty |
Penalty for frequent tokens (0.0 to 1.0) |
repetition_penalty |
Prevents token repetition (default: 1.0) |
stop |
Array of strings that will stop generation when encountered |
seed |
Random seed for reproducible results |
Parameter | Description |
---|---|
height |
Height of the image (default: 1024) |
width |
Width of the image (default: 1024) |
backend |
Computational backend: 'auto', 'tvm', or 'torch' |
negative_prompt |
Text specifying what not to generate |
seed |
Random seed for reproducible results |
cfg_scale |
Guidance scale (higher = more relevant to prompt) |
steps |
Number of denoising steps |
style_preset |
Style guide for the image |
enable_refiner |
Enable SDXL refiner (SDXL only) |
controlnet_name |
ControlNet model name |
controlnet_image |
Reference image for ControlNet |
loras |
LoRA weights as object (e.g., {"Pixel_Art": 0.7} ) |
Parameter | Description |
---|---|
voice |
Voice selection for TTS |
speed |
Speech speed multiplier |
language |
Language for TTS |
prompts:
- file://prompts/coding_assistant.json
providers:
- id: hyperbolic:qwen/Qwen2.5-Coder-32B
config:
temperature: 0.1
max_tokens: 4096
presence_penalty: 0.1
seed: 42
tests:
- vars:
task: 'Write a Python function to find the longest common subsequence of two strings'
assert:
- type: contains
value: 'def lcs'
- type: contains
value: 'dynamic programming'
prompts:
- 'A futuristic city skyline at sunset with flying cars'
providers:
- id: hyperbolic:image:SDXL1.0-base
config:
width: 1024
height: 1024
cfg_scale: 7.0
steps: 30
negative_prompt: 'blurry, low quality'
tests:
- assert:
- type: is-valid-image
- type: image-width
value: 1920
prompts:
- 'Welcome to Hyperbolic AI. We are excited to help you build amazing applications.'
providers:
- id: hyperbolic:audio:Melo-TTS
config:
voice: 'alloy'
speed: 1.0
tests:
- assert:
- type: is-valid-audio
prompts:
- role: user
content:
- type: text
text: "What's in this image?"
- type: image_url
image_url:
url: 'https://example.com/image.jpg'
providers:
- id: hyperbolic:qwen/Qwen2.5-VL-72B-Instruct
config:
temperature: 0.1
max_tokens: 1024
tests:
- assert:
- type: contains
value: 'image shows'
Example prompt template (prompts/coding_assistant.json
):
[
{
"role": "system",
"content": "You are an expert programming assistant."
},
{
"role": "user",
"content": "{{task}}"
}
]
Hyperbolic offers competitive pricing across all model types (rates as of January 2025):
Test your setup with working examples:
npx promptfoo@latest init --example hyperbolic
This includes tested configurations for text generation, image creation, audio synthesis, and vision tasks.
meta-llama/Llama-3.3-70B-Instruct
for text, SDXL1.0-base
for imagesPress p or to see the previous file or, n or to see the next file
Browsing data directories saved to S3 is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with AWS S3!
Are you sure you want to delete this access key?
Browsing data directories saved to Google Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with Google Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to Azure Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with Azure Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to S3 compatible storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with your S3 compatible storage!
Are you sure you want to delete this access key?