MythoMax-L2 (13B) API

gryphe/mythomax-l2-13b
One of the highest performing and most popular fine-tunes of Llama 2 13B, with rich descriptions and roleplay.
Context
4K tokens
Input
$1.98375 / 1M tokens
Output
$1.98375 / 1M tokens
Released
Dec 9, 2025

Overview

What is MythoMax 13B API?

One of the highest performing and most popular fine-tunes of Llama 2 13B, with rich descriptions and roleplay.

Technical Specifications
- Supported inputs: Text
- Output: Text
- Context window: 4,096 tokens / Max output: 4,096 tokens
- Endpoint: /chat/completions

Performance Benchmarks
[embed]

MythoMax 13B API Pricing
- Input: $2.438 / 1M tokens
- Output: $2.438 / 1M tokens

Where to Use MythoMax 13B

Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.

Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.

Code Sample
[embed]

Uptime and performance

  • Uptime (7d): 100%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

  • Storytelling and creative writing
  • Roleplaying and character simulation
  • Text generation and language modeling
  • Conversational AI and chatbots
  • Technical documentation generation
  • Content creation across multiple domains

How to use MythoMax-L2 (13B) API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to gryphe/mythomax-l2-13b.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "gryphe/mythomax-l2-13b",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "gryphe/mythomax-l2-13b",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gryphe/mythomax-l2-13b","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

MythoMax-L2 (13B) API Pricing

TypePrice
Input
$1.98375 / 1M tokens
Output
$1.98375 / 1M tokens
Cached input
$1.98375 / 1M tokens

MythoMax-L2 (13B) vs other models

ModelInputOutputContextBest for
$1.98375 / 1M tokens
$1.98375 / 1M tokens
4K tokens
Chat + assistants
$5 / 1M tokens
$30 / 1M tokens
1M tokens
Reasoning + agents
$2 / 1M tokens
$10 / 1M tokens
1M tokens
Balanced coding + agents
$3 / 1M tokens
$15 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$1.5 / 1M tokens
$9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

MythoMax-L2 (13B) has a 4,096 tokens context window and can return up to 4,096 tokens.

MythoMax-L2 (13B) takes text as input and returns text.

Use gryphe/mythomax-l2-13b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

MythoMax-L2 (13B) became available on December 9, 2025.

MythoMax-L2 (13B) is priced at input $2.578875 / 1M tokens, output $2.578875 / 1M tokens, cached input $2.578875 / 1M tokens.

Yes, MythoMax-L2 (13B) can stream responses as they are generated.

MythoMax-L2 (13B) was built by Gryphe.

Start building with MythoMax-L2 (13B)

Get API Key
1000+ models, one API.