---
title: Goliath 120B API | Text Generation | ModelsLab
description: Build with Goliath 120B API by Alpindale. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/alpindale/alpindale-goliath-120b/api.md
canonical: https://modelslab.com/models/alpindale/alpindale-goliath-120b/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T00:26:01.904479Z
---

Goliath 120B
---

 [LLMs.txt](https://modelslab.com/models/open_router/alpindale-goliath-120b/llms.txt) [.md](https://modelslab.com/models/alpindale/alpindale-goliath-120b.md)

alpindale-goliath-120b alpindale Closed Source Model $5.625000 / call

Goliath 120B
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Goliath 120B

alpindale alpindale-goliath-120b

Copy model ID

PricingInput $3.75 / 1M tokens

Output $7.50 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[G4](https://modelslab.com/models/together_ai/zai-org-GLM-4.6)[Together AI](https://modelslab.com/models/together_ai)

 [GLM 4.6 Fp8

Closed Source Model](https://modelslab.com/models/together_ai/zai-org-GLM-4.6)

[NH](https://modelslab.com/models/together_ai/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)[Together AI](https://modelslab.com/models/together_ai)

 [Nous Hermes 2 Mixtral 8X7B Dpo

Closed Source Model](https://modelslab.com/models/together_ai/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)

[GG](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 3 Flash Preview

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)

[NH](https://modelslab.com/models/nous_research/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)[ModelsLab](https://modelslab.com/models/nous_research)

 [Nous Hermes 2 Mixtral 8X7B Dpo

Closed Source Model](https://modelslab.com/models/nous_research/NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-3-super-120b-a12b)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron 3 Super

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-3-super-120b-a12b)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder-plus)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder Plus

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder-plus)

[QN](https://modelslab.com/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct-FP8)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 Next 80B A3b Instruct Fp8

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct-FP8)

[MD](https://modelslab.com/models/open_router/mistralai-devstral-2512)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Devstral 2 2512

Closed Source Model](https://modelslab.com/models/open_router/mistralai-devstral-2512)

[ER](https://modelslab.com/models/together_ai/essentialai-rnj-1-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [EssentialAI Rnj-1 Instruct

Closed Source Model](https://modelslab.com/models/together_ai/essentialai-rnj-1-instruct)

[OG](https://modelslab.com/models/open_router/openai-gpt-4-turbo-preview)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4 Turbo Preview

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4-turbo-preview)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-small-creative)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small Creative

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-creative)

[![gpt-oss-20b](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/8b2f0440-52cc-4f41-93eb-d31006ad71e2.webp)](https://modelslab.com/models/openai/gpt-oss-20b)[Open Ai](https://modelslab.com/models/openai)

 [gpt-oss-20b

Closed Source Model](https://modelslab.com/models/openai/gpt-oss-20b)

[QQ](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-32b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen2.5 VL 32B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-32b-instruct)

[Q0](https://modelslab.com/models/together_ai/Qwen-Qwen3-0.6B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 0.6B

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-0.6B)

[MC](https://modelslab.com/models/open_router/mistralai-codestral-2508)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Codestral 2508

Closed Source Model](https://modelslab.com/models/open_router/mistralai-codestral-2508)

[AN](https://modelslab.com/models/open_router/amazon-nova-lite-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova Lite 1.0

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-lite-v1)

[MM](https://modelslab.com/models/open_router/minimax-minimax-01)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax-01

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-01)

[MM](https://modelslab.com/models/open_router/mistralai-mixtral-8x7b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mixtral 8x7B Instruct

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mixtral-8x7b-instruct)

About Goliath 120B
---

A large LLM created by combining two fine-tuned Llama 70B models into one 120B model. Combines Xwin and Euryale. Credits to - \[@chargoddard\](https://huggingface.co/chargoddard) for developing the framework used to merge...

### Technical Specifications

Model IDalpindale-goliath-120bCategoryLLM ModelsTaskText GenerationPrice$5.625000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Goliath 120B into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "alpindale-goliath-120b",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/alpindale/alpindale-goliath-120b/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Goliath 120B API costs $5.625000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Alpindale](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Goliath 120B FAQ
---

### What is Goliath 120B?

A large LLM created by combining two fine-tuned Llama 70B models into one 120B model. Combines Xwin and Euryale. Credits to - \[@chargoddard\](https://huggingface.co/chargoddard) for developing the framework used to merge...

### How do I use the Goliath 120B API?

You can integrate Goliath 120B into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "alpindale-goliath-120b" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Goliath 120B cost?

Goliath 120B costs $5.625000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Goliath 120B model ID?

The model ID for Goliath 120B is "alpindale-goliath-120b". Use this ID in your API requests to specify this model.

### Does Goliath 120B have a free tier?

Yes, ModelsLab offers a free tier that lets you try Goliath 120B and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*