---
title: Gemma 3 27B Pt API | Text Generation | ModelsLab
description: Build with Gemma 3 27B Pt API by Google. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/google/google-gemma-3-27b-pt/api.md
canonical: https://modelslab.com/models/google/google-gemma-3-27b-pt/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T04:02:47.167537Z
---

Gemma 3 27B Pt
---

 [LLMs.txt](https://modelslab.com/models/together_ai/google-gemma-3-27b-pt/llms.txt) [.md](https://modelslab.com/models/google/google-gemma-3-27b-pt.md)

google-gemma-3-27b-pt google Closed Source Model

Gemma 3 27B Pt
---

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

### Gemma 3 27B Pt

google google-gemma-3-27b-pt

Copy model ID

PricingInput $0.00 / 1M tokens

Output $0.00 / 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)

[PS](https://modelslab.com/models/open_router/perplexity-sonar-pro-search)[Open Router](https://modelslab.com/models/open_router)

 [Perplexity: Sonar Pro Search

Closed Source Model](https://modelslab.com/models/open_router/perplexity-sonar-pro-search)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-instruct-free)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Next 80B A3B Instruct (free)

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-instruct-free)

[Q2](https://modelslab.com/models/together_ai/Qwen-Qwen2-1.5B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen 2 (1.5B)

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

[AA](https://modelslab.com/models/open_router/aion-labs-aion-rp-llama-3.1-8b)[Open Router](https://modelslab.com/models/open_router)

 [AionLabs: Aion-RP 1.0 (8B)

Closed Source Model](https://modelslab.com/models/open_router/aion-labs-aion-rp-llama-3.1-8b)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5-air)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5 Air

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5-air)

[ML](https://modelslab.com/models/together_ai/meta-llama-Llama-3.2-3B)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3.2 3B

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.2-3B)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-vl-30b-a3b-thinking)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 VL 30B A3B Thinking

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-vl-30b-a3b-thinking)

[G2](https://modelslab.com/models/together_ai/google-gemma-2-9b-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 2 9B It

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-2-9b-it)

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

 [Amazon: Nova Micro 1.0

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

[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)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4.20)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4.20

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4.20)

[AC](https://modelslab.com/models/open_router/anthropic-claude-opus-4.6-fast)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Opus 4.6 (Fast)

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-opus-4.6-fast)

[AA](https://modelslab.com/models/together_ai/arize-ai-qwen-2-1.5b-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Arize AI Qwen 2 1.5B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/arize-ai-qwen-2-1.5b-instruct)

[WP](https://modelslab.com/models/open_router/writer-palmyra-x5)[Open Router](https://modelslab.com/models/open_router)

 [Writer: Palmyra X5

Closed Source Model](https://modelslab.com/models/open_router/writer-palmyra-x5)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-guard-4-12b)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama Guard 4 12B

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-guard-4-12b)

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

 [Qwen: Qwen3 Coder 480B A35B (free)

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

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

 [Qwen: Qwen-Max

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

[G4](https://modelslab.com/models/together_ai/google-gemma-4-31B-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 4 31B-it FP8

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-4-31B-it)

About Gemma 3 27B Pt
---

Gemma 3 27B Pt is a text generation AI model by Google available on ModelsLab. Access Gemma 3 27B Pt through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDgoogle-gemma-3-27b-ptCategoryLLM ModelsTaskText GenerationAddedApril 4, 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 Gemma 3 27B Pt 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": "google-gemma-3-27b-pt",
        "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/google/google-gemma-3-27b-pt/api) for SDKs, code examples in Python, JavaScript, and more.

### 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 Google](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Gemma 3 27B Pt FAQ
---

### What is Gemma 3 27B Pt?

Gemma 3 27B Pt is a text generation AI model by Google available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Gemma 3 27B Pt API?

You can integrate Gemma 3 27B Pt into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "google-gemma-3-27b-pt" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### What is the Gemma 3 27B Pt model ID?

The model ID for Gemma 3 27B Pt is "google-gemma-3-27b-pt". Use this ID in your API requests to specify this model.

### Does Gemma 3 27B Pt have a free tier?

Yes, ModelsLab offers a free tier that lets you try Gemma 3 27B Pt 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*