Gemini 3.5 Flash Lite
gemini-3.5-flash-liteAvailableGemini 3.5 Flash Lite. Text generation model.
- Context
- 1.05M tokens
- vs. official price
- 10% cheaper
Pricing (USD per 1M tokens)
How prices are calculated| Item | Official | Basic | Premium |
|---|---|---|---|
| Input | $0.30≈ ¥47.6 | $0.27≈ ¥43.2 | $0.24≈ ¥38.4 |
| Output | $2.50≈ ¥397 | $2.25≈ ¥360 | $2.00≈ ¥320 |
| Cache read | $0.03≈ ¥4.8 | $0.027≈ ¥4.3 | $0.024≈ ¥3.8 |
How to call
POST/v1/chat/completions
import os
from openai import OpenAI
client = OpenAI(
base_url="https://token.echohub.io/v1",
api_key=os.environ["ECHO_API_KEY"],
)
res = client.chat.completions.create(
model="gemini-3.5-flash-lite",
messages=[{"role": "user", "content": "Hello"}],
)
print(res.choices[0].message.content)import os
from anthropic import Anthropic
# The Anthropic SDK adds /v1 at the end automatically
client = Anthropic(
base_url="https://token.echohub.io",
api_key=os.environ["ECHO_API_KEY"],
)
msg = client.messages.create(
model="gemini-3.5-flash-lite",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)curl https://token.echohub.io/v1/chat/completions \
-H "Authorization: Bearer $ECHO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.5-flash-lite",
"messages": [{"role": "user", "content": "Hello"}]
}'