Goliath 120B

alpindale/goliath-120b

Created Nov 10, 20236,144 context
$6.563/M input tokens$9.375/M output tokens

A large LLM created by combining two fine-tuned Llama 70B models into one 120B model. Combines Xwin and Euryale.

Credits to

#merge

Providers for Goliath 120B

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Apps using Goliath 120B

Top public apps this week using this model

Recent activity on Goliath 120B

Tokens processed per day

Jan 26Feb 1Feb 7Feb 13Feb 19Feb 25Mar 3Mar 9Mar 15Mar 21Mar 27Apr 2Apr 8Apr 14Apr 20Apr 2604.5M9M13.5M18M

Uptime stats for Goliath 120B

Uptime stats for Goliath 120B across all providers

Sample code and API for Goliath 120B

OpenRouter normalizes requests and responses across providers for you.

OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

from openai import OpenAI

client = OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="<OPENROUTER_API_KEY>",
)

completion = client.chat.completions.create(
  extra_headers={
    "HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
    "X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
  },
  extra_body={},
  model="alpindale/goliath-120b",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.

    Goliath 120B - API, Providers, Stats | OpenRouter