Skip to main content

Text model

Gemma 2 27B IT

google/gemma-2-27b-it

google/gemma-2-27b-it is a language model from Google you can call on the OceanToken API at $0.65 per 1M input tokens and $0.65 per 1M output tokens, with a 8K-token context window and up to 2K output tokens.

At a glance

Model IDgoogle/gemma-2-27b-it
TypeText
PublisherGoogle
Context window8,192 tokens
Max output2,048 tokens
Input price$0.65 per 1M tokens
Output price$0.65 per 1M tokens
Capabilitiestext in, text out
Endpoint/v1/chat/completions, /v1/responses
API shapeOpenAI-compatible
In the catalog since2024-07-13

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/chat/completions \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemma-2-27b-it", "messages": [{"role": "user", "content": "Hello"}]}'

Compared with similar models

Text models on OceanToken closest to google/gemma-2-27b-it in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
Gemma 2 27B ITGoogle8,192$0.65 / $0.65
Remm Slerp L2 13B
undi95/remm-slerp-l2-13b
Undi956K$0.35 / $0.65
Wizardlm 2 8x22b
microsoft/wizardlm-2-8x22b
Microsoft66K$0.62 / $0.62
Hermes 3 Llama 3.1 70B
nousresearch/hermes-3-llama-3.1-70b
Nous Research131K$0.70 / $0.70

More from Google

All Google models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.