capabilities.work

Discover Model And Chat

A 2-step recipe with Hyperbolic. We can help you get access.

Recipe · 2 steps

Discover Model And Chat

Resolve an available chat model from the catalog and generate a chat completion.

  1. List all models currently available for inference so the target chat model can be confirmed before a completion is requested.
  2. Send a single-turn chat completion to the supplied model and capture the assistant message text and token usage.
What you'll need to have ready
  • apiKey: Hyperbolic API key passed as a Bearer token.
  • model: Chat model identifier (e.g. deepseek-ai/DeepSeek-V3 or meta-llama/Meta-Llama-3.1-70B-Instruct).
  • systemPrompt: Optional system instruction for the assistant.
  • prompt: The user message to send to the chat model.
  • maxTokens: Maximum number of tokens to generate.
  • temperature: Sampling temperature between 0 and 2.
For your developer

Arazzo workflow hyperbolic-ai:discover-model-and-chat, 2 operations: listModels → createChatCompletion. Specs on APIs.io.