Page cover

TEXT

Base-Path:

https://api.hyprlab.io/v1

Text Completions Path:

https://api.hyprlab.io/v1/completions

Making Request

curl https://api.hyprlab.io/v1/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HYPRLAB_API_KEY" \
  -d '{
    "model": "gpt-3.5-turbo-instruct",
    "prompt": "Say this is a test",
    "max_tokens": 7,
    "temperature": 0
  }'

📝Text Models


Model Name:
  • gpt-3.5-turbo-instruct

  • gpt-3.5-turbo-instruct-0914

Discount:
  • 30% off

Output:
  • $1.05 / 1M Tokens

Input:
  • $1.4 / 1M Tokens

Context:
  • 4,096

Moderation:
  • Unfiltered

Model Name:
  • babbage-002

Discount:
  • 30% off

Output:
  • $0.28 / 1M Tokens

Input:
  • $0.28 / 1M Tokens

Context:
  • 16,384

Moderation:
  • Unfiltered

Model Name:
  • davinci-002

Discount:
  • 30% off

Output:
  • $1.4 / 1M Tokens

Input:
  • $1.4 / 1M Tokens

Context:
  • 16,384

Moderation:
  • Unfiltered


Last updated