LLM ReferenceLLM Reference
GCP Vertex AI

Llama 3 70B Instruct on GCP Vertex AI

Llama 3 · AI at Meta

ServerlessOpen Source

Last refreshed 2026-05-11. Next refresh: weekly.

Why use Llama 3 70B Instruct on GCP Vertex AI?

GCP Vertex AI offers Llama 3 70B Instruct with pay-as-you-go pricing at $1.20/1M input tokens. Vertex AI is Google Cloud's managed AI platform, offering access to Gemini models and hundreds of partner models alongside tools for fine-tuning, grounding, vector search, and end-to-end MLOps pipelines.

Compare Llama 3 70B Instruct across 17 providers to find the best fit for your use case
Input / 1M
$1.20
Output / 1M
$3.60
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install google-cloud-aiplatform
Auth
export GOOGLE_CLOUD_PROJECT=...
Call
import os
import vertexai
from vertexai.generative_models import GenerativeModel
vertexai.init(project=os.environ["GOOGLE_CLOUD_PROJECT"], location="us-central1")
Model ID
llama3-70b-instruct

Request example

import os
import vertexai
from vertexai.generative_models import GenerativeModel

# Reads GOOGLE_CLOUD_PROJECT from env; authenticates via Application Default Credentials
vertexai.init(project=os.environ["GOOGLE_CLOUD_PROJECT"], location="us-central1")
model = GenerativeModel("llama3-70b-instruct")
response = model.generate_content("Hello")
print(response.text)

Gotchas

  • For Google-published models use the model name directly, e.g. "gemini-2.0-flash-001". For third-party publishers (Anthropic, Meta, etc.) use the full publisher path, e.g. "publishers/anthropic/models/claude-3-5-sonnet-v2@20241022".
  • The examples expect GOOGLE_CLOUD_PROJECT; rename it only if your application config maps the new variable.

Compare Llama 3 70B Instruct Across Providers

ProviderInput (per 1M)Output (per 1M)
GCP Vertex AI$1.20$3.60
AWS Bedrock$0.99$0.99
Microsoft Foundry$3.78$11.34
NVIDIA NIM
DeepInfra$0.45$0.65
View all 17 providers →

Pricing

TypePrice (per 1M)
Input tokens$1.20
Output tokens$3.60

Capabilities

Structured Outputs

About Llama 3 70B Instruct

The Llama 3 70B Instruct model is a large language model with 70 billion parameters, released by Meta on April 18, 2024. It's an instruction-tuned variant optimized for conversational applications, utilizing an advanced auto-regressive transformer architecture. The model excels in following instructions and engaging in dialogue, having been trained on over 15 trillion tokens with a December 2023 knowledge cutoff. It demonstrates superior performance on industry benchmarks, scoring 82.0 on the MMLU (5-shot) test. The model incorporates extensive safety measures and optimizations, including RLHF, to enhance helpfulness and reduce harmful content generation. For more details, visit the model's Hugging Face page [1].

FAQ

What does Llama 3 70B Instruct cost on GCP Vertex AI?

On GCP Vertex AI, Llama 3 70B Instruct costs $1.20 per 1M input tokens and $3.60 per 1M output tokens.

What is the context window for Llama 3 70B Instruct on GCP Vertex AI?

Llama 3 70B Instruct supports a 8,000 token context window on GCP Vertex AI.

How does GCP Vertex AI compare to other Llama 3 70B Instruct providers?

Llama 3 70B Instruct is available from 17 providers. The cheapest input pricing is $0.40/1M tokens from Hyperbolic AI Inference.

Who created Llama 3 70B Instruct?

Llama 3 70B Instruct was created by AI at Meta as part of the Llama 3 model family.

Is Llama 3 70B Instruct open source?

Llama 3 70B Instruct is open source according to the seed data.

Get Started

Model Specs

Released2024-04-18
Parameters70B
Context8K
ArchitectureDecoder Only

GPU-Hour Providers(1)

Related Models on GCP Vertex AI

Provider

GCP Vertex AI
GCP Vertex AI

Google Cloud Platform (GCP)

All models on GCP Vertex AI