Conversation and text
Send conversation history in messages to generate replies, summaries and drafts.
META LLAMA · OLLAMA COLLECTION
API access for existing Llama 2 projects
The 70B Llama 2 model supports established prompts and evaluation workflows. For new projects, compare task quality and cost with the Llama 3 family as well.
Input from $1.3500 / 1M tokens
$ model: "llama-2-70b"POST /v1/chat/completionsLlama is developed by Meta. Ollama is the runtime and marketplace category used here.
Send conversation history in messages to generate replies, summaries and drafts.
The 70B Llama 2 model supports established prompts and evaluation workflows. For new projects, compare task quality and cost with the Llama 3 family as well.
Use standard HTTP requests to bring text replies into content, support or knowledge workflows.
The lowest displayed marketplace rates are listed below. Input and output are billed separately.
Save 32% on this modelBased on the marketplace offer badge. The rates below already include the discount.
| Usage | Model ID | Price (USD) |
|---|---|---|
| Llama 2 70B Save 32% | ||
| Input | llama-2-70b | $1.3500/ 1M tokens |
| Output | llama-2-70b | $1.3500/ 1M tokens |
All rates are in USD. Successfully submitted requests are billed by actual input and output tokens. Current marketplace prices prevail. Checked November 11, 2026.
Llama 2 70B
1 × $1.3500 + 0.25 × $1.3500
Estimated across multiple successful requests.
Llama 2 70B
10 × $1.3500 + 2.5 × $1.3500
Estimated across multiple successful requests.
Evaluate each model on the work your application actually needs to do.
Turn supplied material into summaries, rewrites and first drafts, then review them in your publishing workflow.
Pass retrieved passages alongside a question. Your application controls the sources and conversation context.
Compare outputs and token costs across versions using the same prompts before choosing or migrating models.
Manage access, usage and billing in AnyAIGC.
Use the same API key and balance for chat, image, video and audio models.
Connect directly through AnyAIGC with unlimited concurrency for Llama.
Pay the listed rates and inspect tokens and charges for each request in the console.
No local deployment required. Start with one text request, then connect your application.
POST https://anyaigc.ai/v1/chat/completionsRead the API reference ↗curl --request POST "https://anyaigc.ai/v1/chat/completions" \
--header "Authorization: Bearer $ANYAIGC_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "llama-2-70b",
"messages": [
{
"role": "user",
"content": "Explain what an API is in three sentences."
}
],
"n": 1,
"stream": false
}'import json
import os
import urllib.request
payload = {
"model": "llama-2-70b",
"messages": [
{
"role": "user",
"content": "Explain what an API is in three sentences."
}
],
"n": 1,
"stream": False
}
request = urllib.request.Request(
"https://anyaigc.ai/v1/chat/completions",
data=json.dumps(payload, ensure_ascii=False).encode("utf-8"),
headers={
"Authorization": "Bearer " + os.environ["ANYAIGC_API_KEY"],
"Content-Type": "application/json",
},
method="POST",
)
with urllib.request.urlopen(request, timeout=120) as response:
result = json.load(response)
print(json.dumps(result, ensure_ascii=False, indent=2))The cURL example uses Bash / zsh syntax; Python uses only the standard library. With n=1 and stream=false, the response contains one reply candidate in choices plus usage. Set stream=true for SSE output.
Bring engineering, finance and procurement into one integration process.
Issue invoices yourself in the console for the amount you actually topped up.
Dedicated support and a technical contact for your integration.
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
New accounts get trial credit, so you can test before you top up.
Top up from $1. Unused balance can be refunded with no fee.
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
See tokens and cost for every request in the console, and set a quota on each API key.
Contact support any time about integration, billing or incidents.
Keep the same API structure and choose a model for your task.
Parameter count, context window, and how it compares with the nearest alternative.
A Llama 2 model: 70B parameters and a 4,096-token context.
Meta's model card gives it a context window of 4,096 tokens.
This page lists $1.3500 per million input tokens and $1.3500 per million output tokens, the same figures as the pricing table above.
Set it next to Llama 3.3 70B Instruct and choose that model instead for the same 70B size in a newer generation with a longer context.
These specifications come from Meta's official model cards. The table on this page is the price, and the marketplace is authoritative for live rates.
Pricing, versions, integration and enterprise purchasing.
Input is $1.3500 and output is $1.3500 per million tokens, in USD. Models marked with the offer save 32% as displayed in the marketplace. Listed rates already include the discount; do not apply it again. Check the marketplace for current rates.
Meta develops the Llama model family. Ollama is a model runtime and the provider category used in the AnyAIGC marketplace. These guides cover 12 models across Llama 2, 3, 3.1, 3.2 and 3.3. Commercial use is subject to Meta’s official terms.
Use POST /v1/chat/completions with llama-2-70b and Bearer API key authentication. The examples set n=1 and stream=false to return one assistant reply candidate and token usage. The name llama is used for this overview.
All users have unlimited concurrency and no fixed RPM cap by default. Call the AnyAIGC cloud API without installing Ollama or deploying the model locally. Your application should still handle network timeouts and API errors.
The 11B and 90B Llama 3.2 Vision Instruct models are vision models; the other listed models are text models. Llama 3.1–3.3 officially support eight text languages, excluding Chinese. Image-text tasks officially support English. Evaluate other languages on your own data; these examples demonstrate text requests.
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Start with one API key. Pay for what you use.