TensaHub › Hugging Face Inference

MythoMax-L2-13b · Parasail

API for the model Gryphe/MythoMax-L2-13b:parasail at Hugging Face Inference, $0.08 / $0.11 per million tokens, context 4,096 tokens. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

Gryphe/MythoMax-L2-13b served by Parasail through the Hugging Face router (fp16 quantization).

Type
Model
Provider
Hugging Face Inference
Host
Parasail
Model ID
Gryphe/MythoMax-L2-13b:parasail
Pricing
Paid
Input / output price
$0.08 / $0.11 per million tokens
Keyless access
No
Key variable
HF_TOKEN
Base URL (OpenAI-compatible)
https://router.huggingface.co/v1
Context
4,096 tokens
Inputs
Text
Features
JSON output
Response time
First token 476 ms · 40 tokens/s · uptime 100%
Developer rating
Not rated yet
Documentation
https://huggingface.co/Gryphe/MythoMax-L2-13b

Code samples

cURL

curl https://router.huggingface.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HF_TOKEN" \
  -d '{"model":"Gryphe/MythoMax-L2-13b:parasail","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
    model="Gryphe/MythoMax-L2-13b:parasail",
    messages=[{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
  model: 'Gryphe/MythoMax-L2-13b:parasail',
  messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the MythoMax-L2-13b · Parasail API free?

No: MythoMax-L2-13b · Parasail is a paid API ($0.08 / $0.11 per million tokens).

How do I call MythoMax-L2-13b · Parasail from my code?

MythoMax-L2-13b · Parasail exposes an OpenAI-compatible API at https://router.huggingface.co/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: Gryphe/MythoMax-L2-13b:parasail. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

What is the context window of MythoMax-L2-13b · Parasail?

MythoMax-L2-13b · Parasail accepts up to 4,096 tokens of context (prompt and history).